Build Information
Failed to build Qwen3Speech, reference main (dcd299), with Swift 6.3 for Wasm on 30 Apr 2026 01:34:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soniqo/speech-swift.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/soniqo/speech-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dcd2994 Merge pull request #226 from soniqo/feat/align-preserve-punctuation
Cloned https://github.com/soniqo/speech-swift.git
Revision (git rev-parse @):
dcd29942ee7fc2e1b60994ba70debf0a01d6a1b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/soniqo/speech-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/soniqo/speech-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
[1/6242] Fetching swift-transformers
[438/9499] Fetching swift-transformers, hummingbird-websocket
[3695/26985] Fetching swift-transformers, hummingbird-websocket, swift-argument-parser
[3870/41214] Fetching swift-transformers, hummingbird-websocket, swift-argument-parser, mlx-swift
[4965/67824] Fetching swift-transformers, hummingbird-websocket, swift-argument-parser, mlx-swift, hummingbird
Fetched https://github.com/huggingface/swift-transformers from cache (2.27s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.27s)
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (2.29s)
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (2.50s)
Fetched https://github.com/ml-explore/mlx-swift from cache (2.51s)
Computing version for https://github.com/hummingbird-project/hummingbird-websocket.git
Computed https://github.com/hummingbird-project/hummingbird-websocket.git at 2.6.0 (3.03s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/hummingbird-project/swift-websocket.git
[1/841] Fetching swift-websocket
[842/7360] Fetching swift-websocket, swift-nio-extras
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (0.31s)
[261/6519] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.58s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (1.19s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/3194] Fetching swift-metrics
[3195/5945] Fetching swift-metrics, swift-service-lifecycle
[5809/21385] Fetching swift-metrics, swift-service-lifecycle, swift-nio-ssl
[6101/28187] Fetching swift-metrics, swift-service-lifecycle, swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.44s)
[5076/24993] Fetching swift-service-lifecycle, swift-nio-ssl, swift-log
Fetching https://github.com/apple/swift-http-types.git
[9299/40742] Fetching swift-service-lifecycle, swift-nio-ssl, swift-log, async-http-client
[16117/41785] Fetching swift-service-lifecycle, swift-nio-ssl, swift-log, async-http-client, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[23348/40742] Fetching swift-service-lifecycle, swift-nio-ssl, swift-log, async-http-client
Fetching https://github.com/apple/swift-atomics.git
[31171/42562] Fetching swift-service-lifecycle, swift-nio-ssl, swift-log, async-http-client, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.75s)
Fetching https://github.com/apple/swift-nio-http2.git
[36265/40742] Fetching swift-service-lifecycle, swift-nio-ssl, swift-log, async-http-client
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.84s)
Fetched https://github.com/apple/swift-log.git from cache (1.85s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/swift-server/async-http-client.git from cache (1.86s)
Fetching https://github.com/apple/swift-collections.git
[11272/15440] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-distributed-tracing.git
[12199/27548] Fetching swift-nio-ssl, swift-nio-http2
[16453/33328] Fetching swift-nio-ssl, swift-nio-http2, swift-distributed-tracing
[18109/57138] Fetching swift-nio-ssl, swift-nio-http2, swift-distributed-tracing, swift-collections
[18442/63383] Fetching swift-nio-ssl, swift-nio-http2, swift-distributed-tracing, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.08s)
[28196/57603] Fetching swift-nio-ssl, swift-nio-http2, swift-collections, swift-async-algorithms
Fetching https://github.com/apple/swift-nio-transport-services.git
[36410/60450] Fetching swift-nio-ssl, swift-nio-http2, swift-collections, swift-async-algorithms, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.84s)
[39508/57603] Fetching swift-nio-ssl, swift-nio-http2, swift-collections, swift-async-algorithms
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.76s)
[33592/42163] Fetching swift-nio-http2, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.39s)
[25293/30055] Fetching swift-collections, swift-async-algorithms
[30056/113266] Fetching swift-collections, swift-async-algorithms, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (4.12s)
[30467/107021] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (4.16s)
[7489/83211] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.21s)
Computing version for https://github.com/hummingbird-project/swift-websocket.git
Computed https://github.com/hummingbird-project/swift-websocket.git at 1.5.0 (13.32s)
Fetching https://github.com/adam-fowler/compress-nio.git
[1/643] Fetching compress-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (0.23s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.4.2 (0.62s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.62s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1242] Fetching swift-http-structured-headers
[821/3045] Fetching swift-http-structured-headers, swift-asn1
[2902/9103] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[3349/16369] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.30s)
[2168/15127] Fetching swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.47s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.93s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.75s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.37s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.43s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.42s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.43s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (0.45s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
[1/2340] Fetching swift-huggingface
[376/3391] Fetching swift-huggingface, swift-jinja
[3392/20848] Fetching swift-huggingface, swift-jinja, swift-crypto
[3567/25291] Fetching swift-huggingface, swift-jinja, swift-crypto, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.39s)
[5835/20848] Fetching swift-huggingface, swift-jinja, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (2.74s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (2.74s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.77s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (3.18s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.40s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.64s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.3 (0.49s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.71s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (1.06s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.45s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.1 (0.38s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (1.46s)
Fetching https://github.com/apple/swift-service-context.git
[1/1287] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.24s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.43s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (0.60s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (1.63s)
Fetching https://github.com/apple/swift-configuration.git
[1/3252] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (2.56s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (4.80s)
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.4.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.9.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
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.0
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.0
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.16.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/hummingbird-project/swift-websocket.git
Working copy of https://github.com/hummingbird-project/swift-websocket.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.1
Creating working copy for https://github.com/hummingbird-project/hummingbird-websocket.git
Working copy of https://github.com/hummingbird-project/hummingbird-websocket.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.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.6.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.0
Downloading binary artifact https://github.com/soniqo/speech-core/releases/download/v0.0.5/SpeechCore.xcframework.zip
[863/484446] Downloading https://github.com/soniqo/speech-core/releases/download/v0.0.5/SpeechCore.xcframework.zip
Downloaded https://github.com/soniqo/speech-core/releases/download/v0.0.5/SpeechCore.xcframework.zip (0.40s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/705] Write sources
[5/705] Copying gpt2_tokenizer_config.json
[6/705] Copying t5_tokenizer_config.json
[7/705] Write sources
[20/705] Compiling _CWASI _CWASI.c
[21/705] Compiling _NumericsShims _NumericsShims.c
[22/705] Copying Resources
[23/705] Write sources
[26/705] Compiling _AtomicsShims.c
[27/705] Write sources
[35/705] Write swift-version-24593BA9C3E375BF.txt
[36/705] Write sources
[60/752] Emitting module ServiceContextModule
[61/752] Emitting module InternalCollectionsUtilities
[62/754] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[63/754] Compiling InternalCollectionsUtilities UInt+reversed.swift
[64/755] Compiling RealModule RelaxedArithmetic.swift
[65/755] Compiling InternalCollectionsUtilities _SortedCollection.swift
[66/755] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[67/755] Compiling RealModule RealFunctions.swift
[68/755] Emitting module SpeechUI
[69/755] Compiling SpeechUI SpeechUI.swift
[70/755] Compiling InternalCollectionsUtilities Integer rank.swift
[73/755] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[74/755] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[75/755] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[76/755] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/755] Compiling ServiceContextModule ServiceContextKey.swift
[78/755] Compiling ServiceContextModule ServiceContext.swift
[79/756] Emitting module RealModule
[80/756] Compiling SpeechUI TranscriptionView.swift
[81/756] Compiling RealModule Float80+Real.swift
[82/756] Compiling InternalCollectionsUtilities Debugging.swift
[83/756] Compiling InternalCollectionsUtilities Descriptions.swift
[84/756] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[85/756] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[86/756] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[87/756] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[88/756] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[89/756] Compiling InternalCollectionsUtilities Span+Extras.swift
[90/756] Compiling InternalCollectionsUtilities String+Padding.swift
[91/756] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[92/757] Compiling RealModule Real.swift
[93/757] Compiling RealModule Float16+Real.swift
[94/757] Compiling _NIODataStructures _TinyArray.swift
[97/757] Compiling Logging LogHandler.swift
[98/757] Compiling Logging LogEvent.swift
[99/757] Compiling Logging MetadataProvider.swift
[103/759] Emitting module Logging
[104/759] Compiling Logging Locks.swift
[105/759] Compiling _NIODataStructures PriorityQueue.swift
[108/759] Emitting module _NIOBase64
[109/759] Compiling _NIOBase64 Base64.swift
[111/760] Emitting module _NIODataStructures
[112/760] Compiling _NIODataStructures Heap.swift
[115/761] Compiling Logging Logging.swift
[116/762] Wrapping AST for ServiceContextModule for debugging
[117/762] Wrapping AST for _NIODataStructures for debugging
[118/763] Wrapping AST for RealModule for debugging
[119/763] Wrapping AST for _NIOBase64 for debugging
[120/763] Wrapping AST for Logging for debugging
[121/764] Wrapping AST for InternalCollectionsUtilities for debugging
[122/764] Write sources
[135/787] Compiling Instrumentation Locks.swift
[136/787] Compiling Instrumentation InstrumentationSystem.swift
[137/787] Compiling Instrumentation Instrument.swift
[138/787] Emitting module Instrumentation
[139/787] Compiling Instrumentation MultiplexInstrument.swift
[140/787] Compiling Instrumentation NoOpInstrument.swift
[140/787] Write sources
[147/1024] Compiling HeapModule _HeapNode.swift
[148/1024] Compiling CoreMetrics WithMetricsFactory.swift
[149/1024] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[150/1024] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[151/1024] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[152/1024] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[153/1024] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[154/1024] Compiling ContainersPreview Producer+Map.swift
[155/1024] Compiling ContainersPreview Producer+Reduce.swift
[156/1024] Compiling ContainersPreview Producer.swift
[157/1024] Compiling ContainersPreview Borrow.swift
[158/1024] Compiling HeapModule Heap.swift
[159/1028] Compiling CoreMetrics Locks.swift
[160/1028] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[161/1028] Compiling ContainersPreview BorrowingSequence.swift
[162/1028] Compiling ContainersPreview BidirectionalContainer.swift
[163/1028] Compiling ContainersPreview Container+Filter.swift
[164/1028] Compiling ContainersPreview Container+SpanwiseZip.swift
[165/1028] Compiling ContainersPreview Drain+Reduce.swift
[166/1028] Compiling ContainersPreview Drain.swift
[167/1028] Compiling ContainersPreview Producer+Collect.swift
[168/1028] Compiling ContainersPreview Producer+Filter.swift
[169/1028] Compiling ContainersPreview RandomAccessContainer.swift
[170/1028] Compiling ContainersPreview RangeExpression2.swift
[171/1028] Compiling ContainersPreview RangeReplaceableContainer.swift
[172/1028] Compiling ContainersPreview Drain+Map.swift
[173/1028] Compiling ContainersPreview Container.swift
[174/1028] Compiling ContainersPreview ContainerIterator.swift
[175/1028] Compiling ContainersPreview DynamicContainer.swift
[176/1028] Compiling ContainersPreview MutableContainer.swift
[177/1028] Compiling ContainersPreview PermutableContainer.swift
[178/1028] Compiling ContainersPreview Box.swift
[179/1028] Compiling ContainersPreview Inout.swift
[180/1028] Compiling ContainersPreview InputSpan.swift
[181/1028] Compiling ContainersPreview Shared.swift
[182/1028] Compiling HeapModule Heap+Invariants.swift
[183/1028] Compiling HeapModule Heap+Descriptions.swift
[184/1028] Compiling HeapModule Heap+UnsafeHandle.swift
[185/1028] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[186/1028] Emitting module ContainersPreview
[187/1028] Emitting module HeapModule
[188/1029] Compiling ContainersPreview OutputSpan+Extras.swift
[189/1029] Compiling ContainersPreview TemporaryAllocation.swift
[190/1029] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[191/1029] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[192/1029] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[195/1038] Emitting module CoreMetrics
[196/1078] Compiling DequeModule UniqueDeque+Consumption.swift
[197/1078] Compiling DequeModule UniqueDeque+Container.swift
[198/1078] Compiling DequeModule UniqueDeque+Descriptions.swift
[199/1078] Compiling DequeModule UniqueDeque+Equatable.swift
[200/1078] Compiling DequeModule UniqueDeque+Experimental.swift
[201/1078] Compiling DequeModule RigidDeque+Removals.swift
[202/1078] Compiling DequeModule RigidDeque+Replacements.swift
[203/1085] Compiling Tracing InstrumentationSystem+Tracing.swift
[204/1085] Compiling DequeModule RigidDeque+Insertions.swift
[205/1085] Compiling DequeModule RigidDeque+Prepend.swift
[206/1085] Compiling DequeModule _DequeBuffer.swift
[207/1085] Compiling DequeModule _DequeBufferHeader.swift
[208/1085] Compiling DequeModule RigidDeque+Append.swift
[209/1085] Compiling DequeModule RigidDeque+Consumption.swift
[210/1085] Compiling DequeModule RigidDeque+Container.swift
[211/1085] Compiling DequeModule RigidDeque+Descriptions.swift
[212/1085] Compiling DequeModule Deque+Testing.swift
[213/1085] Compiling DequeModule Deque._Storage.swift
[214/1085] Compiling DequeModule Deque._UnsafeHandle.swift
[215/1085] Compiling DequeModule Deque.swift
[216/1085] Compiling DequeModule RigidDeque+Equatable.swift
[217/1085] Compiling DequeModule RigidDeque+Experimental.swift
[218/1085] Compiling DequeModule RigidDeque+Hashable.swift
[219/1085] Compiling DequeModule RigidDeque+Initializers.swift
[220/1085] Compiling Tracing TracingTime.swift
[226/1085] Emitting module Tracing
[238/1090] Compiling Tracing TracerProtocol.swift
[239/1100] Compiling DequeModule UniqueDeque+Append.swift
[240/1100] Compiling DequeModule UniqueDeque+Hashable.swift
[241/1100] Compiling DequeModule UniqueDeque+Initializers.swift
[242/1100] Compiling DequeModule UniqueDeque+Insertions.swift
[243/1100] Compiling DequeModule UniqueDeque+Prepend.swift
[244/1100] Compiling DequeModule UniqueDeque+Removals.swift
[245/1100] Compiling DequeModule UniqueDeque+Replacements.swift
[246/1100] Compiling DequeModule UniqueDeque.swift
[247/1100] Compiling DequeModule _DequeSlot.swift
[248/1100] Compiling DequeModule _UnsafeDequeHandle.swift
[249/1100] Compiling _RopeModule BigString+Summary.swift
[250/1100] Compiling _RopeModule BigString.swift
[251/1100] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[252/1100] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[253/1100] Compiling _RopeModule BigString+Chunk+Character.swift
[254/1100] Compiling _RopeModule BigString+Chunk+Counts.swift
[255/1100] Compiling _RopeModule BigString+Chunk+Description.swift
[260/1100] Compiling DequeModule _UnsafeDequeSegments.swift
[261/1100] Compiling _RopeModule BigString+Ingester.swift
[262/1100] Compiling _RopeModule BigString+Invariants.swift
[263/1100] Compiling _RopeModule BigString+Metrics.swift
[264/1100] Compiling Tracing TracerProtocol+Legacy.swift
[265/1100] Compiling Tracing Tracer.swift
[266/1100] Compiling DequeModule RigidDeque+Testing.swift
[267/1100] Compiling DequeModule RigidDeque.swift
[306/1109] Compiling Tracing NoOpTracer.swift
[307/1109] Compiling Tracing SpanProtocol.swift
[308/1110] Compiling DequeModule Deque+Codable.swift
[309/1110] Compiling DequeModule Deque+Collection.swift
[310/1110] Compiling DequeModule Deque+CustomReflectable.swift
[311/1110] Compiling DequeModule Deque+Descriptions.swift
[312/1110] Compiling DequeModule Deque+Equatable.swift
[313/1110] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[314/1110] Compiling DequeModule Deque+Extras.swift
[315/1110] Compiling DequeModule Deque+Hashable.swift
[317/1110] Compiling CoreMetrics Metrics.swift
[318/1110] Compiling CoreMetrics MappingMetricsFactory.swift
[319/1111] Wrapping AST for Tracing for debugging
[321/1111] Compiling _RopeModule String Utilities.swift
[322/1111] Compiling _RopeModule String.Index+ABI.swift
[323/1111] Compiling _RopeModule _CharacterRecognizer.swift
[324/1111] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[325/1111] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[326/1111] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[327/1111] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[328/1111] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[329/1111] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[330/1111] Compiling HashTreeCollections TreeSet.swift
[330/1111] Wrapping AST for Instrumentation for debugging
[332/1111] Emitting module OrderedCollections
[332/1113] Wrapping AST for HeapModule for debugging
[343/1113] Wrapping AST for CoreMetrics for debugging
[344/1113] Wrapping AST for ContainersPreview for debugging
[345/1113] Write sources
[348/1115] Compiling HTTPTypes ISOLatin1String.swift
[349/1117] Compiling ConcurrencyHelpers LockedValueBox.swift
[350/1117] Compiling HTTPTypes HTTPParsedFields.swift
[361/1117] Compiling _RopeModule Rope+Append.swift
[362/1117] Compiling _RopeModule Rope+Extract.swift
[363/1117] Compiling _RopeModule Rope+Find.swift
[364/1117] Compiling _RopeModule Rope+ForEachWhile.swift
[365/1117] Compiling _RopeModule Rope+Insert.swift
[366/1117] Compiling _RopeModule Rope+Join.swift
[367/1117] Compiling _RopeModule Rope+MutatingForEach.swift
[368/1117] Compiling _RopeModule Rope+Remove.swift
[369/1117] Compiling _RopeModule Rope+RemoveSubrange.swift
[370/1117] Compiling _RopeModule Rope+Split.swift
[371/1117] Compiling _RopeModule Optional Utilities.swift
[384/1117] Compiling OrderedCollections _UnsafeBitset.swift
[385/1117] Compiling _RopeModule Rope+Collection.swift
[386/1117] Compiling _RopeModule Rope+Index.swift
[387/1117] Compiling _RopeModule Rope+Sequence.swift
[393/1117] Compiling OrderedCollections OrderedSet+Sendable.swift
[394/1117] Compiling OrderedCollections OrderedSet+SubSequence.swift
[395/1117] Compiling OrderedCollections OrderedSet+Testing.swift
[396/1117] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[397/1117] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[398/1117] Compiling OrderedCollections OrderedSet.swift
[411/1118] Compiling HTTPTypes NIOLock.swift
[412/1118] Compiling ConcurrencyHelpers Lock.swift
[413/1118] Emitting module ConcurrencyHelpers
[414/1121] Emitting module _RopeModule
[416/1144] Compiling HTTPTypes HTTPRequest.swift
[417/1144] Compiling Jinja Filters.swift
[418/1144] Compiling Jinja Globals.swift
[419/1144] Compiling HTTPTypes HTTPRequest+URL.swift
[420/1144] Compiling HTTPTypes HTTPResponse.swift
[421/1145] Compiling ComplexModule Polar.swift
[422/1145] Compiling Jinja AST.swift
[423/1145] Compiling Jinja Error.swift
[426/1145] Compiling Jinja Interpreter.swift
[427/1145] Compiling Jinja Lexer.swift
[428/1145] Compiling Jinja Macro.swift
[429/1145] Compiling Jinja Parser.swift
[430/1145] Compiling Jinja PropertyMembers.swift
[431/1145] Compiling Jinja Template.swift
[432/1145] Compiling Jinja Tests.swift
[433/1145] Compiling ComplexModule Complex+StringConvertible.swift
[434/1145] Compiling ComplexModule Complex.swift
[435/1145] Compiling ComplexModule Complex+Numeric.swift
[440/1145] Compiling ComplexModule Scale.swift
[441/1145] Emitting module ComplexModule
[485/1149] Emitting module UnixSignals
[486/1149] Emitting module Metrics
[487/1149] Compiling Metrics Metrics.swift
[488/1150] Compiling UnixSignals UnixSignal.swift
[489/1150] Compiling UnixSignals UnixSignalsSequence.swift
[501/1153] Wrapping AST for OrderedCollections for debugging
[503/1153] Emitting module Numerics
[504/1153] Compiling Numerics Numerics.swift
[505/1154] Wrapping AST for UnixSignals for debugging
[506/1154] Wrapping AST for Metrics for debugging
[507/1154] Wrapping AST for ConcurrencyHelpers for debugging
[508/1154] Wrapping AST for Numerics for debugging
[509/1154] Write sources
[511/1154] Compiling Jinja Utilities.swift
[511/1155] Wrapping AST for ComplexModule for debugging
[512/1155] Compiling version.cpp
[523/1156] Wrapping AST for _RopeModule for debugging
[525/1156] Emitting module DequeModule
[526/1156] Emitting module HashTreeCollections
[533/1158] Emitting module HTTPTypes
[536/1158] Compiling HTTPTypes HTTPFields.swift
[540/1159] Wrapping AST for HashTreeCollections for debugging
[542/1159] Compiling Jinja Value.swift
[542/1159] Wrapping AST for DequeModule for debugging
[545/1159] Wrapping AST for HTTPTypes for debugging
[548/1159] Compiling Jinja Token.swift
[550/1159] 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.
[551/1159] Compiling scheduler.cpp
[551/1159] Compiling linalg.cpp
[551/1159] Compiling ops.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);
| ^~~~~
[551/1159] Compiling random.cpp
[552/1159] Emitting module Jinja
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/transforms.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;
| ~~~~~^
/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);
| ^~~~~
[552/1159] Compiling primitives.cpp
[552/1159] Compiling transforms.cpp
[554/1159] Compiling yyjson.c
BUILD FAILURE 6.3 wasm