Build Information
Failed to build Cast, reference stage (9c5ac3), with Swift 6.1 for Wasm on 27 Jun 2026 00:51:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaylann/Cast.git
Reference: stage
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/jaylann/Cast
* branch stage -> FETCH_HEAD
* [new branch] stage -> origin/stage
HEAD is now at 9c5ac3e feat(api): pluggable ModelSource — directory, bundle, endpoint (#101) (#113)
Submodule path 'Sources/CMLXStructured/xgrammar': checked out 'd68df627908376f3ed5e0a989395a03cc41894cd'
Submodule path 'Sources/CMLXStructured/xgrammar/3rdparty/cpptrace': checked out '6689d14c203eed390ae7bb64f56a983cfd7dff9c'
Submodule path 'Sources/CMLXStructured/xgrammar/3rdparty/dlpack': checked out 'bbd2f4d32427e548797929af08cfe2a9cbb3cf12'
Submodule path 'Sources/CMLXStructured/xgrammar/3rdparty/googletest': checked out 'df1544bcee0c7ce35cd5ea0b3eb8cc81855a4140'
Submodule 'Sources/CMLXStructured/xgrammar' (https://github.com/mlc-ai/xgrammar) registered for path 'Sources/CMLXStructured/xgrammar'
Cloning into '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar'...
Submodule '3rdparty/cpptrace' (https://github.com/jeremy-rifkin/cpptrace.git) registered for path 'Sources/CMLXStructured/xgrammar/3rdparty/cpptrace'
Submodule '3rdparty/dlpack' (https://github.com/dmlc/dlpack.git) registered for path 'Sources/CMLXStructured/xgrammar/3rdparty/dlpack'
Submodule '3rdparty/googletest' (https://github.com/google/googletest.git) registered for path 'Sources/CMLXStructured/xgrammar/3rdparty/googletest'
Cloning into '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/3rdparty/cpptrace'...
Cloning into '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/3rdparty/dlpack'...
Cloning into '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/3rdparty/googletest'...
Cloned https://github.com/jaylann/Cast.git
Revision (git rev-parse @):
9c5ac3e41d399651671f7b1f09611ef3e4e37f22
SUCCESS checkout https://github.com/jaylann/Cast.git at stage
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jaylann/Cast.git
https://github.com/jaylann/Cast.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/petrukha-ivan/swift-json-schema.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/132] Fetching swift-json-schema
[133/11379] Fetching swift-json-schema, mlx-swift-lm
[134/13704] Fetching swift-json-schema, mlx-swift-lm, swift-docc-plugin
[135/20498] Fetching swift-json-schema, mlx-swift-lm, swift-docc-plugin, swift-transformers
Fetched https://github.com/petrukha-ivan/swift-json-schema.git from cache (0.52s)
[5289/45605] Fetching mlx-swift-lm, swift-docc-plugin, swift-transformers, swift-collections
Fetching https://github.com/ml-explore/mlx-swift.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.53s)
[3032/43280] Fetching mlx-swift-lm, swift-transformers, swift-collections
[23777/119030] Fetching mlx-swift-lm, swift-transformers, swift-collections, swift-syntax
[91004/134073] Fetching mlx-swift-lm, swift-transformers, swift-collections, swift-syntax, mlx-swift
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.33s)
[99338/127279] Fetching mlx-swift-lm, swift-collections, swift-syntax, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift.git from cache (1.14s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git from cache (2.57s)
Fetched https://github.com/apple/swift-collections.git from cache (2.57s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.58s)
Computing version for https://github.com/petrukha-ivan/swift-json-schema.git
Computed https://github.com/petrukha-ivan/swift-json-schema.git at 2.0.2 (2.81s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.98s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 2.31.3 (0.24s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.2.1 (0.22s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
[1/2421] Fetching swift-huggingface
[2277/3557] Fetching swift-huggingface, swift-jinja
[3558/21318] Fetching swift-huggingface, swift-jinja, swift-crypto
[3914/25916] Fetching swift-huggingface, swift-jinja, swift-crypto, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.26s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.26s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.26s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.27s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.51s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.4 (0.25s)
Fetching https://github.com/apple/swift-numerics
[1/6429] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.53s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.75s)
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/huggingface/swift-xet.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.33s)
[1/239] Fetching swift-xet
Fetched https://github.com/huggingface/swift-xet.git from cache (0.39s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.2.3 (0.61s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/swift-server/async-http-client
[1/2860] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.45s)
[1/15972] Fetching async-http-client
[15015/100126] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client from cache (0.82s)
[7574/84154] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (2.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (3.21s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.21s)
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.22s)
Fetching https://github.com/apple/swift-atomics.git
[1/1868] 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.69s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.84s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.21s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.34.0 (0.23s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/7598] Fetching swift-log
[2/13413] Fetching swift-log, swift-distributed-tracing
[1398/19956] Fetching swift-log, swift-distributed-tracing, swift-nio-extras
[1574/26019] Fetching swift-log, swift-distributed-tracing, swift-nio-extras, swift-algorithms
[14578/38142] Fetching swift-log, swift-distributed-tracing, swift-nio-extras, swift-algorithms, swift-nio-http2
[14652/31599] Fetching swift-log, swift-distributed-tracing, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
[22233/47174] Fetching swift-log, swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.88s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.88s)
[26419/35296] Fetching swift-log, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.89s)
[14607/23173] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (1.25s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.26s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.2 (1.69s)
Fetching https://github.com/apple/swift-system.git
[1/5935] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.77s)
Fetching https://github.com/apple/swift-service-context.git
[1/1295] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.41s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.64s)
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.21s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.44.0 (0.22s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.1 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.2 (0.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.1 (0.26s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1905] Fetching swift-asn1
[783/3154] Fetching swift-asn1, swift-http-structured-headers
[2331/5918] Fetching swift-asn1, swift-http-structured-headers, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.39s)
[861/4013] Fetching swift-http-structured-headers, swift-service-lifecycle
[1190/5232] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[5136/11785] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms
[6544/19113] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.53s)
[12560/12560] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.57s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.57s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.57s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.57s)
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.79s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.4 (0.25s)
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.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.91s)
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.22s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.2 (0.26s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.6 (0.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (0.75s)
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.1
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.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-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/petrukha-ivan/swift-json-schema.git
Working copy of https://github.com/petrukha-ivan/swift-json-schema.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.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.7.2
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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.4
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.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.1
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
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.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.1
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.44.0
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.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.101.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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.34.0
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/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.6
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.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.31.4
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 2.31.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.2
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/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.2.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/CastMacros/CLAUDE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/MLXStructured/CLAUDE.md
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/1222] Write sources
[2/1222] Copying t5_tokenizer_config.json
[2/1222] Copying gpt2_tokenizer_config.json
[2/1222] Write sources
[49/1222] Compiling _SwiftSyntaxCShims dummy.c
[50/1222] Compiling _NumericsShims _NumericsShims.c
[51/1222] Compiling version.cpp
[52/1222] Compiling _AtomicsShims.c
[53/1222] Compiling yyjson.c
[54/1222] Compiling utils.cpp
[55/1222] Compiling scheduler.cpp
[56/1222] Compiling random.cpp
[57/1222] Compiling compiled_grammar.cc
[58/1222] Compiling no_gguf.cpp
[59/1222] Compiling transforms.cpp
[60/1222] Compiling linalg.cpp
[61/1222] Compiling primitives.cpp
[62/1222] Compiling load.cpp
[63/1222] Compiling graph_utils.cpp
[64/1222] Compiling fft.cpp
[65/1222] Compiling safetensors.cpp
[66/1222] Compiling dtype_utils.cpp
[67/1222] Compiling dtype.cpp
[68/1222] Compiling utils.cpp
[69/1222] Compiling einsum.cpp
[70/1222] Compiling fast.cpp
[71/1222] Compiling no_ring.cpp
[72/1222] Compiling ops.cpp
[73/1222] Compiling no_nccl.cpp
[74/1222] Compiling no_mpi.cpp
[75/1222] Compiling no_jaccl.cpp
[76/1222] Compiling device.cpp
[77/1222] Compiling primitives.cpp
[78/1222] Compiling ops.cpp
[79/1222] Compiling distributed.cpp
[80/1222] Compiling device_info.cpp
[81/1222] Compiling allocator.cpp
[82/1222] Compiling eval.cpp
[83/1222] Compiling fence.cpp
[84/1222] Compiling threefry.cpp
[85/1222] Compiling event.cpp
[86/1222] Compiling no_metal.cpp
[87/1222] Compiling primitives.cpp
[88/1222] Compiling no_cuda.cpp
[89/1222] 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.
[90/1222] Compiling svd.cpp
[90/1222] Compiling select.cpp
[90/1222] Compiling reduce.cpp
[90/1222] Compiling softmax.cpp
[90/1222] Compiling scan.cpp
[90/1222] Compiling sort.cpp
[90/1222] Compiling unary.cpp
[90/1222] Compiling export.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/CastMacros/CLAUDE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/MLXStructured/CLAUDE.md
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/1134] Write sources
[4/1134] Compiling CNIOWASI CNIOWASI.c
[5/1134] Compiling SimpleFIPS202.c
[6/1134] Compiling CXKCPShims shims.c
[7/1134] Compiling KeccakHash.c
[8/1134] Compiling KeccakSponge.c
[9/1134] Compiling KeccakP-1600-opt64.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.
[10/1134] Compiling svd.cpp
[10/1134] Compiling c-nioatomics.c
[10/1134] Compiling select.cpp
[10/1134] Compiling sort.cpp
[10/1134] Compiling softmax.cpp
[10/1134] Compiling export.cpp
[10/1134] Compiling unary.cpp
[10/1134] Compiling c-atomics.c
BUILD FAILURE 6.1 wasm