Build Information
Failed to build LocalLLMClient, reference 0.4.6 (ff3a9e), with Swift 6.1 for Wasm on 27 Nov 2025 17:13:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.4.6
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.6 -> FETCH_HEAD
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 0.4.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tattn/LocalLLMClient.git
https://github.com/tattn/LocalLLMClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++17",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "1.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-jinja",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "2.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-jinja"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
}
],
"manifest_display_name" : "LocalLLMClient",
"name" : "LocalLLMClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LocalLLMClient",
"targets" : [
"LocalLLMClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "localllm",
"targets" : [
"LocalLLMCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "LocalLLMClientLlama",
"targets" : [
"LocalLLMClientLlama"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocalLLMClientMacrosPlugin",
"targets" : [
"LocalLLMClientMacrosPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "LocalLLMClientUtilityTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientUtilityTests",
"path" : "Tests/LocalLLMClientUtilityTests",
"sources" : [
"DownloaderTests.swift",
"FileDownloaderTests.swift",
"FilesMetadataTests.swift",
"HuggingFaceAPITests.swift",
"MockURLProtocol.swift",
"URLExtensionTests.swift"
],
"target_dependencies" : [
"LocalLLMClientUtility"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientUtility",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientUtility",
"path" : "Sources/LocalLLMClientUtility",
"product_memberships" : [
"LocalLLMClient",
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
"Downloader.swift",
"FileDownloader.swift",
"Globs.swift",
"HuggingFaceAPI.swift",
"Lock.swift",
"URL+.swift"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientTests",
"path" : "Tests/LocalLLMClientTests",
"sources" : [
"LLMSessionToolCallingTests.swift",
"MockClientHelpers.swift",
"PauseHandlerRobustnessTests.swift",
"StreamingToolCallTests.swift",
"ToolArgumentsMacroExampleTests.swift",
"ToolEdgeCaseTests.swift",
"ToolPerformanceTests.swift",
"ToolSchemaGeneratableArrayTests.swift",
"ToolSchemaTests.swift"
],
"target_dependencies" : [
"LocalLLMClient",
"LocalLLMClientTestUtilities"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientTestUtilities",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientTestUtilities",
"path" : "Sources/LocalLLMClientTestUtilities",
"sources" : [
"TestEnvironment.swift",
"TestTools.swift",
"ToolTestsProtocol.swift"
],
"target_dependencies" : [
"LocalLLMClientCore",
"LocalLLMClientMacros"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientMacrosTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMacrosTests",
"path" : "Tests/LocalLLMClientMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"ToolArgumentEnumMacroTests.swift",
"ToolArgumentsMacroTests.swift",
"ToolMacroTests.swift"
],
"target_dependencies" : [
"LocalLLMClientCore",
"LocalLLMClientMacros",
"LocalLLMClientMacrosPlugin"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientMacrosPlugin",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMacrosPlugin",
"path" : "Sources/LocalLLMClientMacrosPlugin",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"LocalLLMClient",
"LocalLLMClientMacrosPlugin"
],
"sources" : [
"LocalLLMClientMacrosPlugin.swift",
"ToolArgumentEnumMacro.swift",
"ToolArgumentMacro.swift",
"ToolArgumentsMacro.swift",
"ToolMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "LocalLLMClientMacros",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientMacros",
"path" : "Sources/LocalLLMClientMacros",
"product_memberships" : [
"LocalLLMClient"
],
"sources" : [
"LocalLLMClientMacros.swift"
],
"target_dependencies" : [
"LocalLLMClientMacrosPlugin",
"LocalLLMClientCore"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientLlamaTests",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientLlamaTests",
"path" : "Tests/LocalLLMClientLlamaTests",
"sources" : [
"ContextTests.swift",
"LLMSessionLlamaTests.swift",
"LLMToolTests.swift",
"LlamaToolCallParserTests.swift",
"LocalLLMClientLlamaTests.swift",
"LocalLLMClientLlamaToolTests.swift",
"MessageProcessorTests.swift",
"ModelTests.swift",
"PauseResumeTests.swift",
"TestConfiguration.swift"
],
"target_dependencies" : [
"LocalLLMClientLlama",
"LocalLLMClientTestUtilities"
],
"type" : "test"
},
{
"c99name" : "LocalLLMClientLlamaC",
"module_type" : "ClangTarget",
"name" : "LocalLLMClientLlamaC",
"path" : "Sources/LocalLLMClientLlamaC",
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
"clip.cpp",
"common/chat-parser.cpp",
"common/chat.cpp",
"common/common.cpp",
"common/json-partial.cpp",
"common/json-schema-to-grammar.cpp",
"common/log.cpp",
"common/regex-partial.cpp",
"mtmd-audio.cpp",
"mtmd-helper.cpp",
"mtmd.cpp",
"utils.cpp"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientLlama",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientLlama",
"path" : "Sources/LocalLLMClientLlama",
"product_memberships" : [
"localllm",
"LocalLLMClientLlama"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/LocalLLMClientLlama/Resources/Grammars/json.gbnf",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Batch.swift",
"Context.swift",
"Decoder.swift",
"Generator.swift",
"LLMSession+Llama.swift",
"LlamaClient.swift",
"LlamaToolCallParser.swift",
"Logger.swift",
"MessageProcessing/ChatTemplateRenderer.swift",
"MessageProcessing/LlamaSpecificDecoder.swift",
"MessageProcessing/MessageChunk.swift",
"MessageProcessing/MessageProcessor.swift",
"MessageProcessing/MessageTransformer.swift",
"MessageProcessing/MultimodalChunkExtractor.swift",
"MessageProcessing/ToolInstructionProcessor.swift",
"Model.swift",
"Multimodal.swift",
"Parameter.swift",
"Sampler.swift",
"Token.swift",
"ToolExecution.swift",
"Utility.swift",
"stb_image.swift"
],
"target_dependencies" : [
"LocalLLMClientCore",
"LocalLLMClientLlamaC"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClientCore",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClientCore",
"path" : "Sources/LocalLLMClientCore",
"product_dependencies" : [
"Jinja"
],
"product_memberships" : [
"LocalLLMClient",
"localllm",
"LocalLLMClientLlama"
],
"sources" : [
"AnyLLMClient.swift",
"Async+.swift",
"LLMClient.swift",
"LLMError.swift",
"LLMInput.swift",
"LLMSession.swift",
"PauseHandler.swift",
"Tools/AnyLLMTool+OpenAI.swift",
"Tools/AnyLLMTool.swift",
"Tools/GeneratedContent.swift",
"Tools/LLMTool.swift",
"Tools/LLMToolCall.swift",
"Tools/StreamingChunk.swift",
"Tools/StreamingToolCallProcessor.swift",
"Tools/ToolArgument.swift",
"Tools/ToolArgumentType.swift",
"Tools/ToolExecutor.swift",
"Tools/ToolOutput.swift",
"Tools/ToolSchemaGeneratable.swift"
],
"target_dependencies" : [
"LocalLLMClientUtility"
],
"type" : "library"
},
{
"c99name" : "LocalLLMClient",
"module_type" : "SwiftTarget",
"name" : "LocalLLMClient",
"path" : "Sources/LocalLLMClient",
"product_memberships" : [
"LocalLLMClient"
],
"sources" : [
"LocalLLMClient.swift"
],
"target_dependencies" : [
"LocalLLMClientCore",
"LocalLLMClientMacros"
],
"type" : "library"
},
{
"c99name" : "LocalLLMCLI",
"module_type" : "SwiftTarget",
"name" : "LocalLLMCLI",
"path" : "Sources/LocalLLMCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"localllm"
],
"sources" : [
"BenchmarkCommand.swift",
"Common.swift",
"RunCommand.swift",
"command.swift"
],
"target_dependencies" : [
"LocalLLMClientLlama"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-jinja
Fetching https://github.com/swiftlang/swift-syntax
[1/783] Fetching swift-jinja
[784/17643] Fetching swift-jinja, swift-argument-parser
[17644/90626] Fetching swift-jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
[10271/73766] Fetching swift-jinja, swift-syntax
Fetched https://github.com/huggingface/swift-jinja from cache (4.46s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (5.09s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (2.46s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.0.2 (0.55s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (3.10s)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/93] Compiling log.cpp
[2/93] Compiling _SwiftSyntaxCShims dummy.c
[3/93] Write sources
[18/93] Copying json.gbnf
[19/93] Write sources
[23/93] Compiling LocalLLMClientLlamaC utils.cpp
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/clip.cpp:2788:24: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
2788 | auto fin = std::ifstream(fname, std::ios::binary);
| ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__fwd/fstream.h:24:28: note: template is declared here
24 | class _LIBCPP_TEMPLATE_VIS basic_ifstream;
| ^
1 error generated.
[24/93] Compiling LocalLLMClientLlamaC clip.cpp
[24/93] Compiling chat-parser.cpp
[24/93] Compiling LocalLLMClientLlamaC clip.cpp
[24/93] Compiling common.cpp
[24/93] Compiling chat.cpp
[24/93] Compiling LocalLLMClientLlamaC mtmd.cpp
[24/93] Compiling json-schema-to-grammar.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/70] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[2/70] Compiling LocalLLMClientLlamaC mtmd.cpp
[3/70] Compiling regex-partial.cpp
[4/70] Write sources
[9/70] Write swift-version-24593BA9C3E375BF.txt
[9/70] Write sources
[9/70] Copying json.gbnf
[9/70] Write sources
[15/70] Compiling common.cpp
[16/70] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[17/74] Compiling LocalLLMClientLlamaC clip.cpp
[18/76] Compiling LocalLLMClientLlamaC utils.cpp
[19/76] Compiling chat-parser.cpp
[20/90] Compiling json-partial.cpp
[22/106] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/106] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/108] Emitting module SwiftSyntax600
[25/108] Compiling SwiftSyntax600 Empty.swift
[26/109] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[27/109] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[28/109] Emitting module InternalCollectionsUtilities
[29/109] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[30/109] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[31/109] Compiling InternalCollectionsUtilities _SortedCollection.swift
[32/109] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/109] Compiling InternalCollectionsUtilities Debugging.swift
[34/109] Compiling InternalCollectionsUtilities Descriptions.swift
[35/109] Emitting module SwiftSyntax510
[36/109] Compiling SwiftSyntax510 Empty.swift
[37/110] Compiling SwiftSyntax509 Empty.swift
[38/110] Emitting module SwiftSyntax509
[41/111] Wrapping AST for SwiftSyntax510 for debugging
[43/111] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[44/111] Compiling InternalCollectionsUtilities Integer rank.swift
[45/111] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[46/111] Compiling InternalCollectionsUtilities UInt+reversed.swift
[47/111] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[48/111] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[49/111] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[49/112] Wrapping AST for SwiftSyntax600 for debugging
[51/144] Wrapping AST for SwiftSyntax509 for debugging
[52/231] Compiling json-schema-to-grammar.cpp
[54/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[55/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[56/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[57/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[58/231] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[59/231] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[60/231] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[61/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[62/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[63/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[64/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[65/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[66/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[67/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[68/238] Compiling OrderedCollections OrderedDictionary.swift
[69/238] Compiling OrderedCollections OrderedSet+Codable.swift
[70/238] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[71/238] Compiling OrderedCollections OrderedSet+Descriptions.swift
[72/238] Compiling OrderedCollections OrderedSet+Diffing.swift
[73/238] Compiling OrderedCollections OrderedSet+Equatable.swift
[74/238] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[75/238] Compiling OrderedCollections OrderedSet+Hashable.swift
[76/238] Compiling OrderedCollections OrderedSet+Initializers.swift
[77/238] Compiling OrderedCollections OrderedSet+Insertions.swift
[78/238] Compiling OrderedCollections OrderedSet+Invariants.swift
[79/238] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[80/238] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[81/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[82/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[83/238] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[84/238] Compiling OrderedCollections OrderedDictionary+Codable.swift
[85/238] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[86/238] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[87/238] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[88/238] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[89/238] Compiling OrderedCollections OrderedDictionary+Elements.swift
[90/238] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[91/238] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[92/238] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[93/238] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[94/238] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[95/238] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[96/238] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[97/238] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[98/238] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[99/238] Compiling OrderedCollections OrderedDictionary+Values.swift
[100/238] Compiling OrderedCollections _HashTable+Bucket.swift
[101/238] Compiling OrderedCollections _HashTable+BucketIterator.swift
[102/238] Compiling OrderedCollections _HashTable+Constants.swift
[103/238] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[104/238] Compiling OrderedCollections _HashTable+Testing.swift
[105/238] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[106/238] Compiling OrderedCollections _HashTable.swift
[107/238] Compiling OrderedCollections _Hashtable+Header.swift
[108/238] Compiling OrderedCollections OrderedSet+Sendable.swift
[109/238] Compiling OrderedCollections OrderedSet+SubSequence.swift
[110/238] Compiling OrderedCollections OrderedSet+Testing.swift
[111/238] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[112/238] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[113/238] Compiling OrderedCollections OrderedSet.swift
[114/238] Compiling OrderedCollections _UnsafeBitset.swift
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:3907:22: fatal error: 'pthread.h' file not found
3907 | #include <pthread.h> /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
| ^~~~~~~~~~~
1 error generated.
[114/238] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[114/238] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[114/238] Compiling LocalLLMClientLlamaC mtmd.cpp
[114/238] Compiling chat.cpp
BUILD FAILURE 6.1 wasm