The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Adapt, reference main (9a1fb2), with Swift 6.1 for Wasm on 14 Aug 2026 00:56:23 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/asaptf/swift-adapt.git
https://github.com/asaptf/swift-adapt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.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 saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/ml-explore/mlx-swift-lm
Fetching https://github.com/huggingface/swift-huggingface
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/apple/swift-argument-parser
[1/6872] Fetching swift-transformers
[895/25182] Fetching swift-transformers, swift-argument-parser
[25183/40677] Fetching swift-transformers, swift-argument-parser, mlx-swift
[25184/56740] Fetching swift-transformers, swift-argument-parser, mlx-swift, mlx-swift-lm
Fetched https://github.com/apple/swift-argument-parser from cache (0.76s)
[7195/38430] Fetching swift-transformers, mlx-swift, mlx-swift-lm
[17167/40883] Fetching swift-transformers, mlx-swift, mlx-swift-lm, swift-huggingface
[24867/117357] Fetching swift-transformers, mlx-swift, mlx-swift-lm, swift-huggingface, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (1.61s)
[95177/101294] Fetching swift-transformers, mlx-swift, swift-huggingface, swift-syntax
Fetched https://github.com/huggingface/swift-huggingface from cache (2.74s)
Fetched https://github.com/huggingface/swift-transformers from cache (2.74s)
Fetched https://github.com/ml-explore/mlx-swift from cache (2.74s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.76s)
Computing version for https://github.com/huggingface/swift-huggingface
Computed https://github.com/huggingface/swift-huggingface at 0.9.0 (3.01s)
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/huggingface/swift-xet.git
Fetching https://github.com/apple/swift-crypto.git
[1/18322] Fetching swift-crypto
[551/18603] Fetching swift-crypto, eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.53s)
[1283/18322] Fetching swift-crypto
[3666/18599] Fetching swift-crypto, swift-xet
Fetched https://github.com/huggingface/swift-xet.git from cache (1.14s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.15s)
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.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.24s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.28s)
Fetching https://github.com/apple/swift-numerics
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.64s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.3 (0.24s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/1281] Fetching swift-jinja
[1282/27990] Fetching swift-jinja, swift-collections
[6624/32702] Fetching swift-jinja, swift-collections, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.92s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.92s)
[21368/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.38s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.2.3 (0.22s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client
[1/2860] Fetching swift-nio-transport-services
[2861/18985] Fetching swift-nio-transport-services, async-http-client
[18986/104312] Fetching swift-nio-transport-services, async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.04s)
Fetched https://github.com/swift-server/async-http-client from cache (3.05s)
Fetched https://github.com/apple/swift-nio.git from cache (3.08s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (3.31s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.24s)
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.70s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.2 (0.23s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.36.0 (0.24s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/7954] Fetching swift-log
[1672/13917] Fetching swift-log, swift-distributed-tracing
[4536/20563] Fetching swift-log, swift-distributed-tracing, swift-nio-extras
[9460/26661] Fetching swift-log, swift-distributed-tracing, swift-nio-extras, swift-algorithms
[15752/38873] Fetching swift-log, swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-http2
[28983/54726] Fetching swift-log, swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
[42334/46772] Fetching swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.88s)
[30280/34560] Fetching swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (1.16s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.16s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.16s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.17s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (1.41s)
Fetching https://github.com/apple/swift-service-context.git
[1/1311] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.44s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.70s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.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.45s)
Fetching https://github.com/apple/swift-system.git
[1/6842] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.45.0 (0.85s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.2 (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.33s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.3 (1.05s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
[1/1365] Fetching swift-http-types
[29/4176] Fetching swift-http-types, swift-service-lifecycle
[71/6109] Fetching swift-http-types, swift-service-lifecycle, swift-asn1
[5898/12764] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-async-algorithms
[6244/20249] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-certificates
[8041/21502] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-asn1.git from cache (0.55s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.55s)
[9573/16758] Fetching swift-http-types, swift-async-algorithms, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-types.git from cache (0.73s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.73s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.73s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.73s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.97s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.27s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.23s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.26s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.23s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.4 (0.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.1 (0.78s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.4.2 (0.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.3
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/huggingface/swift-huggingface
Working copy of https://github.com/huggingface/swift-huggingface resolved at 0.9.0
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/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/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.36.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/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
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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.8.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/huggingface/swift-xet.git
Working copy of https://github.com/huggingface/swift-xet.git resolved at 0.2.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.45.0
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/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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
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/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-http-types.git
Working copy of https://github.com/apple/swift-http-types.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 poly_rq_mul.S
[28/1228] Copying t5_tokenizer_config.json
[28/1228] Copying gpt2_tokenizer_config.json
[31/1228] Compiling _NumericsShims _NumericsShims.c
[32/1228] Write sources
[34/1228] Compiling _AtomicsShims.c
[35/1228] Write sources
[51/1228] Compiling version.cpp
[52/1228] Compiling lhash.cc
[53/1228] Compiling siphash.cc
[54/1228] Compiling md4.cc
[55/1228] Compiling kyber.cc
[56/1228] Compiling hpke.cc
[57/1228] Compiling hrss.cc
[58/1228] Compiling yyjson.c
[59/1228] Compiling utils.cpp
[60/1228] Compiling scheduler.cpp
[61/1228] Compiling random.cpp
[62/1228] Compiling no_gguf.cpp
[63/1228] Compiling linalg.cpp
[64/1228] Compiling transforms.cpp
[65/1228] Compiling load.cpp
[66/1228] Compiling primitives.cpp
[67/1228] Compiling graph_utils.cpp
[68/1228] Compiling fft.cpp
[69/1228] Compiling dtype.cpp
[70/1228] Compiling dtype_utils.cpp
[71/1228] Compiling fast.cpp
[72/1228] Compiling safetensors.cpp
[73/1228] Compiling utils.cpp
[74/1228] Compiling einsum.cpp
[75/1228] Compiling no_ring.cpp
[76/1228] Compiling no_nccl.cpp
[77/1228] Compiling no_mpi.cpp
[78/1228] Compiling device.cpp
[79/1228] Compiling ops.cpp
[80/1228] Compiling primitives.cpp
[81/1228] Compiling no_jaccl.cpp
[82/1228] Compiling ops.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 fence.cpp
[88/1228] Compiling event.cpp
[89/1228] Compiling threefry.cpp
[90/1228] Compiling no_metal.cpp
[91/1228] Compiling primitives.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 select.cpp
[94/1228] Compiling scan.cpp
[94/1228] Compiling sort.cpp
[94/1228] Compiling softmax.cpp
[94/1228] Compiling reduce.cpp
[94/1228] Compiling unary.cpp
[94/1228] Compiling export.cpp
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/1136] Compiling CNIOWindows shim.c
[3/1136] Compiling CNIOWindows WSAStartup.c
[3/1136] Compiling CNIOLinux liburing_shims.c
[5/1136] Compiling CNIOWASI CNIOWASI.c
[6/1136] Compiling CXKCPShims shims.c
[7/1136] Compiling CNIOLinux shim.c
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.
[8/1136] Compiling svd.cpp
[8/1136] Compiling export.cpp
[8/1136] Compiling sort.cpp
[8/1136] Compiling unary.cpp
[8/1136] Compiling softmax.cpp
[8/1136] Compiling select.cpp
[8/1136] Compiling c-nioatomics.c
[8/1136] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm