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.1 for Wasm on 13 Sep 2025 00:24:32 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>&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:         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
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
[1/572] Fetching jinja
[573/16529] Fetching jinja, swift-argument-parser
[16530/88442] Fetching jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/johnmai-dev/Jinja from cache (3.81s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.82s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.86s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (4.41s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.49s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (0.82s)
Fetching https://github.com/apple/swift-collections.git
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.98s)
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/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/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
[1/93] Copying json.gbnf
[1/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 regex-partial.cpp
[27/93] Write sources
[32/93] Write swift-version-24593BA9C3E375BF.txt
[32/93] Write sources
[32/93] Copying json.gbnf
[32/93] Write sources
[38/93] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[39/95] Compiling common.cpp
[40/97] Compiling chat-parser.cpp
[41/99] Compiling LocalLLMClientLlamaC clip.cpp
[42/106] Compiling LocalLLMClientLlamaC utils.cpp
[43/113] Compiling json-partial.cpp
[45/127] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/127] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/128] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/128] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/129] Compiling InternalCollectionsUtilities Descriptions.swift
[50/129] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[51/129] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[52/129] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[53/129] Compiling InternalCollectionsUtilities Debugging.swift
[54/130] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/130] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[59/131] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[60/131] Compiling InternalCollectionsUtilities _SortedCollection.swift
[60/131] Wrapping AST for SwiftSyntax600 for debugging
[62/131] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[63/131] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[64/131] Emitting module InternalCollectionsUtilities
[65/131] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[66/131] Compiling InternalCollectionsUtilities Integer rank.swift
[67/131] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[68/131] Compiling InternalCollectionsUtilities UInt+reversed.swift
[69/131] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[69/132] Wrapping AST for SwiftSyntax510 for debugging
[72/132] Emitting module LocalLLMClientUtility
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/132] 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/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[82/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[83/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[84/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[85/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[86/258] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[87/258] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[88/258] Compiling LocalLLMClientUtility Lock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[89/258] Compiling LocalLLMClientUtility URL+.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/258] Compiling LocalLLMClientUtility Globs.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[91/258] Compiling LocalLLMClientUtility HuggingFaceAPI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[92/258] Compiling LocalLLMClientUtility FileDownloader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[93/258] Compiling LocalLLMClientUtility Downloader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[94/258] Compiling OrderedCollections OrderedSet+Initializers.swift
[95/258] Compiling OrderedCollections OrderedSet+Insertions.swift
[96/258] Compiling OrderedCollections OrderedSet+Invariants.swift
[97/258] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[98/258] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[99/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[100/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[101/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[102/258] Compiling OrderedCollections OrderedDictionary+Codable.swift
[103/258] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[104/258] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[105/258] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[106/258] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[107/258] Compiling OrderedCollections OrderedDictionary+Elements.swift
[108/258] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[109/258] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[110/258] Compiling OrderedCollections OrderedDictionary.swift
[111/258] Compiling OrderedCollections OrderedSet+Codable.swift
[112/258] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[113/258] Compiling OrderedCollections OrderedSet+Descriptions.swift
[114/258] Compiling OrderedCollections OrderedSet+Diffing.swift
[115/258] Compiling OrderedCollections OrderedSet+Equatable.swift
[116/258] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[117/258] Compiling OrderedCollections OrderedSet+Hashable.swift
[118/258] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[119/258] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[120/258] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[121/258] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[122/258] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[123/258] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[124/258] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[125/258] Compiling OrderedCollections OrderedDictionary+Values.swift
[127/277] Compiling LocalLLMClientCore GeneratedContent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[128/277] Compiling LocalLLMClientCore LLMTool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[129/279] Compiling LocalLLMClientCore LLMError.swift
[130/279] Compiling LocalLLMClientCore LLMInput.swift
[131/279] Compiling LocalLLMClientCore LLMSession.swift
[132/279] Compiling LocalLLMClientCore PauseHandler.swift
[133/279] Compiling LocalLLMClientCore AnyLLMTool+OpenAI.swift
[134/279] Compiling LocalLLMClientCore AnyLLMTool.swift
[135/279] Compiling LocalLLMClientCore AnyLLMClient.swift
[136/279] Compiling LocalLLMClientCore Async+.swift
[137/279] Emitting module LocalLLMClientCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[141/279] Compiling OrderedCollections OrderedSet+Sendable.swift
[142/279] Compiling OrderedCollections OrderedSet+SubSequence.swift
[143/279] Compiling OrderedCollections OrderedSet+Testing.swift
[144/279] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[145/279] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[146/279] Compiling OrderedCollections OrderedSet.swift
[147/279] Compiling OrderedCollections _UnsafeBitset.swift
[148/279] Compiling LocalLLMClientCore ToolArgumentType.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[149/279] Compiling LocalLLMClientCore ToolExecutor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[150/279] Compiling LocalLLMClientCore ToolOutput.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[151/279] Compiling LocalLLMClientCore ToolSchemaGeneratable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:3883:18: fatal error: 'pthread.h' file not found
 3883 |         #include <pthread.h>    /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
      |                  ^~~~~~~~~~~
1 error generated.
[151/279] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[152/279] Compiling LocalLLMClientCore LLMToolCall.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[153/279] Compiling LocalLLMClientCore StreamingChunk.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[156/279] Compiling LocalLLMClientCore LLMClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[156/279] Compiling LocalLLMClientLlamaC mtmd.cpp
[156/279] Compiling chat.cpp
[156/279] 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/47] Write sources
[9/51] Compiling log.cpp
[10/51] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-audio.cpp:233:26: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
  233 |         std::vector<std::thread> workers(n_threads - 1);
      |                     ~~~~~^~~~~~
      |                          fread
/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/cstdio:141:9: note: 'fread' declared here
  141 | using ::fread _LIBCPP_USING_IF_EXISTS;
      |         ^
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-audio.cpp:233:21: error: template argument for template type parameter must be a type
  233 |         std::vector<std::thread> workers(n_threads - 1);
      |                     ^~~~~~~~~~~
/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/vector:388:17: note: template parameter is declared here
  388 | template <class _Tp, class _Allocator /* = allocator<_Tp> */>
      |                 ^
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-audio.cpp:235:32: error: no member named 'thread' in namespace 'std'
  235 |             workers[iw] = std::thread(
      |                           ~~~~~^
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-audio.cpp:269:23: error: implicit instantiation of undefined template 'std::basic_ofstream<char>'
  269 |         std::ofstream outFile("log_mel_spectrogram.json");
      |                       ^
/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:26:28: note: template is declared here
   26 | class _LIBCPP_TEMPLATE_VIS basic_ofstream;
      |                            ^
4 errors generated.
[11/51] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[11/51] Compiling regex-partial.cpp
[11/51] Compiling json-schema-to-grammar.cpp
[11/51] Compiling chat.cpp
[11/51] Compiling LocalLLMClientLlamaC mtmd.cpp
[11/51] Compiling json-partial.cpp
In file included from /host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-helper.cpp:30:
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/miniaudio/miniaudio.h:3883:18: fatal error: 'pthread.h' file not found
 3883 |         #include <pthread.h>    /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
      |                  ^~~~~~~~~~~
[11/51] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
BUILD FAILURE 6.1 wasm