The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TripoSR, reference main (5a18f8), with Swift 6.4 for Wasm on 30 Nov 2026 10:02:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/signalnotnoise/triposr-mlx-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/signalnotnoise/triposr-mlx-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5a18f88 Merge pull request #3 from signalnotnoise/docs/symbol-citations
Cloned https://github.com/signalnotnoise/triposr-mlx-swift.git
Revision (git rev-parse @):
5a18f882f6c0abd193f3c3635fcc830dd29fda01
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/signalnotnoise/triposr-mlx-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/signalnotnoise/triposr-mlx-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
3e24de779c8c: Pulling fs layer
a6818aac5d43: Pulling fs layer
53eb9ad063d2: Pulling fs layer
11c5b94f4dda: Pulling fs layer
a60ef8ec184e: Pulling fs layer
80abadb0e8f8: Pulling fs layer
55e527a783be: Pulling fs layer
36c236631f64: Pulling fs layer
9e6b6ce3ccef: Pulling fs layer
4482ec89724f: Pulling fs layer
1065e2d4f711: Pulling fs layer
3e24de779c8c: Download complete
53eb9ad063d2: Download complete
a60ef8ec184e: Download complete
55e527a783be: Download complete
80abadb0e8f8: Download complete
11c5b94f4dda: Download complete
1065e2d4f711: Download complete
9e6b6ce3ccef: Download complete
44136fa355b3: Already exists
4482ec89724f: Download complete
a60ef8ec184e: Pull complete
3af185f0bf52: Download complete
a6818aac5d43: Download complete
11c5b94f4dda: Pull complete
36c236631f64: Download complete
36c236631f64: Pull complete
4482ec89724f: Pull complete
80abadb0e8f8: Pull complete
53eb9ad063d2: Pull complete
1065e2d4f711: Pull complete
a6818aac5d43: Pull complete
55e527a783be: Pull complete
9e6b6ce3ccef: Pull complete
3e24de779c8c: Pull complete
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Downloaded newer image for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/17767] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (1.45s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (1.67s)
Fetching https://github.com/apple/swift-numerics
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.66s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.81s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.4
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 332]
[Finalizing plan]
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
[59 / 250] Cmlx
[66 / 259] RealModule
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/distributed/utils.cpp:3:10: fatal error: 'netdb.h' file not found
    3 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/utils-f408fd48bc6a5e8f7191c29aae6195ca6231d60401d98c44876cf3d54170a776.o /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/distributed/utils.cpp normal wasm32 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/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -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 -w -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 /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/utils-f408fd48bc6a5e8f7191c29aae6195ca6231d60401d98c44876cf3d54170a776.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/utils-f408fd48bc6a5e8f7191c29aae6195ca6231d60401d98c44876cf3d54170a776.dia -c /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/distributed/utils.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/utils-f408fd48bc6a5e8f7191c29aae6195ca6231d60401d98c44876cf3d54170a776.o
error: Build failed
BUILD FAILURE 6.4 wasm