The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-index, reference v0.6.1 (8a8abc), with Swift 6.3 for Wasm on 29 Sep 2026 13:11:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/swift-index.git
Reference: v0.6.1
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/alexey1312/swift-index
 * tag               v0.6.1     -> FETCH_HEAD
HEAD is now at 8a8abc5 fix: stop MLX embedding stalls and crashes on Ctrl-C
Cloned https://github.com/alexey1312/swift-index.git
Revision (git rev-parse @):
8a8abc542afbacf629f0ca596099021844cad90d
SUCCESS checkout https://github.com/alexey1312/swift-index.git at v0.6.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/alexey1312/swift-index.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/swift-yyjson.git
Fetching https://github.com/toon-format/toon-swift.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora.git
[1/970] Fetching toon-swift
[554/9135] Fetching toon-swift, swift-log
[1543/28826] Fetching toon-swift, swift-log, noora
[11567/47774] Fetching toon-swift, swift-log, noora, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.68s)
[12934/39609] Fetching toon-swift, noora, swift-argument-parser
Fetching https://github.com/mattt/swift-toml.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.91s)
Fetching https://github.com/groue/GRDB.swift.git
[10029/21217] Fetching toon-swift, noora, swift-yyjson
[10497/107419] Fetching toon-swift, noora, swift-yyjson, swift-nio
Fetched https://github.com/mattt/swift-yyjson.git from cache (1.12s)
[11753/106863] Fetching toon-swift, noora, swift-nio
Fetching https://github.com/apple/swift-crypto.git
[13478/107194] Fetching toon-swift, noora, swift-nio, swift-toml
Fetched https://github.com/mattt/swift-toml.git from cache (0.52s)
Fetching https://github.com/jkrukowski/swift-embeddings.git
[16063/106863] Fetching toon-swift, noora, swift-nio
[64503/125436] Fetching toon-swift, noora, swift-nio, swift-crypto
[64504/239493] Fetching toon-swift, noora, swift-nio, swift-crypto, grdb.swift
[80503/240327] Fetching toon-swift, noora, swift-nio, swift-crypto, grdb.swift, swift-embeddings
Fetched https://github.com/jkrukowski/swift-embeddings.git from cache (0.56s)
Fetching https://github.com/tree-sitter/swift-tree-sitter.git
[82969/239493] Fetching toon-swift, noora, swift-nio, swift-crypto, grdb.swift
[146979/241245] Fetching toon-swift, noora, swift-nio, swift-crypto, grdb.swift, swift-tree-sitter
Fetched https://github.com/tree-sitter/swift-tree-sitter.git from cache (0.73s)
[149102/239493] Fetching toon-swift, noora, swift-nio, swift-crypto, grdb.swift
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-crypto.git from cache (1.97s)
[140252/220920] Fetching toon-swift, noora, swift-nio, grdb.swift
Fetching https://github.com/unum-cloud/usearch.git
[143363/248722] Fetching toon-swift, noora, swift-nio, grdb.swift, swift-collections
[164856/267235] Fetching toon-swift, noora, swift-nio, grdb.swift, swift-collections, usearch
Fetched https://github.com/toon-format/toon-swift.git from cache (3.87s)
[173518/266265] Fetching noora, swift-nio, grdb.swift, swift-collections, usearch
Fetching https://github.com/huggingface/swift-transformers.git
Fetched https://github.com/tuist/Noora.git from cache (4.03s)
Fetching https://github.com/ml-explore/mlx-swift.git
[165433/246574] Fetching swift-nio, grdb.swift, swift-collections, usearch
[175860/253630] Fetching swift-nio, grdb.swift, swift-collections, usearch, swift-transformers
Fetched https://github.com/apple/swift-collections.git from cache (2.05s)
Fetching https://github.com/swiftlang/swift-syntax.git
[150116/225828] Fetching swift-nio, grdb.swift, usearch, swift-transformers
Fetched https://github.com/unum-cloud/usearch.git from cache (1.60s)
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.01s)
[132966/200259] Fetching swift-nio, grdb.swift
Fetched https://github.com/apple/swift-nio.git from cache (5.01s)
[49045/114057] Fetching grdb.swift
[49046/131043] Fetching grdb.swift, mlx-swift
[74016/211125] Fetching grdb.swift, mlx-swift, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift.git from cache (1.81s)
[60233/194139] Fetching grdb.swift, swift-syntax
[168078/215601] Fetching grdb.swift, swift-syntax, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm.git from cache (3.85s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.95s)
Fetched https://github.com/groue/GRDB.swift.git from cache (13.42s)
Computing version for https://github.com/mattt/swift-yyjson.git
Computed https://github.com/mattt/swift-yyjson.git at 0.6.0 (14.52s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.93s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Computing version for https://github.com/mattt/swift-toml.git
Computed https://github.com/mattt/swift-toml.git at 2.0.0 (0.68s)
Computing version for https://github.com/unum-cloud/usearch.git
Computed https://github.com/unum-cloud/usearch.git at 2.26.2 (0.16s)
Fetching https://github.com/ashvardanian/NumKong
[1/32120] Fetching numkong
Fetched https://github.com/ashvardanian/NumKong from cache (2.92s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.11.1 (3.14s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.6 (0.16s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/1376] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.61s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 3.31.4 (0.80s)
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.21s)
Fetching https://github.com/apple/swift-numerics
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.88s)
Computing version for https://github.com/tree-sitter/swift-tree-sitter.git
Computed https://github.com/tree-sitter/swift-tree-sitter.git at 0.25.0 (3.16s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/72508] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (4.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (6.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.27s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
[1886/8871] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.80s)
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.98s)
Computing version for https://github.com/toon-format/toon-swift.git
Computed https://github.com/toon-format/toon-swift.git at 0.5.0 (0.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.23s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.57.1 (0.14s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/418] Fetching path
[93/1932] Fetching path, rainbow
Fetched https://github.com/tuist/path from cache (0.53s)
Fetched https://github.com/onevcat/Rainbow from cache (0.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.69s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.16s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.2 (0.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
Computing version for https://github.com/jkrukowski/swift-embeddings.git
Computed https://github.com/jkrukowski/swift-embeddings.git at 0.0.26 (0.14s)
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/jkrukowski/swift-safetensors.git
[1/90] Fetching swift-sentencepiece
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.57s)
[1/263] Fetching swift-safetensors
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.66s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (0.81s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (0.14s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.13s)
Computing version for https://github.com/ashvardanian/NumKong
Computed https://github.com/ashvardanian/NumKong at 7.8.3 (0.14s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (0.12s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.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.13s)
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.6
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.57.1
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.10
Creating working copy for https://github.com/ashvardanian/NumKong
Working copy of https://github.com/ashvardanian/NumKong resolved at 7.8.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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/mattt/swift-yyjson.git
Working copy of https://github.com/mattt/swift-yyjson.git resolved at 0.6.0
Creating working copy for https://github.com/toon-format/toon-swift.git
Working copy of https://github.com/toon-format/toon-swift.git resolved at 0.5.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.1
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.11.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/jkrukowski/swift-embeddings.git
Working copy of https://github.com/jkrukowski/swift-embeddings.git resolved at 0.0.26
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/unum-cloud/usearch.git
Working copy of https://github.com/unum-cloud/usearch.git resolved at 2.26.2
Creating working copy for https://github.com/tree-sitter/swift-tree-sitter.git
Working copy of https://github.com/tree-sitter/swift-tree-sitter.git resolved at 0.25.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/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.1.1
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 3.31.4
Creating working copy for https://github.com/mattt/swift-toml.git
Working copy of https://github.com/mattt/swift-toml.git resolved at 2.0.0
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
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.1
Creating working copy for https://github.com/jkrukowski/swift-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[16375/40026617] Downloading https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
Downloaded https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip (2.66s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.21s)
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/11] Emitting module ArgumentParserToolInfo
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Emitting module ArgumentParser
[10/65] Compiling ArgumentParser ParentCommand.swift
[11/65] Compiling ArgumentParser AsyncParsableCommand.swift
[12/65] Compiling ArgumentParser CommandConfiguration.swift
[13/65] Compiling ArgumentParser CommandGroup.swift
[14/65] Compiling ArgumentParser EnumerableFlag.swift
[15/65] Compiling ArgumentParser ExpressibleByArgument.swift
[16/65] Compiling ArgumentParser ParsableArguments.swift
[17/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[18/65] Compiling ArgumentParser CodingKeyValidator.swift
[19/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[20/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[21/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[22/65] Compiling ArgumentParser UniqueNamesValidator.swift
[23/65] Compiling ArgumentParser ArgumentVisibility.swift
[24/65] Compiling ArgumentParser CompletionKind.swift
[25/65] Compiling ArgumentParser Errors.swift
[26/65] Compiling ArgumentParser Flag.swift
[27/65] Compiling ArgumentParser NameSpecification.swift
[28/65] Compiling ArgumentParser Option.swift
[29/65] Compiling ArgumentParser OptionGroup.swift
[30/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/65] Compiling ArgumentParser CompletionsGenerator.swift
[32/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/65] Compiling ArgumentParser Argument.swift
[35/65] Compiling ArgumentParser ArgumentDiscussion.swift
[36/65] Compiling ArgumentParser ArgumentHelp.swift
[37/65] Compiling ArgumentParser Name.swift
[38/65] Compiling ArgumentParser Parsed.swift
[39/65] Compiling ArgumentParser ParsedValues.swift
[40/65] Compiling ArgumentParser ParserError.swift
[41/65] Compiling ArgumentParser SplitArguments.swift
[42/65] Compiling ArgumentParser DumpHelpGenerator.swift
[43/65] Compiling ArgumentParser Mutex.swift
[44/65] Compiling ArgumentParser Platform.swift
[45/65] Compiling ArgumentParser SequenceExtensions.swift
[46/65] Compiling ArgumentParser StringExtensions.swift
[47/65] Compiling ArgumentParser SwiftExtensions.swift
[48/65] Compiling ArgumentParser Tree.swift
[49/65] Compiling ArgumentParser HelpCommand.swift
[50/65] Compiling ArgumentParser HelpGenerator.swift
[51/65] Compiling ArgumentParser MessageInfo.swift
[52/65] Compiling ArgumentParser UsageGenerator.swift
[53/65] Compiling ArgumentParser CollectionExtensions.swift
[54/65] Compiling ArgumentParser Foundation.swift
[55/65] Compiling ArgumentParser ParsableCommand.swift
[56/65] Compiling ArgumentParser ArgumentDecoder.swift
[57/65] Compiling ArgumentParser ArgumentDefinition.swift
[58/65] Compiling ArgumentParser ArgumentSet.swift
[59/65] Compiling ArgumentParser CommandParser.swift
[60/65] Compiling ArgumentParser InputKey.swift
[61/65] Compiling ArgumentParser InputOrigin.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Compiling encuda encuda.swift
[65/72] Compiling encuda encuda-utils.swift
[66/72] Compiling encuda encuda-error.swift
[67/72] Emitting module encuda
[68/72] Compiling encuda encuda-compile.swift
[69/72] Compiling encuda encuda-link.swift
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin CudaBuild
Building for debugging...
[3/915] Write sources
[8/915] Copying gpt2_tokenizer_config.json
[9/915] Copying t5_tokenizer_config.json
[10/915] Write sources
[17/915] Compiling _NumericsShims _NumericsShims.c
[18/915] Compiling stdlib.c
[18/915] Compiling _AtomicsShims.c
[20/915] Compiling _SwiftSyntaxCShims PlatformMutex.c
[21/915] Compiling wasm_store.c
[22/915] Write swift-version-24593BA9C3E375BF.txt
[23/915] Compiling tree_cursor.c
[24/915] Compiling tree.c
[25/915] Compiling stack.c
[26/915] Compiling subtree.c
[27/921] Compiling parser.c
[28/930] Compiling node.c
[29/930] Compiling lexer.c
[30/930] Compiling language.c
[31/930] Compiling get_changed_ranges.c
[32/930] Wrapping AST for ArgumentParserToolInfo for debugging
[33/930] Compiling alloc.c
[34/930] Write sources
[35/930] Compiling query.c
[35/930] Write sources
[40/955] Emitting module SwiftSyntax601
[41/955] Emitting module SwiftTreeSitter
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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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, \
      |  ^
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:
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:788:18: error: no member named 'this_thread' in namespace 'std'
  788 |             std::this_thread::yield();
      |             ~~~~~^
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:1678:61: error: no member named 'thread' in namespace 'std'
 1678 |         : index_limits_t(n, (std::max<std::size_t>)(1, std::thread::hardware_concurrency())) {}
      |                                                        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:2106:63: error: use of undeclared identifier 'PROT_READ'
 2106 |         byte_t* file = (byte_t*)mmap(NULL, file_stat.st_size, PROT_READ, MAP_SHARED, descriptor, 0);
      |                                                               ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:2106:74: error: use of undeclared identifier 'MAP_SHARED'
 2106 |         byte_t* file = (byte_t*)mmap(NULL, file_stat.st_size, PROT_READ, MAP_SHARED, descriptor, 0);
      |                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:2107:21: error: use of undeclared identifier 'MAP_FAILED'
 2107 |         if (file == MAP_FAILED) {
      |                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:2131:9: error: use of undeclared identifier 'munmap'
 2131 |         munmap(ptr_, length_);
      |         ^~~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:2554:10: error: no type named 'mutex' in namespace 'std'
 2554 |     std::mutex global_mutex_{};
      |     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:3215:31: error: no member named 'mutex' in namespace 'std'
 3215 |         std::unique_lock<std::mutex> new_level_lock(global_mutex_);
      |                               ^~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:3362:35: error: no member named 'mutex' in namespace 'std'
 3362 |             std::unique_lock<std::mutex> new_level_lock(global_mutex_);
      |                                   ^~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:4927:10: error: no type named 'mutex' in namespace 'std'
 4927 |     std::mutex free_men_mutex{};
      |     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:4970:39: error: no member named 'mutex' in namespace 'std'
 4970 |                 std::unique_lock<std::mutex> pop_lock(free_men_mutex);
      |                                       ^~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:5026:43: error: no member named 'mutex' in namespace 'std'
 5026 |                     std::unique_lock<std::mutex> push_lock(free_men_mutex);
      |                                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index.hpp:5029:43: error: no member named 'mutex' in namespace 'std'
 5029 |                     std::unique_lock<std::mutex> push_lock(free_men_mutex);
      |                                           ^~~~~
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:12:
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index_plugins.hpp:1355:14: error: no type named 'thread' in namespace 'std'
 1355 |         std::thread native_;
      |         ~~~~~^
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index_plugins.hpp:1375:63: error: no member named 'thread' in namespace 'std'
 1375 |         : threads_count_(threads_count ? threads_count : std::thread::hardware_concurrency()) {}
      |                                                          ~~~~~^
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index_plugins.hpp:1628:48: error: use of undeclared identifier 'PROT_WRITE'
 1628 |         auto* result = mmap(NULL, count_bytes, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
      |                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index_plugins.hpp:1628:61: error: use of undeclared identifier 'PROT_READ'
 1628 |         auto* result = mmap(NULL, count_bytes, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
      |                                                             ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/usearch/include/usearch/index_plugins.hpp:1628:72: error: use of undeclared identifier 'MAP_PRIVATE'
 1628 |         auto* result = mmap(NULL, count_bytes, PROT_WRITE | PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
      |                                                                        ^~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[41/957] Compiling USearchC lib.cpp
[42/957] Emitting module SwiftSyntax603
[43/957] Emitting module _NIOBase64
BUILD FAILURE 6.3 wasm