Build Information
Failed to build Gymnazo, reference v0.13.0 (a9eec7), with Swift 6.4 for Wasm on 26 Sep 2026 18:27:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justindal/Gymnazo.git
Reference: v0.13.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/justindal/Gymnazo
* tag v0.13.0 -> FETCH_HEAD
HEAD is now at a9eec72 docs: update typed api guides
Submodule path 'Vendor/Box2D': checked out '8c661469c9507d3ad6fbd2fea3f1aa71669c2fe3'
Submodule 'Vendor/Box2D' (https://github.com/erincatto/box2d.git) registered for path 'Vendor/Box2D'
Cloning into '/host/spi-builder-workspace/Vendor/Box2D'...
Cloned https://github.com/justindal/Gymnazo.git
Revision (git rev-parse @):
a9eec72feaeaa92579a60d22777e16a6be5a9b26
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/justindal/Gymnazo.git at v0.13.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/justindal/Gymnazo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ml-explore/mlx-swift
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.55s)
[1/27779] Fetching swift-collections
[5835/44716] Fetching swift-collections, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (1.27s)
Fetched https://github.com/apple/swift-collections.git (1.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.60s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (0.29s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
[865/25586] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.76s)
Fetched https://github.com/apple/swift-argument-parser (0.77s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.94s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.11s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
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.6
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 829]
[Planning deferred tasks]
[Constructing 499 / 2111]
[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 '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'
[41 / 674] _NumericsShims
[145 / 678] ArgumentParserToolInfo
[151 / 697] Box2D
[154 / 697] Box2D
[155 / 697] Box2D
[160 / 697] Box2D
[166 / 697] Box2D
[170 / 697] Box2D
[173 / 697] Box2D
[176 / 697] Box2D
[180 / 697] Box2D
[185 / 697] Box2D
[194 / 697] RealModule
[196 / 697] RealModule
[197 / 697] InternalCollectionsUtilities
[200 / 697] InternalCollectionsUtilities
[205 / 697] InternalCollectionsUtilities
[206 / 697] _RopeModule
[210 / 697] InternalCollectionsUtilities
[211 / 697] HeapModule
[213 / 698] ArgumentParser
[215 / 699] _NumericsShims
[218 / 708] _RopeModule
[219 / 708] InternalCollectionsUtilities
[220 / 708] _RopeModule
[222 / 708] _RopeModule
[223 / 709] _RopeModule
[224 / 709] _RopeModule
[224 / 709] _NumericsShims
[228 / 710] OrderedCollections
[230 / 721] HeapModule
[232 / 728] HeapModule
[233 / 737] HashTreeCollections
[234 / 737] OrderedCollections
[235 / 737] HeapModule
[236 / 737] _RopeModule
[247 / 737] _RopeModule
[249 / 737] OrderedCollections
[250 / 737] OrderedCollections
[251 / 737] OrderedCollections
[252 / 737] OrderedCollections
[254 / 737] OrderedCollections
[258 / 737] OrderedCollections
[260 / 738] _RopeModule
[261 / 738] HeapModule
[262 / 739] _RopeModule
[264 / 739] HeapModule
[266 / 739] HashTreeCollections
[268 / 739] HashTreeCollections
[269 / 739] HashTreeCollections
[270 / 740] HeapModule
[272 / 740] HeapModule
[274 / 741] OrderedCollections
[275 / 741] HashTreeCollections
[276 / 741] OrderedCollections
[280 / 744] BitCollections
[282 / 762] ComplexModule
[283 / 771] BitCollections
[284 / 771] DequeModule
[287 / 771] ComplexModule
[291 / 771] HashTreeCollections
[293 / 771] HashTreeCollections
[299 / 771] HashTreeCollections
[304 / 771] BitCollections
[312 / 771] ComplexModule
[313 / 771] Numerics
[316 / 771] ComplexModule
[317 / 771] ComplexModule
[318 / 771] ComplexModule
[319 / 771] ComplexModule
[321 / 771] BitCollections
[323 / 772] HashTreeCollections
[326 / 772] HashTreeCollections
[327 / 772] ComplexModule
[329 / 773] ComplexModule
[330 / 774] DequeModule
[332 / 774] DequeModule
[338 / 775] Numerics
[340 / 777] Numerics
[341 / 777] Numerics
[347 / 778] Numerics
[352 / 778]
[353 / 779] BitCollections
[356 / 780]
[363 / 791] ArgumentParser
[365 / 791] Collections
[366 / 792] Collections
[371 / 792] Collections-product
[373 / 792] Collections-product
[374 / 793] Collections-product
[383 / 793] BitCollections
[384 / 795] encuda-product
[386 / 800] encuda-product
[387 / 800] encuda-product
[389 / 800] encuda-product
[391 / 800] encuda-product
[391 / 800] Box2D-product
[392 / 800] encuda-product
[395 / 801] ArgumentParser
[398 / 802] ArgumentParser
[399 / 802] encuda-product
[410 / 803] Cmlx
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/distributed/utils.cpp:3:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
3 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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