Build Information
Failed to build Cast, reference v0.1.0 (4243d1), with Swift 6.1 for Android on 30 Apr 2026 23:54:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaylann/Cast.git
Reference: v0.1.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/jaylann/Cast
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 4243d1b test(ci): skip MLX runtime tests on CI; pin README install to v0.1.0 (#76)
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 @):
4243d1bdb37adc78f84f3157111fe6bfed7282c2
SUCCESS checkout https://github.com/jaylann/Cast.git at v0.1.0
========================================
Build
========================================
Selected platform: android
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-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/6248] Fetching swift-transformers
[439/8535] Fetching swift-transformers, swift-docc-plugin
[645/32415] Fetching swift-transformers, swift-docc-plugin, swift-collections
[3392/40143] Fetching swift-transformers, swift-docc-plugin, swift-collections, mlx-swift-lm
[9022/115180] Fetching swift-transformers, swift-docc-plugin, swift-collections, mlx-swift-lm, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.60s)
[8838/112893] Fetching swift-transformers, swift-collections, mlx-swift-lm, swift-syntax
Fetching https://github.com/ml-explore/mlx-swift.git
[34717/127122] Fetching swift-transformers, swift-collections, mlx-swift-lm, swift-syntax, mlx-swift
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.05s)
[30028/120874] Fetching swift-collections, mlx-swift-lm, swift-syntax, mlx-swift
Fetched https://github.com/apple/swift-collections.git from cache (2.26s)
[68480/96994] Fetching mlx-swift-lm, swift-syntax, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift.git from cache (1.84s)
[64006/82765] Fetching mlx-swift-lm, swift-syntax
Fetching https://github.com/petrukha-ivan/swift-json-schema.git
Fetched https://github.com/ml-explore/mlx-swift-lm.git from cache (7.42s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.49s)
[1/132] Fetching swift-json-schema
Fetched https://github.com/petrukha-ivan/swift-json-schema.git from cache (0.61s)
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 (8.73s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.16s)
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.74s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.3 (0.86s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.54s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.2.1 (1.18s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1051] Fetching swift-jinja
[1052/18508] Fetching swift-jinja, swift-crypto
[1402/22951] Fetching swift-jinja, swift-crypto, yyjson
[1403/25291] Fetching swift-jinja, swift-crypto, yyjson, swift-huggingface
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.26s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.27s)
[4086/19797] Fetching swift-crypto, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git from cache (3.58s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.62s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (4.71s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.63s)
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/huggingface/swift-xet.git
[3/271] Fetching eventsource
[183/505] Fetching eventsource, swift-xet
Fetched https://github.com/mattt/EventSource.git from cache (0.23s)
Fetched https://github.com/huggingface/swift-xet.git from cache (0.24s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.2.3 (0.85s)
Fetching https://github.com/swift-server/async-http-client
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/2847] Fetching swift-nio-transport-services
[2848/18596] Fetching swift-nio-transport-services, async-http-client
[13400/101826] Fetching swift-nio-transport-services, async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (9.68s)
Fetched https://github.com/swift-server/async-http-client from cache (9.69s)
Fetched https://github.com/apple/swift-nio.git from cache (9.83s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (10.60s)
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 (1.26s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.12s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3708] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.59s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.98s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.33.1 (0.69s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5794] Fetching swift-distributed-tracing
[813/11852] Fetching swift-distributed-tracing, swift-algorithms
[993/23960] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2
[1052/30769] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-log
[1306/37287] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-log, swift-nio-extras
[8749/52727] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-log, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (1.11s)
[24244/46669] Fetching swift-distributed-tracing, swift-nio-http2, swift-log, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.22s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.22s)
[14971/34357] Fetching swift-nio-http2, swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
[8437/27548] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.07s)
[11426/15440] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.96s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (3.57s)
Fetching https://github.com/apple/swift-service-context.git
[1/1287] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.28s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.92s)
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.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.59s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.65s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.78s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1242] Fetching swift-http-structured-headers
[1243/3055] Fetching swift-http-structured-headers, swift-asn1
[1479/4098] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[3501/11364] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-certificates
[3520/14115] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.32s)
[4810/13072] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
[1/6245] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.90s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.90s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.91s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.91s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.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.68s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.91s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (3.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.52s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
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 (1.15s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.1 (0.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.68s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (2.22s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.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.5
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.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.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/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/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.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/ml-explore/mlx-swift.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.31.3
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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.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.33.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/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/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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.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.0
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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.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/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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.1
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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
warning: 'spi-builder-workspace': dependency 'swift-transformers' is not used by any target
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/1220] Compiling CMLXStructured error_handler.cpp
[4/1220] Copying t5_tokenizer_config.json
[5/1220] Copying gpt2_tokenizer_config.json
[6/1220] Compiling _SwiftSyntaxCShims dummy.c
[7/1220] Write sources
[8/1220] Compiling _NumericsShims _NumericsShims.c
[9/1220] Write sources
[11/1220] Compiling _AtomicsShims.c
[12/1220] Write sources
[54/1220] Compiling version.cpp
In file included from /host/spi-builder-workspace/Sources/CMLXStructured/tokenizer_info.cpp:2:
/host/spi-builder-workspace/Sources/CMLXStructured/include/mlx_structured/tokenizer_info.h:11:11: error: unknown type name 'int32_t'; did you mean '__int32_t'?
11 | const int32_t* eos_tokens, size_t eos_tokens_size
| ^~~~~~~
| __int32_t
/usr/include/x86_64-linux-gnu/bits/types.h:41:20: note: '__int32_t' declared here
41 | typedef signed int __int32_t;
| ^
1 error generated.
[55/1220] Compiling CMLXStructured tokenizer_info.cpp
[55/1220] Compiling CMLXStructured grammar_matcher.cpp
[55/1220] Compiling CMLXStructured grammar_compiler.cpp
[55/1220] Compiling yyjson.c
[55/1220] Compiling earley_parser.cc
[55/1220] Compiling utils.cpp
[55/1220] Compiling CMLXStructured tokenizer_info.cpp
[55/1220] Compiling CMLXStructured grammar_compiler.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-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': dependency 'swift-transformers' is not used by any target
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/1167] Write sources
[5/1167] Compiling KeccakHash.c
[6/1167] Compiling CXKCPShims shims.c
[6/1167] Compiling SimpleFIPS202.c
[8/1167] Compiling CNIOWindows shim.c
[9/1167] Compiling KeccakSponge.c
[10/1167] Compiling KeccakP-1600-opt64.c
[11/1167] Compiling utils.cpp
[12/1167] Compiling c-nioatomics.c
[13/1167] Compiling yyjson.c
[14/1167] Compiling c-atomics.c
[15/1167] Compiling scheduler.cpp
[16/1167] Compiling random.cpp
[17/1167] Compiling no_gguf.cpp
[18/1167] Compiling transforms.cpp
[19/1167] Compiling linalg.cpp
[20/1167] Compiling graph_utils.cpp
[21/1167] Compiling load.cpp
[22/1167] Compiling primitives.cpp
[23/1167] Compiling dtype_utils.cpp
[24/1167] Compiling fft.cpp
[25/1167] Compiling dtype.cpp
[26/1167] Compiling safetensors.cpp
[27/1167] Compiling utils.cpp
[28/1167] Compiling einsum.cpp
[29/1167] Compiling no_ring.cpp
[30/1167] Compiling fast.cpp
[31/1167] Compiling no_nccl.cpp
[32/1167] Compiling no_mpi.cpp
[33/1167] Compiling primitives.cpp
[34/1167] Compiling no_jaccl.cpp
[35/1167] Compiling distributed.cpp
[36/1167] Compiling device.cpp
[37/1167] Compiling ops.cpp
[39/1167] Compiling device_info.cpp
[40/1167] Compiling allocator.cpp
[41/1167] Compiling fence.cpp
[42/1167] Compiling event.cpp
[43/1167] Compiling threefry.cpp
[44/1167] Compiling eval.cpp
[45/1167] Compiling primitives.cpp
[46/1167] Compiling no_metal.cpp
[47/1167] Compiling no_cuda.cpp
[48/1167] 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.
[49/1167] Compiling svd.cpp
[49/1167] Compiling softmax.cpp
[49/1167] Compiling scan.cpp
[49/1167] Compiling reduce.cpp
[49/1167] Compiling unary.cpp
[49/1167] Compiling sort.cpp
[49/1167] Compiling select.cpp
[49/1167] Compiling export.cpp
BUILD FAILURE 6.1 android