The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnyLanguageModel, reference 0.8.0 (163f38), with Swift 6.2 for Wasm on 25 Mar 2026 09:13:19 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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.git
Reference: 0.8.0
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               0.8.0      -> FETCH_HEAD
HEAD is now at 163f385 Bump version to 0.8.0
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
163f3855a53235b4ebeb69cf5e9f228215ae35b5
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at 0.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/huggingface/AnyLanguageModel.git
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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/mattt/EventSource
[1/39] Fetching partialjsondecoder
[40/310] Fetching partialjsondecoder, eventsource
[311/502] Fetching partialjsondecoder, eventsource, jsonschema
Fetched https://github.com/mattt/EventSource from cache (0.39s)
Fetched https://github.com/mattt/JSONSchema from cache (0.46s)
Fetched https://github.com/mattt/PartialJSONDecoder from cache (0.47s)
[1/74836] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (10.09s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.0 (10.87s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.27s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.59s)
Fetching https://github.com/apple/swift-collections.git
[1/22628] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.29s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.4.1 (3.00s)
Fetching https://github.com/apple/swift-nio.git
[1/82918] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.19s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (10.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.0 (1.12s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1130/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.10s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.65s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.4.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/mattt/PartialJSONDecoder
Working copy of https://github.com/mattt/PartialJSONDecoder resolved at 1.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.53s)
Building for debugging...
[0/28] Write sources
[12/28] Compiling CNIOWindows shim.c
[13/28] Compiling CNIOWindows WSAStartup.c
[14/28] Compiling CNIOOpenBSD shim.c
[15/28] Compiling _AtomicsShims.c
[15/28] Write sources
[18/28] Compiling CNIOWASI CNIOWASI.c
[19/28] Compiling CNIOLinux liburing_shims.c
[20/28] Compiling CNIODarwin shim.c
[21/28] Compiling CNIOLinux shim.c
[22/28] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/38] Emitting module _NIODataStructures
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[25/38] Compiling _NIOBase64 Base64.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/38] Emitting module _NIOBase64
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[27/39] Compiling PartialJSONDecoder AsyncPartialJSONSequence.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/39] Emitting module PartialJSONDecoder
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[28/39] Compiling c-nioatomics.c
[28/39] Compiling c-atomics.c
BUILD FAILURE 6.2 wasm