The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build executorch, reference main (897b0d), with Swift 6.2 (beta) for Wasm on 13 Sep 2025 09:11:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pytorch/executorch.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/pytorch/executorch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 897b0d5 Reapply "[Windows] Run native unit tests in CI (#13923)"
Submodule path 'backends/arm/third-party/ethos-u-core-driver': checked out '7bf44c54527e718b99d588ce520cf2f96343adb1'
Submodule path 'backends/cadence/utils/FACTO': checked out '1db37fc79d0d59638cbb794fa49d878aafc24461'
Submodule path 'backends/vulkan/third-party/Vulkan-Headers': checked out '10739e8e00a7b6f74d22dd0a547f1406ff1f5eb9'
Submodule path 'backends/vulkan/third-party/VulkanMemoryAllocator': checked out 'a6bfc237255a6bac1513f7c1ebde6d8aed6b5191'
Submodule path 'backends/vulkan/third-party/volk': checked out '49ba6858c13516019d699d94c31d5814025dd005'
Submodule path 'backends/xnnpack/third-party/FP16': checked out '4dfe081cf6bcd15db339cf2680b9281b8451eeb3'
Submodule path 'backends/xnnpack/third-party/FXdiv': checked out 'b408327ac2a15ec3e43352421954f5b1967701d1'
Submodule path 'backends/xnnpack/third-party/XNNPACK': checked out '3131afead790c5c69a9aa12273dfc40399789ad7'
Submodule path 'backends/xnnpack/third-party/cpuinfo': checked out '8a9210069b5a37dd89ed118a783945502a30a4ae'
Submodule path 'backends/xnnpack/third-party/pthreadpool': checked out 'c2ba5c50bb58d1397b693740cf75fad836a0d1bf'
Submodule path 'extension/llm/tokenizers': checked out '4ed91cc545e9ed7098e53747656eb7eff24eb305'
Submodule path 'extension/llm/tokenizers/third-party/abseil-cpp': checked out '7d96b2e93d9a84530748b68abd2f97595c51ecf4'
Submodule path 'extension/llm/tokenizers/third-party/json': checked out 'e6cafa573aac6ed9227f752a5371c0b3f436307d'
Submodule path 'extension/llm/tokenizers/third-party/pcre2': checked out '2e03e323339ab692640626f02f8d8d6f95bff9c6'
Submodule path 'extension/llm/tokenizers/third-party/pcre2/deps/sljit': checked out '98802d939be3f0ccc2c538d611ec4c728564e8cf'
Submodule path 'extension/llm/tokenizers/third-party/re2': checked out '6dcd83d60f7944926bfd308cc13979fc53dd69ca'
Submodule path 'extension/llm/tokenizers/third-party/sentencepiece': checked out 'd8f741853847553169444afc12c00f4bbff3e9ce'
Submodule path 'kernels/optimized/third-party/eigen': checked out '729443409942a1816ddf74b95224003b83f4925c'
Submodule path 'shim': checked out 'cf6a954aae4bee7b4515e13475878460115027d1'
Submodule path 'third-party/ao': checked out 'b99904b34c0fd98f8a63ec57cbc1dc4993f74793'
Submodule path 'third-party/ao/third_party/cutlass': checked out 'e51efbfe18fe4f4cbb66ab814c55bf4aa0185491'
Submodule path 'third-party/flatbuffers': checked out '595bf0007ab1929570c7671f091313c8fc20644e'
Submodule path 'third-party/flatcc': checked out '896db54787e8b730a6be482c69324751f3f5f117'
Submodule path 'third-party/gflags': checked out 'a738fdf9338412f83ab3f26f31ac11ed3f3ec4bd'
Submodule path 'third-party/googletest': checked out 'e2239ee6043f73722e7aa812a459f54a28552929'
Submodule path 'third-party/ios-cmake': checked out '06465b27698424cf4a04a5ca4904d50a3c966c45'
Submodule path 'third-party/json': checked out 'ac0133ea89a8fd730a9cc9649c5226a9995dc3e1'
Submodule path 'third-party/pocketfft': checked out '0fa0ef591e38c2758e3184c6c23e497b9f732ffa'
Submodule path 'third-party/prelude': checked out '48c249f8c7b99ff501d6e857754760315072b306'
Submodule path 'third-party/pybind11': checked out 'a2e59f0e7065404b44dfe92a28aca47ba1378dc4'
Submodule 'backends/arm/third-party/ethos-u-core-driver' (https://git.gitlab.arm.com/artificial-intelligence/ethos-u/ethos-u-core-driver.git) registered for path 'backends/arm/third-party/ethos-u-core-driver'
Submodule 'backends/cadence/utils/FACTO' (https://github.com/pytorch-labs/FACTO.git) registered for path 'backends/cadence/utils/FACTO'
Submodule 'backends/vulkan/third-party/Vulkan-Headers' (https://github.com/KhronosGroup/Vulkan-Headers) registered for path 'backends/vulkan/third-party/Vulkan-Headers'
Submodule 'backends/vulkan/third-party/VulkanMemoryAllocator' (https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git) registered for path 'backends/vulkan/third-party/VulkanMemoryAllocator'
Submodule 'backends/vulkan/third-party/volk' (https://github.com/zeux/volk) registered for path 'backends/vulkan/third-party/volk'
Submodule 'backends/xnnpack/third-party/FP16' (https://github.com/Maratyszcza/FP16.git) registered for path 'backends/xnnpack/third-party/FP16'
Submodule 'backends/xnnpack/third-party/FXdiv' (https://github.com/Maratyszcza/FXdiv.git) registered for path 'backends/xnnpack/third-party/FXdiv'
Submodule 'backends/xnnpack/third-party/XNNPACK' (https://github.com/google/XNNPACK.git) registered for path 'backends/xnnpack/third-party/XNNPACK'
Submodule 'backends/xnnpack/third-party/cpuinfo' (https://github.com/pytorch/cpuinfo.git) registered for path 'backends/xnnpack/third-party/cpuinfo'
Submodule 'backends/xnnpack/third-party/pthreadpool' (https://github.com/google/pthreadpool.git) registered for path 'backends/xnnpack/third-party/pthreadpool'
Submodule 'extension/llm/tokenizers' (https://github.com/meta-pytorch/tokenizers.git) registered for path 'extension/llm/tokenizers'
Submodule 'kernels/optimized/third-party/eigen' (https://gitlab.com/libeigen/eigen.git) registered for path 'kernels/optimized/third-party/eigen'
Submodule 'shim' (https://github.com/facebook/buck2-shims-meta) registered for path 'shim'
Submodule 'third-party/ao' (https://github.com/pytorch/ao.git) registered for path 'third-party/ao'
Submodule 'third-party/flatbuffers' (https://github.com/google/flatbuffers.git) registered for path 'third-party/flatbuffers'
Submodule 'third-party/flatcc' (https://github.com/dvidelabs/flatcc.git) registered for path 'third-party/flatcc'
Submodule 'third-party/gflags' (https://github.com/gflags/gflags.git) registered for path 'third-party/gflags'
Submodule 'third-party/googletest' (https://github.com/google/googletest.git) registered for path 'third-party/googletest'
Submodule 'third-party/ios-cmake' (https://github.com/leetal/ios-cmake) registered for path 'third-party/ios-cmake'
Submodule 'third-party/json' (https://github.com/nlohmann/json.git) registered for path 'third-party/json'
Submodule 'third-party/pocketfft' (https://github.com/mreineck/pocketfft) registered for path 'third-party/pocketfft'
Submodule 'third-party/prelude' (https://github.com/facebook/buck2-prelude.git) registered for path 'third-party/prelude'
Submodule 'third-party/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'third-party/pybind11'
Cloning into '/host/spi-builder-workspace/backends/arm/third-party/ethos-u-core-driver'...
Cloning into '/host/spi-builder-workspace/backends/cadence/utils/FACTO'...
Cloning into '/host/spi-builder-workspace/backends/vulkan/third-party/Vulkan-Headers'...
Cloning into '/host/spi-builder-workspace/backends/vulkan/third-party/VulkanMemoryAllocator'...
Cloning into '/host/spi-builder-workspace/backends/vulkan/third-party/volk'...
Cloning into '/host/spi-builder-workspace/backends/xnnpack/third-party/FP16'...
Cloning into '/host/spi-builder-workspace/backends/xnnpack/third-party/FXdiv'...
Cloning into '/host/spi-builder-workspace/backends/xnnpack/third-party/XNNPACK'...
Cloning into '/host/spi-builder-workspace/backends/xnnpack/third-party/cpuinfo'...
Cloning into '/host/spi-builder-workspace/backends/xnnpack/third-party/pthreadpool'...
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers'...
Cloning into '/host/spi-builder-workspace/kernels/optimized/third-party/eigen'...
Cloning into '/host/spi-builder-workspace/shim'...
Cloning into '/host/spi-builder-workspace/third-party/ao'...
Cloning into '/host/spi-builder-workspace/third-party/flatbuffers'...
Cloning into '/host/spi-builder-workspace/third-party/flatcc'...
Cloning into '/host/spi-builder-workspace/third-party/gflags'...
Cloning into '/host/spi-builder-workspace/third-party/googletest'...
Cloning into '/host/spi-builder-workspace/third-party/ios-cmake'...
Cloning into '/host/spi-builder-workspace/third-party/json'...
Cloning into '/host/spi-builder-workspace/third-party/pocketfft'...
Cloning into '/host/spi-builder-workspace/third-party/prelude'...
Cloning into '/host/spi-builder-workspace/third-party/pybind11'...
Submodule 'third-party/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'extension/llm/tokenizers/third-party/abseil-cpp'
Submodule 'third-party/json' (https://github.com/nlohmann/json.git) registered for path 'extension/llm/tokenizers/third-party/json'
Submodule 'third-party/pcre2' (https://github.com/PCRE2Project/pcre2.git) registered for path 'extension/llm/tokenizers/third-party/pcre2'
Submodule 'third-party/re2' (https://github.com/google/re2.git) registered for path 'extension/llm/tokenizers/third-party/re2'
Submodule 'third-party/sentencepiece' (https://github.com/google/sentencepiece.git) registered for path 'extension/llm/tokenizers/third-party/sentencepiece'
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers/third-party/abseil-cpp'...
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers/third-party/json'...
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers/third-party/pcre2'...
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers/third-party/re2'...
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers/third-party/sentencepiece'...
Submodule 'deps/sljit' (https://github.com/zherczeg/sljit.git) registered for path 'extension/llm/tokenizers/third-party/pcre2/deps/sljit'
Cloning into '/host/spi-builder-workspace/extension/llm/tokenizers/third-party/pcre2/deps/sljit'...
Submodule 'third_party/cutlass' (https://github.com/NVIDIA/cutlass) registered for path 'third-party/ao/third_party/cutlass'
Cloning into '/host/spi-builder-workspace/third-party/ao/third_party/cutlass'...
Cloned https://github.com/pytorch/executorch.git
Revision (git rev-parse @):
897b0d5f024ccfc8a238e52c61f42e3cb73d762e
SUCCESS checkout https://github.com/pytorch/executorch.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/pytorch/executorch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:104:11: warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
102 | var packageTargets: [Target] = []
103 |
104 | for (key, value) in targets {
    |           `- warning: immutable value 'value' was never used; consider replacing with '_' or removing it [#no-usage]
105 |   packageTargets.append(.binaryTarget(
106 |     name: key,
error: local binary target 'threadpool' at '/host/spi-builder-workspace/cmake-out/threadpool.xcframework' does not contain a binary artifact.
error: local binary target 'threadpool_debug' at '/host/spi-builder-workspace/cmake-out/threadpool_debug.xcframework' does not contain a binary artifact.
error: local binary target 'executorch_llm_debug' at '/host/spi-builder-workspace/cmake-out/executorch_llm_debug.xcframework' does not contain a binary artifact.
error: local binary target 'executorch' at '/host/spi-builder-workspace/cmake-out/executorch.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_torchao' at '/host/spi-builder-workspace/cmake-out/kernels_torchao.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_quantized_debug' at '/host/spi-builder-workspace/cmake-out/kernels_quantized_debug.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_quantized' at '/host/spi-builder-workspace/cmake-out/kernels_quantized.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_optimized' at '/host/spi-builder-workspace/cmake-out/kernels_optimized.xcframework' does not contain a binary artifact.
error: local binary target 'backend_mps_debug' at '/host/spi-builder-workspace/cmake-out/backend_mps_debug.xcframework' does not contain a binary artifact.
error: local binary target 'executorch_debug' at '/host/spi-builder-workspace/cmake-out/executorch_debug.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_torchao_debug' at '/host/spi-builder-workspace/cmake-out/kernels_torchao_debug.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_llm' at '/host/spi-builder-workspace/cmake-out/kernels_llm.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_optimized_debug' at '/host/spi-builder-workspace/cmake-out/kernels_optimized_debug.xcframework' does not contain a binary artifact.
error: local binary target 'backend_xnnpack' at '/host/spi-builder-workspace/cmake-out/backend_xnnpack.xcframework' does not contain a binary artifact.
error: local binary target 'backend_xnnpack_debug' at '/host/spi-builder-workspace/cmake-out/backend_xnnpack_debug.xcframework' does not contain a binary artifact.
error: local binary target 'executorch_llm' at '/host/spi-builder-workspace/cmake-out/executorch_llm.xcframework' does not contain a binary artifact.
error: local binary target 'backend_coreml_debug' at '/host/spi-builder-workspace/cmake-out/backend_coreml_debug.xcframework' does not contain a binary artifact.
error: local binary target 'kernels_llm_debug' at '/host/spi-builder-workspace/cmake-out/kernels_llm_debug.xcframework' does not contain a binary artifact.
error: local binary target 'backend_coreml' at '/host/spi-builder-workspace/cmake-out/backend_coreml.xcframework' does not contain a binary artifact.
error: local binary target 'backend_mps' at '/host/spi-builder-workspace/cmake-out/backend_mps.xcframework' does not contain a binary artifact.
BUILD FAILURE 6.2 wasm