The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cast, reference v0.1.0 (4243d1), with Swift 6.4 for Linux on 25 Sep 2026 10:16:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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:         linux
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-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[2229/30068] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/swiftlang/swift-docc-plugin (0.76s)
Fetching https://github.com/ml-explore/mlx-swift-lm.git
[1387/27723] Fetching swift-collections
Fetching https://github.com/huggingface/swift-transformers.git
[27724/34750] Fetching swift-collections, swift-transformers
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/petrukha-ivan/swift-json-schema.git
Fetching https://github.com/ml-explore/mlx-swift.git
Fetched https://github.com/huggingface/swift-transformers.git (0.98s)
[2/132] Fetching swift-json-schema
Fetched https://github.com/apple/swift-collections.git (2.25s)
[1/21178] Fetching mlx-swift-lm
[5084/38119] Fetching mlx-swift-lm, mlx-swift
[24355/118187] Fetching mlx-swift-lm, mlx-swift, swift-syntax
Fetched https://github.com/petrukha-ivan/swift-json-schema.git (1.91s)
Fetched https://github.com/ml-explore/mlx-swift.git (1.92s)
[41996/101246] Fetching mlx-swift-lm, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift-lm.git (3.49s)
[63254/80068] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.30s)
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.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.31s)
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.21s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.2.1 (0.17s)
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
[743/19925] Fetching swift-crypto, swift-jinja
[4160/24824] Fetching swift-crypto, swift-jinja, yyjson
[13043/27577] Fetching swift-crypto, swift-jinja, yyjson, swift-huggingface
Fetched https://github.com/huggingface/swift-jinja.git (1.09s)
[26016/26201] Fetching swift-crypto, yyjson, swift-huggingface
Fetched https://github.com/ibireme/yyjson.git (1.10s)
[21302/21302] Fetching swift-crypto, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git (1.31s)
Fetched https://github.com/apple/swift-crypto.git (1.33s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.53s)
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-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.64s)
[1/18941] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.93s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (1.12s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.53s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (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.81s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.17s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
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.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.72s)
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-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-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.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/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-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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/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/ml-explore/mlx-swift.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.31.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.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-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.2.1
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
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': 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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1803]
[Planning 1209 / 1803]
[Planning deferred tasks]
[Constructing 390 / 4595]
[Starting]
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 'x86_64'
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 'x86_64'
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 'x86_64'
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 'x86_64'
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 'x86_64'
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 'x86_64'
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 'x86_64'
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 'x86_64'
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 'x86_64'
[126 / 1420] SpanPreview
[335 / 1440] _SwiftSyntaxCShims
[341 / 1449] RealModule
[360 / 1449] RealModule
[362 / 1449] InternalCollectionsUtilities
[369 / 1449] RealModule
[376 / 1451] SwiftSyntax509
[378 / 1451] InternalCollectionsUtilities
[383 / 1451] InternalCollectionsUtilities
[384 / 1452] RealModule
[394 / 1455]
[397 / 1461] CryptoBoringWrapper
[399 / 1478] CryptoBoringWrapper
[403 / 1478] _RopeModule
[404 / 1479] _RopeModule
[404 / 1479] EventSource
[406 / 1479] _RopeModule
[407 / 1479] EventSource
[416 / 1479] CryptoBoringWrapper
[424 / 1479] CryptoBoringWrapper
[425 / 1479] CryptoBoringWrapper
[425 / 1479] _RopeModule
[429 / 1479] _RopeModule
[433 / 1479] _RopeModule
[435 / 1479] CryptoBoringWrapper
[438 / 1480] CXKCP
[443 / 1482] CMLXStructured
[445 / 1482] CMLXStructured
[446 / 1482] ArgumentParserToolInfo
[449 / 1483] CryptoBoringWrapper
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
In file included from /host/spi-builder-workspace/Sources/CMLXStructured/tokenizer_info.cpp:1:
In file included from /host/spi-builder-workspace/Sources/CMLXStructured/include/mlx_structured/error_handler.h:3:
In file included from /usr/include/stdio.h:38:
/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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cast.build/Debug-linux-x86_64/CMLXStructured-t.build/Objects-normal/x86_64/tokenizer_info-c01d3cdd6b5ea16db7eded6b4644b408d907d846bdf2db3249b37aea33be83c0.o /host/spi-builder-workspace/Sources/CMLXStructured/tokenizer_info.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cast.build/Debug-linux-x86_64/CMLXStructured-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Cast.build/Debug-linux-x86_64/CMLXStructured-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cast.build/Debug-linux-x86_64/CMLXStructured-t.build/Objects-normal/x86_64/tokenizer_info-c01d3cdd6b5ea16db7eded6b4644b408d907d846bdf2db3249b37aea33be83c0.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cast.build/Debug-linux-x86_64/CMLXStructured-t.build/Objects-normal/x86_64/tokenizer_info-c01d3cdd6b5ea16db7eded6b4644b408d907d846bdf2db3249b37aea33be83c0.dia -c /host/spi-builder-workspace/Sources/CMLXStructured/tokenizer_info.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cast.build/Debug-linux-x86_64/CMLXStructured-t.build/Objects-normal/x86_64/tokenizer_info-c01d3cdd6b5ea16db7eded6b4644b408d907d846bdf2db3249b37aea33be83c0.o
[455 / 1483] CMLXStructured
error: Build failed
BUILD FAILURE 6.4 linux