The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Adapt, reference main (9a1fb2), with Swift 6.2 for Wasm on 14 Aug 2026 01:01:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asaptf/swift-adapt.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/asaptf/swift-adapt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9a1fb29 docs: the blind test was never slow — correct the record
Cloned https://github.com/asaptf/swift-adapt.git
Revision (git rev-parse @):
9a1fb2989688ee3645352df1b7e5c50178e782d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/asaptf/swift-adapt.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/asaptf/swift-adapt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-huggingface
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift-lm
Fetching https://github.com/swiftlang/swift-syntax.git
[1/6872] Fetching swift-transformers
[826/9325] Fetching swift-transformers, swift-huggingface
[1072/27635] Fetching swift-transformers, swift-huggingface, swift-argument-parser
[27636/43698] Fetching swift-transformers, swift-huggingface, swift-argument-parser, mlx-swift-lm
[37114/59193] Fetching swift-transformers, swift-huggingface, swift-argument-parser, mlx-swift-lm, mlx-swift
[37436/135667] Fetching swift-transformers, swift-huggingface, swift-argument-parser, mlx-swift-lm, mlx-swift, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.61s)
[108945/117357] Fetching swift-transformers, swift-huggingface, mlx-swift-lm, mlx-swift, swift-syntax
Fetched https://github.com/huggingface/swift-huggingface from cache (3.12s)
Fetched https://github.com/huggingface/swift-transformers from cache (3.12s)
Fetched https://github.com/ml-explore/mlx-swift from cache (3.13s)
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (3.14s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.14s)
Computing version for https://github.com/huggingface/swift-huggingface
Computed https://github.com/huggingface/swift-huggingface at 0.9.0 (3.31s)
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/apple/swift-crypto.git
[1/281] Fetching eventsource
[282/18603] Fetching eventsource, swift-crypto
Fetched https://github.com/mattt/EventSource.git from cache (1.35s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.37s)
Computing version for https://github.com/ml-explore/mlx-swift-lm
Computed https://github.com/ml-explore/mlx-swift-lm at 3.31.4 (1.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.19s)
Fetching https://github.com/apple/swift-numerics
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.21s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.3 (0.16s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1281] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.59s)
[1/26709] Fetching swift-collections
[5343/31421] Fetching swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (0.92s)
[22169/26709] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.29s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.13s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.2 (0.13s)
Fetching https://github.com/apple/swift-nio.git
[1/85327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.31s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.4.2 (3.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (0.34s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[1/6842] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.1 (1.14s)
Fetching https://github.com/apple/swift-asn1.git
[1/1933] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.62s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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.1
Creating working copy for https://github.com/ml-explore/mlx-swift-lm
Working copy of https://github.com/ml-explore/mlx-swift-lm resolved at 3.31.4
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.3
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.4.2
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.1
Creating working copy for https://github.com/huggingface/swift-huggingface
Working copy of https://github.com/huggingface/swift-huggingface resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.3
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.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.8.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/1228] Write sources
[27/1228] Compiling _SwiftSyntaxCShims PlatformMutex.c
[28/1228] Compiling aesni-gcm-x86_64-linux.S
[28/1228] Copying t5_tokenizer_config.json
[28/1228] Copying gpt2_tokenizer_config.json
[31/1228] Compiling aesni-x86_64-linux.S
[32/1228] Write sources
[34/1228] Compiling _NumericsShims _NumericsShims.c
[35/1228] Write sources
[51/1228] Compiling _AtomicsShims.c
[52/1228] Compiling version.cpp
[53/1228] Compiling x_name.cc
[54/1228] Compiling x_req.cc
[55/1228] Compiling x_exten.cc
[56/1228] Compiling x_crl.cc
[57/1228] Compiling x_pubkey.cc
[58/1228] Compiling yyjson.c
[59/1228] Compiling utils.cpp
[60/1228] Compiling scheduler.cpp
[61/1228] Compiling no_gguf.cpp
[62/1228] Compiling random.cpp
[63/1228] Compiling linalg.cpp
[64/1228] Compiling transforms.cpp
[65/1228] Compiling load.cpp
[66/1228] Compiling graph_utils.cpp
[67/1228] Compiling primitives.cpp
[68/1228] Compiling fft.cpp
[69/1228] Compiling safetensors.cpp
[70/1228] Compiling dtype.cpp
[71/1228] Compiling dtype_utils.cpp
[72/1228] Compiling utils.cpp
[73/1228] Compiling fast.cpp
[74/1228] Compiling no_ring.cpp
[75/1228] Compiling einsum.cpp
[76/1228] Compiling no_nccl.cpp
[77/1228] Compiling no_mpi.cpp
[78/1228] Compiling device.cpp
[79/1228] Compiling primitives.cpp
[80/1228] Compiling ops.cpp
[82/1228] Compiling no_jaccl.cpp
[83/1228] Compiling distributed.cpp
[84/1228] Compiling device_info.cpp
[85/1228] Compiling allocator.cpp
[86/1228] Compiling eval.cpp
[87/1228] Compiling event.cpp
[88/1228] Compiling fence.cpp
[89/1228] Compiling threefry.cpp
[90/1228] Compiling primitives.cpp
[91/1228] Compiling no_metal.cpp
[92/1228] Compiling no_cuda.cpp
[93/1228] Compiling compile.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/svd.cpp:6:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:17:10: fatal error: 'cblas.h' file not found
   17 | #include <cblas.h>
      |          ^~~~~~~~~
1 error generated.
[94/1228] Compiling svd.cpp
[94/1228] Compiling reduce.cpp
[94/1228] Compiling softmax.cpp
[94/1228] Compiling select.cpp
[94/1228] Compiling scan.cpp
[94/1228] Compiling unary.cpp
[94/1228] Compiling sort.cpp
[94/1228] Compiling export.cpp
BUILD FAILURE 6.2 wasm