Build Information
Failed to build Gymnazo, reference main (4b961c), with Swift 6.3 for Wasm on 30 Sep 2026 22:09:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justindal/Gymnazo.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/justindal/Gymnazo
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4b961c4 fix: harden training correctness
Submodule path 'Vendor/Box2D': checked out '8c661469c9507d3ad6fbd2fea3f1aa71669c2fe3'
Submodule 'Vendor/Box2D' (https://github.com/erincatto/box2d.git) registered for path 'Vendor/Box2D'
Cloning into '/host/spi-builder-workspace/Vendor/Box2D'...
Cloned https://github.com/justindal/Gymnazo.git
Revision (git rev-parse @):
4b961c4541479f829d2dad723c342bd41cc54526
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/justindal/Gymnazo.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/justindal/Gymnazo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/apple/swift-docc-plugin
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/apple/swift-collections.git
[1/2345] Fetching swift-docc-plugin
[2346/30413] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
[281/28068] Fetching swift-collections
[5896/45107] Fetching swift-collections, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (1.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.88s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.32.3 (0.29s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6651] Fetching swift-numerics
[3660/25661] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics from cache (0.61s)
[761/19010] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.28s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.91s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3832] 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
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.32.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
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] Emitting module ArgumentParserToolInfo
[6/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Compiling ArgumentParser Name.swift
[10/59] Compiling ArgumentParser Parsed.swift
[11/59] Compiling ArgumentParser ParsedValues.swift
[12/59] Compiling ArgumentParser ParserError.swift
[13/59] Compiling ArgumentParser SplitArguments.swift
[14/59] Compiling ArgumentParser DumpHelpGenerator.swift
[15/65] Compiling ArgumentParser ArgumentVisibility.swift
[16/65] Compiling ArgumentParser CompletionKind.swift
[17/65] Compiling ArgumentParser Errors.swift
[18/65] Compiling ArgumentParser Flag.swift
[19/65] Compiling ArgumentParser NameSpecification.swift
[20/65] Compiling ArgumentParser Option.swift
[21/65] Compiling ArgumentParser OptionGroup.swift
[22/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[23/65] Compiling ArgumentParser CodingKeyValidator.swift
[24/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[25/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[26/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[27/65] Compiling ArgumentParser UniqueNamesValidator.swift
[28/65] Compiling ArgumentParser ParsableCommand.swift
[29/65] Compiling ArgumentParser ArgumentDecoder.swift
[30/65] Compiling ArgumentParser ArgumentDefinition.swift
[31/65] Compiling ArgumentParser ArgumentSet.swift
[32/65] Compiling ArgumentParser CommandParser.swift
[33/65] Compiling ArgumentParser InputKey.swift
[34/65] Compiling ArgumentParser InputOrigin.swift
[35/65] Compiling ArgumentParser ParentCommand.swift
[36/65] Compiling ArgumentParser AsyncParsableCommand.swift
[37/65] Compiling ArgumentParser CommandConfiguration.swift
[38/65] Compiling ArgumentParser CommandGroup.swift
[39/65] Compiling ArgumentParser EnumerableFlag.swift
[40/65] Compiling ArgumentParser ExpressibleByArgument.swift
[41/65] Compiling ArgumentParser ParsableArguments.swift
[42/65] Emitting module ArgumentParser
[43/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/65] Compiling ArgumentParser CompletionsGenerator.swift
[45/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[46/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[47/65] Compiling ArgumentParser Argument.swift
[48/65] Compiling ArgumentParser ArgumentDiscussion.swift
[49/65] Compiling ArgumentParser ArgumentHelp.swift
[50/65] Compiling ArgumentParser Mutex.swift
[51/65] Compiling ArgumentParser Platform.swift
[52/65] Compiling ArgumentParser SequenceExtensions.swift
[53/65] Compiling ArgumentParser StringExtensions.swift
[54/65] Compiling ArgumentParser SwiftExtensions.swift
[55/65] Compiling ArgumentParser Tree.swift
[56/65] Compiling ArgumentParser HelpCommand.swift
[57/65] Compiling ArgumentParser HelpGenerator.swift
[58/65] Compiling ArgumentParser MessageInfo.swift
[59/65] Compiling ArgumentParser UsageGenerator.swift
[60/65] Compiling ArgumentParser CollectionExtensions.swift
[61/65] Compiling ArgumentParser Foundation.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Emitting module encuda
[65/72] Compiling encuda encuda.swift
[66/72] Compiling encuda encuda-utils.swift
[67/72] Compiling encuda encuda-compile.swift
[68/72] Compiling encuda encuda-link.swift
[69/72] Compiling encuda encuda-error.swift
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
[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/470] Compiling aabb.c
[5/470] Write sources
[9/470] Compiling bitset.c
[10/470] Write sources
[11/470] Compiling arena_allocator.c
[11/470] Compiling array.c
[11/470] Write sources
[22/470] Copying stool.png
[23/470] Copying ice.png
[24/470] Copying hole.png
[25/470] Copying goal.png
[26/470] Copying elf_up.png
[27/470] Copying elf_right.png
[28/470] Copying elf_left.png
[29/470] Copying elf_down.png
[30/470] Write sources
[31/470] Copying cracked_hole.png
[31/470] Write sources
[37/470] Compiling cLogSupport cLogSupport.c
[38/470] Compiling _NumericsShims _NumericsShims.c
[39/470] Write swift-version-24593BA9C3E375BF.txt
[40/470] Compiling version.cpp
[41/470] Compiling distance_joint.c
[42/470] Compiling contact.c
[43/470] Compiling body.c
[45/497] Emitting module InternalCollectionsUtilities
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:17:5: error: no matching function for call to 'atomic_store'
17 | std::atomic_store(&message_, std::move(msg));
| ^~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:491:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
491 | _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:496:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
496 | _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:21:16: error: no matching function for call to 'atomic_load'
21 | auto msg = std::atomic_load(&message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:28:21: error: no matching function for call to 'atomic_load'
28 | Message msg = std::atomic_load(&ptr->message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:39:16: error: no matching function for call to 'atomic_exchange'
39 | auto msg = std::atomic_exchange(&message_, {});
| ^~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:545:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
545 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:550:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
550 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:9:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:73:8: error: no type named 'shared_mutex' in namespace 'std'
73 | std::shared_mutex threads_mtx_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:74:8: error: no type named 'condition_variable' in namespace 'std'
74 | std::condition_variable completion_cv;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:75:8: error: no type named 'mutex' in namespace 'std'
75 | std::mutex mtx;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:38:28: error: no member named 'mutex' in namespace 'std'
38 | std::lock_guard<std::mutex> lk(mtx);
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:46:28: error: no member named 'mutex' in namespace 'std'
46 | std::lock_guard<std::mutex> lk(mtx);
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:57:27: error: no member named 'mutex' in namespace 'std'
57 | std::unique_lock<std::mutex> lk(mtx);
| ^~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:16:36: error: no member named 'promise' in namespace 'std'
16 | auto p = std::make_shared<std::promise<void>>();
| ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:16:48: error: expected '(' for function-style cast or type construction
16 | auto p = std::make_shared<std::promise<void>>();
| ~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:16:51: error: expected expression
16 | auto p = std::make_shared<std::promise<void>>();
| ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:17:10: error: no member named 'future' in namespace 'std'
17 | std::future<void> f = p->get_future();
| ^~~~~~
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:17:21: error: expected '(' for function-style cast or type construction
17 | std::future<void> f = p->get_future();
| ~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:17:23: error: use of undeclared identifier 'f'
17 | std::future<void> f = p->get_future();
| ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:19:5: error: use of undeclared identifier 'f'
19 | f.wait();
| ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:43:8: error: no type named 'mutex' in namespace 'std'
43 | std::mutex mtx;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:45:8: error: no type named 'condition_variable' in namespace 'std'
45 | std::condition_variable cond;
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[45/499] Compiling scheduler.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.cpp:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/dtype_utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:17:5: error: no matching function for call to 'atomic_store'
17 | std::atomic_store(&message_, std::move(msg));
| ^~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:491:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
491 | _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:496:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
496 | _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.cpp:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/dtype_utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:21:16: error: no matching function for call to 'atomic_load'
21 | auto msg = std::atomic_load(&message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.cpp:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/dtype_utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:28:21: error: no matching function for call to 'atomic_load'
28 | Message msg = std::atomic_load(&ptr->message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.cpp:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/dtype_utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:39:16: error: no matching function for call to 'atomic_exchange'
39 | auto msg = std::atomic_exchange(&message_, {});
| ^~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:545:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
545 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:550:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
550 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.cpp:129:37: error: no member named 'this_thread' in namespace 'std'
129 | static auto main_thread_id = std::this_thread::get_id();
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/utils.cpp:130:33: error: no member named 'this_thread' in namespace 'std'
130 | return main_thread_id == std::this_thread::get_id();
| ~~~~~^
[45/499] Compiling utils.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:17:5: error: no matching function for call to 'atomic_store'
17 | std::atomic_store(&message_, std::move(msg));
| ^~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:491:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
491 | _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:496:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
496 | _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:21:16: error: no matching function for call to 'atomic_load'
21 | auto msg = std::atomic_load(&message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:28:21: error: no matching function for call to 'atomic_load'
28 | Message msg = std::atomic_load(&ptr->message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:39:16: error: no matching function for call to 'atomic_exchange'
39 | auto msg = std::atomic_exchange(&message_, {});
| ^~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:545:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
545 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:550:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
550 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
[45/499] Compiling stream.cpp
[45/499] Compiling primitives.cpp
[45/499] Compiling random.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/transforms.cpp:12:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:17:5: error: no matching function for call to 'atomic_store'
17 | std::atomic_store(&message_, std::move(msg));
| ^~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:491:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
491 | _LIBCPP_HIDE_FROM_ABI void atomic_store(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:496:28: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
496 | _LIBCPP_HIDE_FROM_ABI void atomic_store(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/transforms.cpp:12:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:21:16: error: no matching function for call to 'atomic_load'
21 | auto msg = std::atomic_load(&message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/transforms.cpp:12:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:28:21: error: no matching function for call to 'atomic_load'
28 | Message msg = std::atomic_load(&ptr->message_);
| ^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const volatile atomic<_Tp>* __o) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load(const atomic<_Tp>* __o) _NOEXCEPT {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/transforms.cpp:12:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:39:16: error: no matching function for call to 'atomic_exchange'
39 | auto msg = std::atomic_exchange(&message_, {});
| ^~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:545:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
545 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:550:27: note: candidate template ignored: could not match 'atomic' against 'shared_ptr'
550 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __d) _NOEXCEPT {
| ^
[45/499] Compiling transforms.cpp
BUILD FAILURE 6.3 wasm