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 (ff3a9e), with Swift 6.1 for Wasm on 27 Nov 2025 17:14:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.68.0
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 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 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
{
  "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-3":/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
[557/17643] Fetching swift-jinja, swift-argument-parser
[447/783] Fetching swift-jinja
[456/17643] Fetching swift-jinja, swift-argument-parser
[13767/90626] Fetching swift-jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.16s)
[11731/73766] Fetching swift-jinja, swift-syntax
Fetched https://github.com/huggingface/swift-jinja from cache (9.20s)
Fetched https://github.com/swiftlang/swift-syntax from cache (9.27s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (10.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.04s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.0.2 (0.88s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (3.34s)
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/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/huggingface/swift-jinja
Working copy of https://github.com/huggingface/swift-jinja resolved at 2.0.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/93] Compiling LocalLLMClientLlamaC clip.cpp
[2/93] Compiling _SwiftSyntaxCShims dummy.c
[2/93] Write sources
[18/93] Copying json.gbnf
[19/93] Write sources
[23/93] Compiling common.cpp
[24/93] Compiling LocalLLMClientLlamaC utils.cpp
[25/93] Compiling chat-parser.cpp
[26/93] Compiling json-partial.cpp
[27/93] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[28/93] Compiling log.cpp
[28/93] Write sources
[34/93] Compiling json-partial.cpp
[35/93] Write sources
[36/93] Copying json.gbnf
[37/93] Write sources
[40/93] Write swift-version-24593BA9C3E375BF.txt
[41/93] Compiling LocalLLMClientLlamaC mtmd.cpp
[42/95] Compiling LocalLLMClientLlamaC utils.cpp
[43/95] Compiling json-schema-to-grammar.cpp
[44/97] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[45/99] Compiling json-schema-to-grammar.cpp
[46/113] Compiling LocalLLMClientLlamaC mtmd.cpp
[48/129] 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
[48/129] Compiling regex-partial.cpp
[50/129] 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
[51/129] 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
[52/129] 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
[53/131] 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
[54/131] 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
[58/132] Compiling InternalCollectionsUtilities LifetimeOverride.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
[59/132] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.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
[60/132] Compiling InternalCollectionsUtilities _SortedCollection.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
[61/132] Compiling InternalCollectionsUtilities _UniqueCollection.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
[62/132] Compiling InternalCollectionsUtilities Debugging.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
[63/132] Compiling InternalCollectionsUtilities Descriptions.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
[64/132] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.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
[65/132] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.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
[65/134] Wrapping AST for SwiftSyntax509 for debugging
[67/134] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.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
[68/134] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.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
[69/198] Emitting module InternalCollectionsUtilities
<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
[70/198] Compiling SwiftSyntax SourcePresence.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
[71/198] Compiling SwiftSyntax SwiftSyntaxCompatibility.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
[72/198] Compiling SwiftSyntax SyntaxChildren.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
[73/198] Compiling SwiftSyntax SyntaxCollection.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
[74/198] Compiling SwiftSyntax Syntax.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
[75/198] Compiling SwiftSyntax SyntaxArena.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
[76/198] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.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
[77/199] Wrapping AST for SwiftSyntax600 for debugging
[79/254] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.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
[80/254] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.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
[81/254] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.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
[82/254] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.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
[83/254] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.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
[84/254] Compiling OrderedCollections OrderedSet+RandomAccessCollection.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
[85/254] Compiling OrderedCollections OrderedSet+ReserveCapacity.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
[86/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.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
[87/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.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
[88/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.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/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.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/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.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/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.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/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.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
/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.
[92/261] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
<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
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. */
      |                      ^~~~~~~~~~~
[92/261] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[92/261] Compiling regex-partial.cpp
[92/261] Compiling chat.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/44] Write sources
[9/47] Compiling log.cpp
[10/47] 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/47] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[11/47] Compiling chat-parser.cpp
[11/47] Compiling regex-partial.cpp
[11/47] Compiling common.cpp
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. */
      |                      ^~~~~~~~~~~
[11/47] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[11/47] Compiling LocalLLMClientLlamaC clip.cpp
[11/47] Compiling chat.cpp
BUILD FAILURE 6.1 wasm