The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SemanticSearch, reference main (e73483), with Swift 6.3 for Wasm on 14 Oct 2026 01:40:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewster99/swift-semantic-search.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/drewster99/swift-semantic-search
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e734834 0.1.0: load-race fixes, offline cached loads, public errors
Cloned https://github.com/drewster99/swift-semantic-search.git
Revision (git rev-parse @):
e734834a2ea39985d7619ce4293b98413b713bf5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/drewster99/swift-semantic-search.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/drewster99/swift-semantic-search.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/drewster99/mlx-swift
Fetching https://github.com/drewster99/mlx-swift-lm
Fetching https://github.com/huggingface/swift-transformers
[1/7273] Fetching swift-transformers
[874/11603] Fetching swift-transformers, mlx-swift-lm
[961/22697] Fetching swift-transformers, mlx-swift-lm, mlx-swift
Fetched https://github.com/drewster99/mlx-swift-lm from cache (0.72s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.72s)
[3218/11094] Fetching mlx-swift
Fetched https://github.com/drewster99/mlx-swift from cache (1.06s)
Computing version for https://github.com/drewster99/mlx-swift
Computed https://github.com/drewster99/mlx-swift at 0.31.7 (1.29s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/19114] Fetching swift-argument-parser
[575/25870] Fetching swift-argument-parser, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/drewster99/mlx-swift-lm
Computed https://github.com/drewster99/mlx-swift-lm at 2.31.4 (1.05s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.2.1 (0.17s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/18643] Fetching swift-crypto
[747/21663] Fetching swift-crypto, swift-huggingface
[2848/23045] Fetching swift-crypto, swift-huggingface, swift-jinja
[7200/28179] Fetching swift-crypto, swift-huggingface, swift-jinja, yyjson
[28180/56954] Fetching swift-crypto, swift-huggingface, swift-jinja, yyjson, swift-collections
Fetched https://github.com/ibireme/yyjson.git from cache (1.19s)
[23333/51820] Fetching swift-crypto, swift-huggingface, swift-jinja, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.80s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.80s)
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.82s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.69s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.14s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.16s)
Fetching https://github.com/mattt/EventSource.git
[1/314] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.34s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.50s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/2041] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.61s)
Creating working copy for https://github.com/drewster99/mlx-swift-lm
Working copy of https://github.com/drewster99/mlx-swift-lm resolved at 2.31.4
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.13.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.7.3
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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.2.1
Creating working copy for https://github.com/drewster99/mlx-swift
Working copy of https://github.com/drewster99/mlx-swift resolved at 0.31.7
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
[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 Name.swift
[18/65] Compiling ArgumentParser Parsed.swift
[19/65] Compiling ArgumentParser ParsedValues.swift
[20/65] Compiling ArgumentParser ParserError.swift
[21/65] Compiling ArgumentParser SplitArguments.swift
[22/65] Compiling ArgumentParser DumpHelpGenerator.swift
[23/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[24/65] Compiling ArgumentParser CodingKeyValidator.swift
[25/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[26/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[28/65] Compiling ArgumentParser UniqueNamesValidator.swift
[29/65] Compiling ArgumentParser ArgumentVisibility.swift
[30/65] Compiling ArgumentParser CompletionKind.swift
[31/65] Compiling ArgumentParser Errors.swift
[32/65] Compiling ArgumentParser Flag.swift
[33/65] Compiling ArgumentParser NameSpecification.swift
[34/65] Compiling ArgumentParser Option.swift
[35/65] Compiling ArgumentParser OptionGroup.swift
[36/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[37/65] Compiling ArgumentParser CompletionsGenerator.swift
[38/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[40/65] Compiling ArgumentParser Argument.swift
[41/65] Compiling ArgumentParser ArgumentDiscussion.swift
[42/65] Compiling ArgumentParser ArgumentHelp.swift
[43/65] Compiling ArgumentParser HelpCommand.swift
[44/65] Compiling ArgumentParser HelpGenerator.swift
[45/65] Compiling ArgumentParser MessageInfo.swift
[46/65] Compiling ArgumentParser UsageGenerator.swift
[47/65] Compiling ArgumentParser CollectionExtensions.swift
[48/65] Compiling ArgumentParser Foundation.swift
[49/65] Compiling ArgumentParser ParsableCommand.swift
[50/65] Compiling ArgumentParser ArgumentDecoder.swift
[51/65] Compiling ArgumentParser ArgumentDefinition.swift
[52/65] Compiling ArgumentParser ArgumentSet.swift
[53/65] Compiling ArgumentParser CommandParser.swift
[54/65] Compiling ArgumentParser InputKey.swift
[55/65] Compiling ArgumentParser InputOrigin.swift
[56/65] Compiling ArgumentParser Mutex.swift
[57/65] Compiling ArgumentParser Platform.swift
[58/65] Compiling ArgumentParser SequenceExtensions.swift
[59/65] Compiling ArgumentParser StringExtensions.swift
[60/65] Compiling ArgumentParser SwiftExtensions.swift
[61/65] Compiling ArgumentParser Tree.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-link.swift
[67/72] Emitting module encuda
[68/72] Compiling encuda encuda-error.swift
[69/72] Compiling encuda encuda-compile.swift
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
[1/1] Compiling plugin CudaBuild
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/770] Copying gpt2_tokenizer_config.json
[3/770] Copying t5_tokenizer_config.json
[5/770] Write sources
[29/770] Compiling _NumericsShims _NumericsShims.c
[30/770] Compiling version.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:3:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:19:8: error: no type named 'mutex' in namespace 'std'
   19 |   std::mutex mtx;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:21:8: error: no type named 'condition_variable' in namespace 'std'
   21 |   std::condition_variable cond;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:23:8: error: no type named 'thread' in namespace 'std'
   23 |   std::thread thread;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:29:28: error: no member named 'mutex' in namespace 'std'
   29 |       std::lock_guard<std::mutex> lk(mtx);
      |                            ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:40:31: error: no member named 'mutex' in namespace 'std'
   40 |         std::unique_lock<std::mutex> lk(mtx);
      |                               ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:56:28: error: no member named 'mutex' in namespace 'std'
   56 |       std::lock_guard<std::mutex> lk(mtx);
      |                            ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:160:8: error: no type named 'condition_variable' in namespace 'std'
  160 |   std::condition_variable completion_cv;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:161:8: error: no type named 'mutex' in namespace 'std'
  161 |   std::mutex mtx;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:112:28: error: no member named 'mutex' in namespace 'std'
  112 |       std::lock_guard<std::mutex> lk(mtx);
      |                            ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:120:28: error: no member named 'mutex' in namespace 'std'
  120 |       std::lock_guard<std::mutex> lk(mtx);
      |                            ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:131:27: error: no member named 'mutex' in namespace 'std'
  131 |     std::unique_lock<std::mutex> lk(mtx);
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:47:36: error: no member named 'promise' in namespace 'std'
   47 |     auto p = std::make_shared<std::promise<void>>();
      |                                    ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:47:48: error: expected '(' for function-style cast or type construction
   47 |     auto p = std::make_shared<std::promise<void>>();
      |                                            ~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:47:51: error: expected expression
   47 |     auto p = std::make_shared<std::promise<void>>();
      |                                                   ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:48:10: error: no member named 'future' in namespace 'std'
   48 |     std::future<void> f = p->get_future();
      |          ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:48:21: error: expected '(' for function-style cast or type construction
   48 |     std::future<void> f = p->get_future();
      |                 ~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:48:23: error: use of undeclared identifier 'f'
   48 |     std::future<void> f = p->get_future();
      |                       ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:50:5: error: use of undeclared identifier 'f'
   50 |     f.wait();
      |     ^
18 errors generated.
[31/770] Compiling scheduler.cpp
[31/770] Compiling transforms.cpp
[31/770] Compiling primitives.cpp
[31/770] Compiling random.cpp
[31/770] Compiling utils.cpp
[31/770] Compiling ops.cpp
[31/770] Compiling yyjson.c
[31/770] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm