The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnyLanguageModel, reference main (701d7e), with Swift 6.2 for Wasm on 25 Mar 2026 09:19:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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/huggingface/AnyLanguageModel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 701d7e6 Transfer project to @huggingface (#150)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
701d7e61db7b59db9092f2db62b1567144835b3b
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at main
========================================
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-4606859-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/mattt/JSONSchema
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/mattt/PartialJSONDecoder
Fetching https://github.com/mattt/EventSource
[1/192] Fetching jsonschema
[28/231] Fetching jsonschema, partialjsondecoder
[232/502] Fetching jsonschema, partialjsondecoder, eventsource
Fetched https://github.com/mattt/EventSource from cache (0.27s)
Fetched https://github.com/mattt/PartialJSONDecoder from cache (0.27s)
[1/74836] Fetching swift-syntax
Fetched https://github.com/mattt/JSONSchema from cache (6.80s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.86s)
Computing version for https://github.com/mattt/PartialJSONDecoder
Computed https://github.com/mattt/PartialJSONDecoder at 1.0.0 (8.78s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.55s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.38s)
Fetching https://github.com/apple/swift-collections.git
[1/22628] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.77s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.4.1 (3.42s)
Fetching https://github.com/apple/swift-nio.git
[1/82918] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (11.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.0 (1.46s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[456/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.80s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.79s)
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/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
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/mattt/EventSource
Working copy of https://github.com/mattt/EventSource 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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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.63s)
Building for debugging...
[0/28] Write sources
[12/28] Compiling CNIOWindows WSAStartup.c
[13/28] Compiling CNIOWASI CNIOWASI.c
[14/28] Compiling CNIOWindows shim.c
[15/28] Compiling CNIODarwin shim.c
[15/28] Write sources
[18/28] Compiling CNIOOpenBSD shim.c
[19/28] Compiling CNIOLinux shim.c
[20/28] Compiling CNIOLinux liburing_shims.c
[21/28] Compiling _AtomicsShims.c
[22/28] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/42] 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)
[25/42] 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
[26/42] 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/42] 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
[28/42] Compiling _NIODataStructures Heap.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)
[29/42] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/42] Emitting module InternalCollectionsUtilities
<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
[30/42] Compiling c-nioatomics.c
[30/42] Compiling c-atomics.c
BUILD FAILURE 6.2 wasm