Build Information
Failed to build Cast, reference stage (9c5ac3), with Swift 6.4 for Android on 25 Sep 2026 10:17:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
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: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/jaylann/Cast.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/petrukha-ivan/swift-json-schema.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/132] Fetching swift-json-schema
[133/2477] Fetching swift-json-schema, swift-docc-plugin
[368/9504] Fetching swift-json-schema, swift-docc-plugin, swift-transformers
Fetched https://github.com/swiftlang/swift-docc-plugin (0.69s)
Fetching https://github.com/ml-explore/mlx-swift.git
[1046/7159] Fetching swift-json-schema, swift-transformers
[7160/87227] Fetching swift-json-schema, swift-transformers, swift-syntax
[18370/104168] Fetching swift-json-schema, swift-transformers, swift-syntax, mlx-swift
[22421/125346] Fetching swift-json-schema, swift-transformers, swift-syntax, mlx-swift, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift.git (1.97s)
[108194/108405] Fetching swift-json-schema, swift-transformers, swift-syntax, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm.git (3.75s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/huggingface/swift-transformers.git (5.45s)
Fetched https://github.com/swiftlang/swift-syntax.git (5.48s)
[1/27723] Fetching swift-collections
Fetched https://github.com/petrukha-ivan/swift-json-schema.git (6.88s)
Fetched https://github.com/apple/swift-collections.git (1.47s)
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 (7.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.20s)
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.27s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.2.1 (0.21s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/18549] Fetching swift-crypto
[743/19925] Fetching swift-crypto, swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git (0.57s)
[1855/18549] Fetching swift-crypto
[3526/23448] Fetching swift-crypto, yyjson
[14917/26201] Fetching swift-crypto, yyjson, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git (1.26s)
Fetched https://github.com/ibireme/yyjson.git (1.27s)
Fetched https://github.com/apple/swift-crypto.git (1.28s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.48s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.6 (0.25s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6640] Fetching swift-numerics
[6575/25581] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.88s)
Fetched https://github.com/apple/swift-argument-parser (0.88s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (1.06s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.47s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.16s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.16s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.75s)
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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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.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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.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.7.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.11.0
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/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.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.6
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/CMLXStructured/xgrammar/cpp/nanobind': File not found.
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
Building for debugging...
[Computing dependencies]
[Provisioning 18 / 81]
[Pre-planning 1 / 1804]
[Planning 665 / 1804]
[Planning 1106 / 1804]
[Planning 1455 / 1804]
[Planning 1711 / 1804]
[Planning deferred tasks]
[Constructing 1 / 4608]
[Constructing 1642 / 4608]
[Starting]
[3 / 1423]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gemv.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal' of type 'sourcecode.metal' for architecture 'aarch64'
[278 / 1423] Crypto
[338 / 1444] RealModule
[358 / 1458] SwiftSyntax
[359 / 1458] InternalCollectionsUtilities
[370 / 1458] yyjson
[372 / 1458] yyjson
[374 / 1458] EventSource
[376 / 1459] EventSource
[385 / 1461] SwiftSyntax510
[390 / 1461] _RopeModule
[394 / 1461] InternalCollectionsUtilities
[395 / 1461] InternalCollectionsUtilities
[397 / 1462] HeapModule
[399 / 1462] EventSource-product
[400 / 1462] EventSource-product
[401 / 1462] EventSource-product
[410 / 1472] CryptoBoringWrapper
[414 / 1474] CMLXStructured
[415 / 1474] CMLXStructured
[418 / 1474] ArgumentParserToolInfo
[422 / 1474] CXKCP
[424 / 1474] CMLXStructured
[427 / 1475] CryptoBoringWrapper
[432 / 1475] CMLXStructured
[433 / 1475] CMLXStructured
[434 / 1475] CMLXStructured
[435 / 1475] EventSource
[436 / 1476] CMLXStructured
[438 / 1476] CMLXStructured
[440 / 1476] CMLXStructured
[442 / 1476] CMLXStructured
[444 / 1476] CMLXStructured
[445 / 1476] CMLXStructured
[447 / 1476] CMLXStructured
[448 / 1476] CCryptoBoringSSLShims
[454 / 1476] EventSource
[456 / 1476] EventSource
[459 / 1476] CryptoBoringWrapper
[461 / 1476] CryptoBoringWrapper
[462 / 1476] Crypto
[466 / 1476] CCryptoBoringSSL
[468 / 1477] CCryptoBoringSSL
[471 / 1478] CCryptoBoringSSL
[473 / 1478] CCryptoBoringSSL
[474 / 1478] CCryptoBoringSSL
[481 / 1478] CCryptoBoringSSL
[486 / 1478] CCryptoBoringSSL
[487 / 1478] CCryptoBoringSSL
[490 / 1478] CCryptoBoringSSL
[492 / 1478] CCryptoBoringSSL
[493 / 1478] CCryptoBoringSSL
[496 / 1478] CCryptoBoringSSL
[498 / 1478] CCryptoBoringSSL
[500 / 1478] CCryptoBoringSSL
[501 / 1478] CCryptoBoringSSL
[506 / 1478] CCryptoBoringSSL
[515 / 1478] CCryptoBoringSSL
[516 / 1478] CCryptoBoringSSL
[517 / 1478] CMLXStructured
[519 / 1478] CCryptoBoringSSL
[523 / 1478] CCryptoBoringSSL
[524 / 1478] CCryptoBoringSSL
[525 / 1478] CCryptoBoringSSL
[527 / 1478] CCryptoBoringSSL
[532 / 1478] CCryptoBoringSSL
[534 / 1478] CCryptoBoringSSL
[536 / 1478] CCryptoBoringSSL
[540 / 1478] CCryptoBoringSSL
[541 / 1478] CCryptoBoringSSL
[544 / 1478] CCryptoBoringSSL
[546 / 1478] CCryptoBoringSSL
[548 / 1478] CCryptoBoringSSL
[553 / 1478] CCryptoBoringSSL
[556 / 1478] CCryptoBoringSSL
[558 / 1478] CCryptoBoringSSL
[559 / 1478] CCryptoBoringSSL
[562 / 1478] CCryptoBoringSSL
[567 / 1478] CCryptoBoringSSL
[576 / 1478] CCryptoBoringSSL
[588 / 1478] CCryptoBoringSSL
[596 / 1478] CCryptoBoringSSL
[598 / 1478] CCryptoBoringSSL
[602 / 1478] CCryptoBoringSSL
[605 / 1478] CCryptoBoringSSL
[613 / 1478] CCryptoBoringSSL
[614 / 1478] CCryptoBoringSSL
[619 / 1478] CCryptoBoringSSL
[620 / 1478] CCryptoBoringSSL
[622 / 1478] CCryptoBoringSSL
[623 / 1478] CCryptoBoringSSL
[626 / 1478] CCryptoBoringSSL
[629 / 1478] CCryptoBoringSSL
[632 / 1478] CCryptoBoringSSL
[633 / 1478] CCryptoBoringSSL
[635 / 1478] CCryptoBoringSSL
[636 / 1478] CCryptoBoringSSL
[639 / 1478] CCryptoBoringSSL
[642 / 1478] CCryptoBoringSSL
[648 / 1478] CCryptoBoringSSL
[653 / 1478] CCryptoBoringSSL
[658 / 1478] CCryptoBoringSSL
[662 / 1478] CCryptoBoringSSL
[667 / 1478] CCryptoBoringSSL
[671 / 1478] CCryptoBoringSSL
[674 / 1478] CCryptoBoringSSL
[683 / 1478] CCryptoBoringSSL
[693 / 1478] CCryptoBoringSSL
[698 / 1478] CCryptoBoringSSL
[706 / 1478] CCryptoBoringSSL
[710 / 1478] CCryptoBoringSSL
[711 / 1478] CCryptoBoringSSL
[712 / 1478] CCryptoBoringSSL
[719 / 1478] CCryptoBoringSSL
[724 / 1478] CCryptoBoringSSL
[727 / 1478] CCryptoBoringSSL
[729 / 1478] CCryptoBoringSSL
[732 / 1478] CCryptoBoringSSL
[734 / 1478] CCryptoBoringSSL
[738 / 1478] CCryptoBoringSSL
[742 / 1478] CCryptoBoringSSL
[744 / 1478] CCryptoBoringSSL
[746 / 1478] CCryptoBoringSSL
[752 / 1478] CCryptoBoringSSL
[760 / 1478] CCryptoBoringSSL
[767 / 1478] CCryptoBoringSSL
[769 / 1478] CCryptoBoringSSL
[772 / 1478] CCryptoBoringSSL
[776 / 1478] CCryptoBoringSSL
[779 / 1478] CCryptoBoringSSL
[781 / 1478] CCryptoBoringSSL
[782 / 1478] CCryptoBoringSSL
[785 / 1478] CCryptoBoringSSL
[786 / 1478] CCryptoBoringSSL
[793 / 1478] CCryptoBoringSSL
[802 / 1478] CCryptoBoringSSL
[810 / 1478] CCryptoBoringSSL
[815 / 1478] CCryptoBoringSSL
[816 / 1478] CCryptoBoringSSL
[818 / 1478] CCryptoBoringSSL
[821 / 1478] CCryptoBoringSSL
[822 / 1478] CCryptoBoringSSL
[824 / 1478] CCryptoBoringSSL
[825 / 1478] CCryptoBoringSSL
[827 / 1478] CCryptoBoringSSL
[829 / 1478] CCryptoBoringSSL
[839 / 1480] SwiftSyntax600
[850 / 1505] HeapModule
[853 / 1524] HashTreeCollections
[854 / 1532] HashTreeCollections
[856 / 1532] HeapModule
[858 / 1532] HeapModule
[860 / 1532] HeapModule
[865 / 1532] _RopeModule
[866 / 1532] _RopeModule
[874 / 1532] OrderedCollections
[879 / 1532] SwiftSyntax
[880 / 1532] SwiftSyntax
[880 / 1532] _RopeModule
[887 / 1532] SwiftSyntax
[889 / 1532] SwiftSyntax
[889 / 1532] _RopeModule
[890 / 1533] SwiftSyntax
[892 / 1533] SpanPreview
[897 / 1533] OrderedCollections
[897 / 1534] CCryptoBoringSSL
[900 / 1534] SpanPreview
[901 / 1534] OrderedCollections
[902 / 1534] OrderedCollections-product
[903 / 1534] OrderedCollections-product
[904 / 1534] OrderedCollections-product
[906 / 1534] OrderedCollections
[906 / 1534] Jinja
[907 / 1534] Jinja
[908 / 1534] HeapModule
[911 / 1534] HeapModule
[914 / 1535] HeapModule
[919 / 1536] HeapModule
[920 / 1536] HashTreeCollections
[923 / 1536] HashTreeCollections
[926 / 1536] SwiftSyntax
[932 / 1537]
[934 / 1546] SwiftParser
[935 / 1546] SwiftParser
[936 / 1546] SwiftParser
[937 / 1546] SwiftParser
[938 / 1546] SwiftParser
[944 / 1547] SwiftParser
[945 / 1547] SwiftParser
[946 / 1547] SwiftParser
[951 / 1560] ComplexModule
[952 / 1569] Crypto
[953 / 1569] ComplexModule
[960 / 1578] BitCollections
[961 / 1587] ArgumentParser
[963 / 1588] SwiftParser
[971 / 1588] Crypto
[971 / 1588] ArgumentParser
[982 / 1588] Crypto
[983 / 1588] Crypto
[984 / 1588] HuggingFace
[985 / 1588] HuggingFace
[987 / 1588] ComplexModule
[988 / 1588] ComplexModule
[989 / 1588] ComplexModule
[990 / 1588] Numerics
[993 / 1588] ComplexModule
[998 / 1589] CCryptoBoringSSL
[1002 / 1590] ComplexModule
[1004 / 1590] ComplexModule
[1006 / 1590] BitCollections
[1006 / 1590] SwiftSyntax
[1008 / 1590] ArgumentParser
[1009 / 1590] ArgumentParser-product
[1011 / 1590] BitCollections
[1012 / 1591] encuda-product
[1016 / 1591] ArgumentParser
[1017 / 1592]
[1022 / 1619] SwiftBasicFormat
[1025 / 1619] DequeModule
[1032 / 1628] SwiftDiagnostics
[1035 / 1628] SwiftBasicFormat
[1041 / 1628] Jinja
[1050 / 1628] SwiftParserDiagnostics
[1052 / 1628] SwiftBasicFormat
[1053 / 1628] ArgumentParser
[1054 / 1629] Jinja
[1058 / 1630] SwiftDiagnostics
[1060 / 1631] SwiftBasicFormat
[1061 / 1631] Jinja
[1063 / 1631] Jinja-product
[1064 / 1631] InternalCollectionsUtilities
[1065 / 1631] Jinja
[1068 / 1631] SpanPreview
[1069 / 1631] OrderedCollections
[1073 / 1631] HashTreeCollections
[1075 / 1632] Jinja
[1081 / 1632] DequeModule
[1088 / 1633]
[1091 / 1639] encuda-product
[1091 / 1639] DequeModule
[1094 / 1639] encuda-product
[1096 / 1640]
[1098 / 1650] Numerics
[1102 / 1652] Numerics
[1109 / 1652] SwiftParserDiagnostics
[1117 / 1653] encuda-product
[1119 / 1653] SwiftParserDiagnostics
[1121 / 1653] Numerics
[1123 / 1655] Numerics
[1126 / 1664] SpanPreview
[1128 / 1665] DequeModule
[1128 / 1665] SwiftParserDiagnostics
[1130 / 1665] HuggingFace
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/ChatCompletion.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ChatCompletion.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/FeatureExtraction.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile FeatureExtraction.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile InferenceClient.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Message.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Message.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Provider.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Provider.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/SpeechToText.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SpeechToText.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/TextToImage.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile TextToImage.swift
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: [1;31merror: [1;39mFileLock is only supported on Darwin and Linux (Glibc) platforms.[0;0m
[0;36m6 |[0;0m import Glibc
[0;36m7 |[0;0m #else
[0;36m8 |[0;0m #error([4;39m"FileLock is only supported on Darwin and Linux (Glibc) platforms."[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mFileLock is only supported on Darwin and Linux (Glibc) platforms.[0;0m
[0;36m9 |[0;0m #endif
[0;36m10 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/AccessRequest.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Billing.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Bucket.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Collection.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/CommaSeparatedList.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Dataset.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Discussion.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/File.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Git.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubCache.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Buckets.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Collections.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Datasets.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Discussions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Git.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Models.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+OAuth.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Organizations.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Pagination.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Papers.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Repos.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Spaces.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+User.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Model.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/OAuth.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Organization.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Pagination.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Paper.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Repo.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/ResourceGroup.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Space.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Tags.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/User.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/XetDownloadProgress.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/ChatCompletion.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/FeatureExtraction.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Message.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Provider.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/SpeechToText.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/TextToImage.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/TextToVideo.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/OAuth/HuggingFaceAuthenticationManager.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/OAuth/OAuthClient.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/OAuth/TokenStorage.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/Data+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/JSONDecoder+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/URL+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/URLSession+Linux.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/HTTPClient.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/MultipartBuilder.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/TokenProvider.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Value.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/supplementaryOutputs-86 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -user-module-version 0.11.0 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HuggingFace -package-name swift_huggingface -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/HuggingFace_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/ChatCompletion.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/FeatureExtraction.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/InferenceClient.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/Message.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/Provider.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/SpeechToText.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/TextToImage.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/ChatCompletion.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/FeatureExtraction.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/InferenceClient.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/Message.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/Provider.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/SpeechToText.o -index-unit-output-path /swift-huggingface.build/Debug-android-aarch64/HuggingFace-t.build/Objects-normal/aarch64/TextToImage.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android