The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Membrane, reference 0.1.3 (538bc2), with Swift 6.2 for Wasm on 27 Mar 2026 03:23:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/Membrane.git
Reference: 0.1.3
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/christopherkarani/Membrane
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at 538bc25 merge: release Membrane 0.1.3
Cloned https://github.com/christopherkarani/Membrane.git
Revision (git rev-parse @):
538bc256e95b44dc3c87a1fb1e40ce549df07af0
SUCCESS checkout https://github.com/christopherkarani/Membrane.git at 0.1.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/christopherkarani/Membrane.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/christopherkarani/Hive
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/christopherkarani/ContextCore.git
Fetching https://github.com/christopherkarani/Conduit
Fetching https://github.com/christopherkarani/Wax.git
[1/1879] Fetching hive
[95/36663] Fetching hive, wax
[96/37348] Fetching hive, wax, contextcore
[295/60318] Fetching hive, wax, contextcore, swift-collections
[2832/63571] Fetching hive, wax, contextcore, swift-collections, conduit
Fetched https://github.com/christopherkarani/Conduit from cache (1.73s)
Fetched https://github.com/christopherkarani/Hive from cache (1.73s)
[33743/58439] Fetching wax, contextcore, swift-collections
Fetched https://github.com/christopherkarani/ContextCore.git from cache (9.50s)
Fetched https://github.com/apple/swift-collections.git from cache (9.55s)
Fetched https://github.com/christopherkarani/Wax.git from cache (9.81s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (10.23s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/christopherkarani/MetalANNS.git
Fetching https://github.com/groue/GRDB.swift.git
Fetching https://github.com/unum-cloud/USearch.git
[1/1645] Fetching metalanns
[1646/18663] Fetching metalanns, usearch
[4710/35939] Fetching metalanns, usearch, swift-crypto
[20047/149572] Fetching metalanns, usearch, swift-crypto, grdb.swift
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (2.17s)
Fetched https://github.com/unum-cloud/USearch.git from cache (2.18s)
[49094/130909] Fetching swift-crypto, grdb.swift
Fetched https://github.com/apple/swift-crypto.git from cache (15.39s)
Fetched https://github.com/groue/GRDB.swift.git from cache (15.71s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.10 (16.27s)
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/6232] Fetching swift-transformers
[438/12492] Fetching swift-transformers, swift-log
[8754/87339] Fetching swift-transformers, swift-log, swift-syntax
Fetched https://github.com/huggingface/swift-transformers from cache (0.77s)
[15242/81107] Fetching swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (6.14s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.20s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (8.69s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (2.71s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (0.65s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.24.0 (0.39s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.95s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.00s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (0.69s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1026] Fetching swift-jinja
[2/3355] Fetching swift-jinja, swift-huggingface
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.33s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.34s)
[1/4407] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.21s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.65s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.38s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.21s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.56s)
Fetching https://github.com/apple/swift-nio.git
[1/82947] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.12s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (5.67s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.3 (0.33s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (0.53s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.07s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.73s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.40s)
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/unum-cloud/USearch.git
Working copy of https://github.com/unum-cloud/USearch.git resolved at 2.24.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/christopherkarani/Wax.git
Working copy of https://github.com/christopherkarani/Wax.git resolved at 0.1.19
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.10.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.4.1
Creating working copy for https://github.com/christopherkarani/Hive
Working copy of https://github.com/christopherkarani/Hive resolved at 0.1.9
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
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/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/christopherkarani/Conduit
Working copy of https://github.com/christopherkarani/Conduit resolved at 0.3.10
Creating working copy for https://github.com/christopherkarani/ContextCore.git
Working copy of https://github.com/christopherkarani/ContextCore.git resolved at 1.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.30s)
Building for debugging...
[0/447] Write sources
[0/447] Copying gpt2_tokenizer_config.json
[0/447] Copying t5_tokenizer_config.json
[0/447] Write sources
[0/447] Copying README.md
[34/447] Copying cl100k_base.tiktoken
[35/447] Write sources
[37/447] Compiling _AtomicsShims.c
[38/447] Compiling sha1-armv8-linux.S
[39/447] Copying TopKReduction.metal
[40/447] Copying CosineDistance.metal
[41/447] Copying bert_tokenizer_vocab.txt
[42/447] Compiling sha1-armv8-apple.S
[43/447] Write sources
[45/447] Copying Sort.metal
[46/447] Copying SearchFloat16.metal
[47/447] Copying Search.metal
[48/447] Copying PQDistance.metal
[49/447] Copying NNDescentFloat16.metal
[50/447] Copying NNDescent.metal
[50/447] Copying HammingDistance.metal
[50/447] Copying DistanceFloat16.metal
[53/447] Copying Distance.metal
[54/447] Copying PrivacyInfo.xcprivacy
[55/447] Copying Info.plist
[56/447] Write sources
[58/447] Copying placeholder.txt
[59/447] Copying Relevance.metal
[60/447] Compiling sha1-armv4-large-linux.S
[60/447] Copying Recency.metal
[62/447] Copying Consolidation.metal
[63/447] Copying Compression.metal
[64/447] Copying Attention.metal
[65/447] Write sources
[66/447] Compiling sha1-586-linux.S
[67/447] Compiling sha1-x86_64-linux.S
[68/447] Compiling CNIOWindows WSAStartup.c
[69/447] Compiling CNIOWindows shim.c
[70/447] Compiling CNIOWASI CNIOWASI.c
[71/447] Copying all-MiniLM-L6-v2.mlmodelc
[72/447] Compiling CNIOOpenBSD shim.c
[72/447] Compiling CNIOLinux shim.c
[72/447] Write swift-version-24593BA9C3E375BF.txt
[75/447] Compiling CNIOLinux liburing_shims.c
[76/447] Compiling CNIODarwin shim.c
[77/447] Compiling fiat_p256_adx_sqr.S
[79/452] Compiling _NIODataStructures Heap.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/453] Emitting module _NIODataStructures
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[81/453] Emitting module _NIOBase64
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[82/453] Compiling _NIOBase64 Base64.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift/embedded/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
In file included from /host/spi-builder-workspace/.build/checkouts/USearch/c/lib.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/USearch/include/usearch/index_dense.hpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/USearch/include/usearch/index.hpp:85:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
[82/453] Compiling USearchC lib.cpp
[82/453] Compiling yyjson.c
[82/453] Compiling c-nioatomics.c
[82/453] Compiling c-atomics.c
[82/453] Compiling CCryptoBoringSSLShims shims.c
BUILD FAILURE 6.2 wasm