Build Information
Failed to build AnyLanguageModel, reference 1.4.1 (ad3c5a), with Swift 6.4 for Wasm on 22 Nov 2026 08:09:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.git
Reference: 1.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/huggingface/AnyLanguageModel
* tag 1.4.1 -> FETCH_HEAD
HEAD is now at ad3c5a1 Bump README install snippets to 1.4.1 (#438)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
ad3c5a1d1e9a36e4c55d80b9244650b60ab03c17
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at 1.4.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/huggingface/AnyLanguageModel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/mattt/EventSource
[1/206] Fetching jsonschema
[16/539] Fetching jsonschema, eventsource
[391/2529] Fetching jsonschema, eventsource, swift-http-types
[2530/84796] Fetching jsonschema, eventsource, swift-http-types, swift-syntax
Fetched https://github.com/mattt/EventSource (3.17s)
Fetched https://github.com/mattt/JSONSchema (3.17s)
Fetched https://github.com/apple/swift-http-types (3.17s)
Fetched https://github.com/swiftlang/swift-syntax (3.19s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.19s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.6.0 (0.14s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.13s)
Fetching https://github.com/apple/swift-collections.git
[1/30450] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.22s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.1
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 742]
[Planning deferred tasks]
[Starting]
[142 / 308]
[159 / 336] EventSource
[172 / 349] SwiftSyntax601
[191 / 349] SwiftSyntax
[193 / 349] InternalCollectionsUtilities
[195 / 349] InternalCollectionsUtilities
[209 / 349] OrderedCollections
[215 / 351] SwiftSyntax600
[221 / 353] SwiftSyntax510
[223 / 354] SwiftSyntax510
[227 / 354] InternalCollectionsUtilities
[230 / 354] HTTPTypes-product
[232 / 355] HTTPTypes
[234 / 355] HTTPTypes
[239 / 355] EventSource
[244 / 355] SwiftSyntax602
[246 / 357] EventSource
[252 / 375] SwiftSyntax
[253 / 375] SwiftSyntax
[254 / 376] SwiftSyntax
[255 / 377] SwiftSyntax
[256 / 377] SwiftSyntax
[259 / 377] OrderedCollections
[264 / 377] OrderedCollections
[265 / 377] OrderedCollections
[266 / 377] OrderedCollections
[267 / 377] OrderedCollections-product
[268 / 377] OrderedCollections
[269 / 377] OrderedCollections-product
[273 / 378] JSONSchema
[276 / 381] JSONSchema
[277 / 381] JSONSchema
[284 / 381] OrderedCollections
[287 / 382] OrderedCollections
[287 / 382] JSONSchema
[290 / 383] SwiftSyntax
[301 / 394] SwiftDiagnostics
[303 / 411] SwiftParser
[315 / 411] SwiftParser
[316 / 411] SwiftParser
[317 / 411] SwiftParser
[318 / 411] SwiftParser
[319 / 411] SwiftParser
[320 / 411] SwiftParser
[321 / 411] SwiftParser
[328 / 411] SwiftDiagnostics
[329 / 411] SwiftDiagnostics
[329 / 411] SwiftParser
[331 / 411] SwiftDiagnostics
[332 / 411] SwiftOperators
[335 / 411] SwiftBasicFormat
[338 / 412] SwiftDiagnostics
[341 / 413]
[345 / 423] SwiftParserDiagnostics
[346 / 423] SwiftParserDiagnostics
[348 / 423] SwiftParserDiagnostics
[353 / 423] SwiftParserDiagnostics
[354 / 423] SwiftSyntaxBuilder
[356 / 424] SwiftParser
[362 / 436] SwiftOperators
[363 / 444] SwiftOperators
[365 / 444] SwiftSyntaxBuilder
[367 / 444] SwiftSyntaxBuilder
[371 / 444] SwiftSyntaxBuilder
[379 / 444] SwiftSyntaxMacros
[381 / 444] SwiftSyntaxMacros
[383 / 444] SwiftSyntaxBuilder-product
[389 / 445] SwiftParserDiagnostics
[398 / 456] SwiftSyntaxMacros
[405 / 457] SwiftSyntaxMacros
[417 / 467] SwiftSyntaxMacroExpansion
[419 / 468] SwiftSyntaxMacros
[422 / 468] SwiftSyntaxMacroExpansion
[430 / 478] SwiftCompilerPluginMessageHandling
[433 / 478] SwiftCompilerPluginMessageHandling
[435 / 478] SwiftCompilerPluginMessageHandling
[437 / 478] SwiftCompilerPluginMessageHandling
[445 / 481] SwiftCompilerPlugin
[452 / 483] SwiftCompilerPlugin
[454 / 483] SwiftCompilerPluginMessageHandling
[456 / 484] SwiftSyntax
[459 / 485] SwiftSyntax
[466 / 485] SwiftSyntaxMacros
[474 / 486] AnyLanguageModelMacros
[479 / 491] AnyLanguageModelMacros
[480 / 491] AnyLanguageModelMacros
[484 / 492] AnyLanguageModelMacros
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONCompleter.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONCompleter.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONLines.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONLines.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue+JSONSchema.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONValue+JSONSchema.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONValue.swift
[494 / 502] AnyLanguageModel
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/LocalGenerationUsage.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile LocalGenerationUsage.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Locked.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Locked.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/PendingMessages.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile PendingMessages.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ProviderResponseSchema.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ProviderResponseSchema.swift
/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: [1;39mnote: [1;39mwhile building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:[0;0m
[0;36m26 |[0;0m #include <setjmp.h>
[0;36m27 |[0;0m #endif
[0;36m28 |[0;0m #include <signal.h>
[0;36m|[0;0m `- [1;39mnote: [1;39mwhile building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:[0;0m
[0;36m29 |[0;0m #include <stddef.h>
[0;36m30 |[0;0m #include <stdio.h>
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "signal.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: [1;31merror: [1;39m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0;0m
[0;36m1 |[0;0m #ifndef _WASI_EMULATED_SIGNAL
[0;36m2 |[0;0m #error "wasm lacks signal support; to enable minimal signal emulation, \
[0;36m|[0;0m `- [1;31merror: [1;39m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0;0m
[0;36m3 |[0;0m compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
[0;36m4 |[0;0m #else
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "CoreFoundation.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: [1;31merror: [1;39mcould not build module 'wasi_emulated_signal'[0;0m
[0;36m26 |[0;0m #include <setjmp.h>
[0;36m27 |[0;0m #endif
[0;36m28 |[0;0m #include <signal.h>
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build module 'wasi_emulated_signal'[0;0m
[0;36m29 |[0;0m #include <stddef.h>
[0;36m30 |[0;0m #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: [1;39mnote: [1;39mwhile building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:[0;0m
[0;36m84 |[0;0m #undef _WASI_EMULATED_MMAN
[0;36m85 |[0;0m #define _WASI_EMULATED_MMAN
[0;36m86 |[0;0m #include <sys/mman.h>
[0;36m|[0;0m `- [1;39mnote: [1;39mwhile building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:[0;0m
[0;36m87 |[0;0m #elif TARGET_OS_LINUX
[0;36m88 |[0;0m #include <errno.h>
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "sys/mman.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: [1;31merror: [1;39m"WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"[0;0m
[0;36m1 |[0;0m #ifndef _WASI_EMULATED_MMAN
[0;36m2 |[0;0m #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
[0;36m|[0;0m `- [1;31merror: [1;39m"WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"[0;0m
[0;36m3 |[0;0m compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
[0;36m4 |[0;0m #else
/host/spi-builder-workspace/Sources/AnyLanguageModel/GeneratedContent.swift:2:8: [1;31merror: [1;39mcould not build C module 'CoreFoundation'[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m import CoreFoundation
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build C module 'CoreFoundation'[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// A type that represents structured, generated content.
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/AnyLanguageModel/Attachment.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Availability.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/ContextOptions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/ConvertibleFromGeneratedContent.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/ConvertibleToGeneratedContent.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/DynamicGenerationSchema.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/DynamicInstructions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/DynamicProfile.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/Character+Extensions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/HTTPClient+Extensions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/JSONDecoder+Extensions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/URLSession+Extensions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Generable.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/GeneratedContent.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/GenerationGuide.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/GenerationID.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/GenerationOptions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/GenerationSchema.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Instructions.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModelFeedback.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModelSession.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/AnthropicLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/CoreMLLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/FoundationLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/GeminiLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaHubFileResolver.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaLanguageModel+Hub.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaLifecycle.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaToolCallFormat.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/MLXLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/OllamaLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenAILanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenResponsesLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/PrivateCloudComputeLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/ProfileActionSerializer.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/ProfileToolExecution.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Prompt.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/SendableMetatype.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/SessionProperties.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Bounds.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/HTTPTransport+Fetch.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONCompleter.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONLines.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue+JSONSchema.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/LocalGenerationUsage.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Locked.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/PendingMessages.swift -primary-file /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ProviderResponseSchema.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseSchemaInlining.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseStreamFailure.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseUsage.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/SchemaInPrompt.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StoppedResponse.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StreamingResponseState.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StrictResponseSchema.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StructuredGeneration.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolCallingModeRequests.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolContinuation.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolRoundLimit.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolSchemaNormalization.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Transport.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Tool.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/ToolExecution.swift /host/spi-builder-workspace/Sources/AnyLanguageModel/Transcript.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/supplementaryOutputs-40 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/AnyLanguageModelMacros\#AnyLanguageModelMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AnyLanguageModel -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/AnyLanguageModel_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONCompleter.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONLines.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONValue+JSONSchema.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONValue.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/LocalGenerationUsage.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/Locked.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/PendingMessages.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/ProviderResponseSchema.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONCompleter.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONLines.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONValue+JSONSchema.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/JSONValue.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/LocalGenerationUsage.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/Locked.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/PendingMessages.o -index-unit-output-path /AnyLanguageModel.build/Debug-webassembly-wasm32/AnyLanguageModel-t.build/Objects-normal/wasm32/ProviderResponseSchema.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm