The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSci, reference v3.10.3 (29c8b2), with Swift 6.3 for Wasm on 3 Oct 2026 04:05:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nodibell/SwiftSci.git
Reference: v3.10.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/Nodibell/SwiftSci
 * tag               v3.10.3    -> FETCH_HEAD
HEAD is now at 29c8b2e docs: update domain table column headers in ACCURACY.md to v3.10.3
Cloned https://github.com/Nodibell/SwiftSci.git
Revision (git rev-parse @):
29c8b2e9072534938368e2505355f1673b5d457e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Nodibell/SwiftSci.git at v3.10.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Nodibell/SwiftSci.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/apache/arrow-swift.git
[1/2105] Fetching arrow-swift
[2/4450] Fetching arrow-swift, swift-docc-plugin
Fetched https://github.com/apache/arrow-swift.git from cache (0.48s)
[1501/2345] Fetching swift-docc-plugin
[2346/21355] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.52s)
[191/19010] Fetching swift-argument-parser
[19011/36050] Fetching swift-argument-parser, mlx-swift
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.09s)
[4601/17040] Fetching mlx-swift
Fetching https://github.com/google/flatbuffers.git
Fetched https://github.com/ml-explore/mlx-swift.git from cache (1.96s)
[1/98655] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (4.20s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.6 (6.38s)
Fetching https://github.com/apple/swift-numerics
[1/6658] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.02s)
Computing version for https://github.com/apache/arrow-swift.git
Computed https://github.com/apache/arrow-swift.git at 21.0.0 (1.19s)
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Computing version for https://github.com/google/flatbuffers.git
warning: 'flatbuffers': /Package.swift:23:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
21 |   name: "FlatBuffers",
22 |   platforms: [
23 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     .macOS(.v10_14),
25 |   ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/google/flatbuffers.git at 25.2.10 (0.63s)
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/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.14s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3833] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.54s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
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.15s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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/apache/arrow-swift.git
Working copy of https://github.com/apache/arrow-swift.git resolved at 21.0.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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at 25.2.10
warning: 'flatbuffers': /host/spi-builder-workspace/.build/checkouts/flatbuffers/Package.swift:23:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
21 |   name: "FlatBuffers",
22 |   platforms: [
23 |     .iOS(.v11),
   |           `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     .macOS(.v10_14),
25 |   ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module ArgumentParserToolInfo
[6/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Emitting module ArgumentParser
[10/65] Compiling ArgumentParser Mutex.swift
[11/65] Compiling ArgumentParser Platform.swift
[12/65] Compiling ArgumentParser SequenceExtensions.swift
[13/65] Compiling ArgumentParser StringExtensions.swift
[14/65] Compiling ArgumentParser SwiftExtensions.swift
[15/65] Compiling ArgumentParser Tree.swift
[16/65] Compiling ArgumentParser ParentCommand.swift
[17/65] Compiling ArgumentParser AsyncParsableCommand.swift
[18/65] Compiling ArgumentParser CommandConfiguration.swift
[19/65] Compiling ArgumentParser CommandGroup.swift
[20/65] Compiling ArgumentParser EnumerableFlag.swift
[21/65] Compiling ArgumentParser ExpressibleByArgument.swift
[22/65] Compiling ArgumentParser ParsableArguments.swift
[23/65] Compiling ArgumentParser Name.swift
[24/65] Compiling ArgumentParser Parsed.swift
[25/65] Compiling ArgumentParser ParsedValues.swift
[26/65] Compiling ArgumentParser ParserError.swift
[27/65] Compiling ArgumentParser SplitArguments.swift
[28/65] Compiling ArgumentParser DumpHelpGenerator.swift
[29/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/65] Compiling ArgumentParser CompletionsGenerator.swift
[31/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/65] Compiling ArgumentParser Argument.swift
[34/65] Compiling ArgumentParser ArgumentDiscussion.swift
[35/65] Compiling ArgumentParser ArgumentHelp.swift
[36/65] Compiling ArgumentParser ArgumentVisibility.swift
[37/65] Compiling ArgumentParser CompletionKind.swift
[38/65] Compiling ArgumentParser Errors.swift
[39/65] Compiling ArgumentParser Flag.swift
[40/65] Compiling ArgumentParser NameSpecification.swift
[41/65] Compiling ArgumentParser Option.swift
[42/65] Compiling ArgumentParser OptionGroup.swift
[43/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[44/65] Compiling ArgumentParser CodingKeyValidator.swift
[45/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[46/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[48/65] Compiling ArgumentParser UniqueNamesValidator.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] Compiling encuda encuda-link.swift
[68/72] Emitting module encuda
[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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SwiftLLM/Kernels/QuantizedGEMM.metal
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin CudaBuild
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/454] Write sources
[7/454] Copying SwiftVisualization.docc
[7/454] Copying SwiftVision.docc
[7/454] Copying SwiftStats.docc
[7/454] Copying SwiftPreprocessing.docc
[7/454] Copying SwiftOptimize.docc
[7/454] Copying SwiftNLP.docc
[7/454] Copying SwiftML.docc
[7/454] Copying SwiftForecast.docc
[7/454] Copying SwiftLLM.docc
[7/454] Write sources
[7/454] Copying SwiftExplain.docc
[7/454] Copying SwiftDatabase.docc
[7/454] Copying SwiftDataFrame.docc
[7/454] Copying SwiftCluster.docc
[7/454] Copying SwiftAgent.docc
[27/454] Write sources
[42/454] Compiling _NumericsShims _NumericsShims.c
[42/454] Compiling _AtomicsShims.c
[44/454] Write sources
[48/454] Compiling version.cpp
[49/454] Write swift-version-24593BA9C3E375BF.txt
[50/454] Compiling utils.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.
[51/456] Compiling scheduler.cpp
[51/456] Compiling ops.cpp
[51/456] Compiling transforms.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/linalg.cpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/primitives.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/io/load.h:16:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:40:15: error: no template named 'future' in namespace 'std'
   40 |       -> std::future<typename std::invoke_result_t<F, Args...>>;
      |          ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:48:20: error: no member named 'thread' in namespace 'std'
   48 |   std::vector<std::thread> workers;
      |                    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:50:8: error: no type named 'mutex' in namespace 'std'
   50 |   std::mutex queue_mutex;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:51:8: error: no type named 'condition_variable' in namespace 'std'
   51 |   std::condition_variable condition;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:61:13: error: no template named 'future' in namespace 'std'
   61 |     -> std::future<typename std::invoke_result_t<F, Args...>> {
      |        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:64:37: error: no member named 'packaged_task' in namespace 'std'
   64 |   auto task = std::make_shared<std::packaged_task<return_type()>>(
      |                                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:67:8: error: no member named 'future' in namespace 'std'
   67 |   std::future<return_type> res = task->get_future();
      |        ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:67:15: error: unexpected type name 'return_type': expected expression
   67 |   std::future<return_type> res = task->get_future();
      |               ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:67:28: error: use of undeclared identifier 'res'
   67 |   std::future<return_type> res = task->get_future();
      |                            ^~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:69:27: error: no member named 'mutex' in namespace 'std'
   69 |     std::unique_lock<std::mutex> lock(queue_mutex);
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:79:10: error: use of undeclared identifier 'res'
   79 |   return res;
      |          ^~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:100:27: error: no member named 'mutex' in namespace 'std'
  100 |     std::unique_lock<std::mutex> lock(queue_mutex);
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:104:13: error: no type named 'thread' in namespace 'std'
  104 |   for (std::thread& worker : workers) {
      |        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:120:33: error: no member named 'mutex' in namespace 'std'
  120 |           std::unique_lock<std::mutex> lock(this->queue_mutex);
      |                                 ^~~~~
[51/456] Compiling linalg.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/random.cpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/primitives.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/io/load.h:16:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:40:15: error: no template named 'future' in namespace 'std'
   40 |       -> std::future<typename std::invoke_result_t<F, Args...>>;
      |          ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:48:20: error: no member named 'thread' in namespace 'std'
   48 |   std::vector<std::thread> workers;
      |                    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:50:8: error: no type named 'mutex' in namespace 'std'
   50 |   std::mutex queue_mutex;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:51:8: error: no type named 'condition_variable' in namespace 'std'
   51 |   std::condition_variable condition;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:61:13: error: no template named 'future' in namespace 'std'
   61 |     -> std::future<typename std::invoke_result_t<F, Args...>> {
      |        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:64:37: error: no member named 'packaged_task' in namespace 'std'
   64 |   auto task = std::make_shared<std::packaged_task<return_type()>>(
      |                                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:67:8: error: no member named 'future' in namespace 'std'
   67 |   std::future<return_type> res = task->get_future();
      |        ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:67:15: error: unexpected type name 'return_type': expected expression
   67 |   std::future<return_type> res = task->get_future();
      |               ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:67:28: error: use of undeclared identifier 'res'
   67 |   std::future<return_type> res = task->get_future();
      |                            ^~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:69:27: error: no member named 'mutex' in namespace 'std'
   69 |     std::unique_lock<std::mutex> lock(queue_mutex);
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:79:10: error: use of undeclared identifier 'res'
   79 |   return res;
      |          ^~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:100:27: error: no member named 'mutex' in namespace 'std'
  100 |     std::unique_lock<std::mutex> lock(queue_mutex);
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:104:13: error: no type named 'thread' in namespace 'std'
  104 |   for (std::thread& worker : workers) {
      |        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:120:33: error: no member named 'mutex' in namespace 'std'
  120 |           std::unique_lock<std::mutex> lock(this->queue_mutex);
      |                                 ^~~~~
[51/456] Compiling safetensors.cpp
[51/456] Compiling random.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/primitives.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/primitives.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/io/load.h:16:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:40:15: error: no template named 'future' in namespace 'std'
   40 |       -> std::future<typename std::invoke_result_t<F, Args...>>;
      |          ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:48:20: error: no member named 'thread' in namespace 'std'
   48 |   std::vector<std::thread> workers;
      |                    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:50:8: error: no type named 'mutex' in namespace 'std'
   50 |   std::mutex queue_mutex;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/threadpool.h:51:8: error: no type named 'condition_variable' in namespace 'std'
   51 |   std::condition_variable condition;
      |   ~~~~~^
[51/456] Compiling primitives.cpp
BUILD FAILURE 6.3 wasm