Build Information
Failed to build MLXAudio, reference v0.2.1 (ff174a), with Swift 6.4 for Wasm on 20 Nov 2026 23:51:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-3":/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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Neywa-Labs/mlx-audio-swift.git
Reference: v0.2.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Neywa-Labs/mlx-audio-swift
* tag v0.2.1 -> FETCH_HEAD
HEAD is now at ff174ab Update package dependencies, fix warnings. (#414)
Cloned https://github.com/Neywa-Labs/mlx-audio-swift.git
Revision (git rev-parse @):
ff174ab2e961aa7516dedecf273be54c24b6426d
SUCCESS checkout https://github.com/Neywa-Labs/mlx-audio-swift.git at v0.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Neywa-Labs/mlx-audio-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-3":/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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/7545] Fetching swift-transformers
[831/10700] Fetching swift-transformers, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git (0.66s)
[2264/7545] Fetching swift-transformers
[7546/25301] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers.git (0.94s)
[533/17756] Fetching mlx-swift
Fetching https://github.com/facebook/zstd.git
Fetched https://github.com/ml-explore/mlx-swift.git (1.87s)
[1/88313] Fetching zstd
Fetched https://github.com/facebook/zstd.git (5.08s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (8.06s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.1 (0.16s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/333] Fetching eventsource
[334/19320] Fetching eventsource, swift-crypto
Fetched https://github.com/mattt/EventSource.git (1.23s)
Fetched https://github.com/apple/swift-crypto.git (1.24s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.4.0 (1.41s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/2381] Fetching swift-jinja
[2382/32766] Fetching swift-jinja, swift-collections
[2383/38120] Fetching swift-jinja, swift-collections, yyjson
Fetched https://github.com/huggingface/swift-jinja.git (0.63s)
[609/35739] Fetching swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git (1.85s)
Fetched https://github.com/apple/swift-collections.git (1.87s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.33.0 (2.25s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6862] Fetching swift-numerics
[3227/26304] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.69s)
[4861/19442] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.12s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.13.0 (1.35s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.25s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 3.2.1 (0.28s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.6.0 (0.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.56s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.78s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
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.33.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 1.0.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 3.2.1
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.4
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.4.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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.8.2
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.6.0
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/BreezeTTS/README.md
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/IrodoriTTS/README.md
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/MossTTS/README.md
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/OmniVoice/README.md
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/Spark/README.md
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/MLXAudioSTT/Models/MingASR/README.md
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/MLXAudioSTS/Models/DeepFilterNet/README.md
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 76]
[Constructing description]
[Pre-planning 1 / 1770]
[Planning 395 / 1770]
[Planning 1002 / 1770]
[Planning 1414 / 1770]
[Planning deferred tasks]
[Constructing 1 / 4326]
[Constructing 788 / 4326]
[Writing build description]
[Starting]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/dot.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gated_delta_update.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gated_delta_update_vjp.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gather_mm_offsets.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention_vjp.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/searchsorted.metal' of type 'sourcecode.metal' for architecture 'wasm32'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal' of type 'sourcecode.metal' for architecture 'wasm32'
[118 / 1277] MLXAudioSTT
[237 / 1277] libzstd
[238 / 1277] libzstd
[240 / 1277] libzstd
[243 / 1277] libzstd
[250 / 1277] libzstd
[255 / 1277] libzstd
[260 / 1277] libzstd
[272 / 1280] RealModule
[280 / 1312] InternalCollectionsUtilities
[281 / 1312] CryptoBoringWrapper
[282 / 1312] RealModule
[294 / 1312] EventSource
[295 / 1312] libzstd
[303 / 1312] CryptoBoringWrapper
[310 / 1312] InternalCollectionsUtilities
[312 / 1312] OrderedCollections
[313 / 1312] OrderedCollections
[317 / 1313] EventSource
[320 / 1313] EventSource-product
[323 / 1313] CryptoBoringWrapper
[324 / 1313] CryptoBoringWrapper
[326 / 1313] CryptoBoringWrapper
[328 / 1314] InternalCollectionsUtilities
[329 / 1314] CryptoBoringWrapper
[333 / 1315]
[336 / 1324] CXKCPShims
[337 / 1324] CryptoBoringWrapper
[341 / 1324] OrderedCollections
[343 / 1326] OrderedCollections
[343 / 1326] MLXAudio_MLXAudioTests
[345 / 1326] OrderedCollections
[352 / 1329] CXKCP
[355 / 1329] CCryptoBoringSSL
[355 / 1329] CCryptoBoringSSLShims
[358 / 1329] ArgumentParserToolInfo
[362 / 1329] OrderedCollections
[363 / 1329] OrderedCollections
[370 / 1329] OrderedCollections
[372 / 1330] CCryptoBoringSSL
[373 / 1330] CCryptoBoringSSL
[374 / 1330] CCryptoBoringSSL
[375 / 1330] CCryptoBoringSSL
[376 / 1330] CCryptoBoringSSL
[378 / 1330] CCryptoBoringSSL
[381 / 1330] CCryptoBoringSSL
[386 / 1330] CCryptoBoringSSL
[387 / 1330] CCryptoBoringSSL
[389 / 1330] CCryptoBoringSSL
[391 / 1330] CCryptoBoringSSL
[393 / 1330] CCryptoBoringSSL
[397 / 1330] CCryptoBoringSSL
[398 / 1330] CCryptoBoringSSL
[400 / 1330] CCryptoBoringSSL
[401 / 1330] CCryptoBoringSSL
[403 / 1330] CCryptoBoringSSL
[408 / 1330] CCryptoBoringSSL
[414 / 1330] CCryptoBoringSSL
[417 / 1330] CCryptoBoringSSL
[418 / 1330] CCryptoBoringSSL
[419 / 1330] CCryptoBoringSSL
[421 / 1330] CCryptoBoringSSL
[423 / 1330] CCryptoBoringSSL
[424 / 1330] CCryptoBoringSSL
[426 / 1330] CCryptoBoringSSL
[427 / 1330] CCryptoBoringSSL
[428 / 1330] CCryptoBoringSSL
[432 / 1330] CCryptoBoringSSL
[433 / 1330] CCryptoBoringSSL
[435 / 1330] CCryptoBoringSSL
[436 / 1330] CCryptoBoringSSL
[439 / 1330] CCryptoBoringSSL
[441 / 1330] CCryptoBoringSSL
[442 / 1330] CCryptoBoringSSL
[444 / 1330] CCryptoBoringSSL
[445 / 1330] CCryptoBoringSSL
[447 / 1330] CCryptoBoringSSL
[449 / 1330] CCryptoBoringSSL
[451 / 1330] CCryptoBoringSSL
[452 / 1330] CCryptoBoringSSL
[454 / 1330] CCryptoBoringSSL
[455 / 1330] CCryptoBoringSSL
[457 / 1330] CCryptoBoringSSL
[460 / 1330] CCryptoBoringSSL
[463 / 1330] CCryptoBoringSSL
[464 / 1330] CCryptoBoringSSL
[466 / 1330] CCryptoBoringSSL
[468 / 1330] CCryptoBoringSSL
[473 / 1330] CCryptoBoringSSL
[478 / 1330] CCryptoBoringSSL
[486 / 1330] CCryptoBoringSSL
[495 / 1330] CCryptoBoringSSL
[499 / 1330] CCryptoBoringSSL
[501 / 1330] CCryptoBoringSSL
[505 / 1330] CCryptoBoringSSL
[507 / 1330] CCryptoBoringSSL
[508 / 1330] CCryptoBoringSSL
[510 / 1330] CCryptoBoringSSL
[514 / 1330] CCryptoBoringSSL
[516 / 1330] CCryptoBoringSSL
[519 / 1330] CCryptoBoringSSL
[520 / 1330] CCryptoBoringSSL
[522 / 1330] CCryptoBoringSSL
[524 / 1330] CCryptoBoringSSL
[528 / 1330] CCryptoBoringSSL
[529 / 1330] CCryptoBoringSSL
[530 / 1330] CCryptoBoringSSL
[531 / 1330] CCryptoBoringSSL
[533 / 1330] CCryptoBoringSSL
[536 / 1330] CCryptoBoringSSL
[537 / 1330] CCryptoBoringSSL
[539 / 1330] CCryptoBoringSSL
[542 / 1330] CCryptoBoringSSL
[543 / 1330] CCryptoBoringSSL
[547 / 1330] CCryptoBoringSSL
[549 / 1330] CCryptoBoringSSL
[556 / 1330] CCryptoBoringSSL
[558 / 1330] CCryptoBoringSSL
[560 / 1330] CCryptoBoringSSL
[561 / 1330] CCryptoBoringSSL
[563 / 1330] CCryptoBoringSSL
[570 / 1330] CCryptoBoringSSL
[572 / 1330] CCryptoBoringSSL
[574 / 1330] CCryptoBoringSSL
[576 / 1330] CCryptoBoringSSL
[578 / 1330] CCryptoBoringSSL
[583 / 1330] CCryptoBoringSSL
[588 / 1330] CCryptoBoringSSL
[595 / 1330] CCryptoBoringSSL
[599 / 1330] CCryptoBoringSSL
[601 / 1330] CCryptoBoringSSL
[604 / 1330] CCryptoBoringSSL
[607 / 1330] CCryptoBoringSSL
[609 / 1330] CCryptoBoringSSL
[610 / 1330] CCryptoBoringSSL
[613 / 1330] CCryptoBoringSSL
[614 / 1330] CCryptoBoringSSL
[616 / 1330] CCryptoBoringSSL
[618 / 1330] CCryptoBoringSSL
[621 / 1330] CCryptoBoringSSL
[623 / 1330] CCryptoBoringSSL
[627 / 1330] CCryptoBoringSSL
[628 / 1330] CCryptoBoringSSL
[631 / 1330] CCryptoBoringSSL
[633 / 1330] CCryptoBoringSSL
[636 / 1330] CCryptoBoringSSL
[638 / 1330] CCryptoBoringSSL
[639 / 1330] CCryptoBoringSSL
[644 / 1330] CCryptoBoringSSL
[646 / 1330] CCryptoBoringSSL
[650 / 1330] CCryptoBoringSSL
[655 / 1330] CCryptoBoringSSL
[660 / 1330] CCryptoBoringSSL
[666 / 1330] CCryptoBoringSSL
[669 / 1330] CCryptoBoringSSL
[672 / 1330] CCryptoBoringSSL
[674 / 1330] CCryptoBoringSSL
[679 / 1330] CCryptoBoringSSL
[682 / 1330] CCryptoBoringSSL
[683 / 1330] CCryptoBoringSSL
[685 / 1330] CCryptoBoringSSL
[686 / 1330] CCryptoBoringSSL
[688 / 1330] CCryptoBoringSSL
[690 / 1330] CCryptoBoringSSL
[692 / 1330] CCryptoBoringSSL
[696 / 1330] CCryptoBoringSSL
[697 / 1330] CCryptoBoringSSL
[705 / 1330] CCryptoBoringSSL
[713 / 1330] CCryptoBoringSSL
[717 / 1330] CCryptoBoringSSL
[718 / 1330] CCryptoBoringSSL
[719 / 1330] CCryptoBoringSSL
[720 / 1330] CCryptoBoringSSL
[721 / 1330] CCryptoBoringSSL
[724 / 1330] CCryptoBoringSSL
[725 / 1330] CCryptoBoringSSL
[728 / 1330] CCryptoBoringSSL
[731 / 1330] CCryptoBoringSSL
[732 / 1330] yyjson
[738 / 1330]
[739 / 1331]
[741 / 1342] Crypto
[744 / 1342] Jinja
[746 / 1360] Crypto
[746 / 1360] CCryptoBoringSSL
[748 / 1360] Jinja
[751 / 1360] ComplexModule
[755 / 1360] Jinja
[757 / 1360] Jinja
[758 / 1360] Jinja
[759 / 1360] Crypto
[761 / 1360] Crypto
[766 / 1360] Crypto
[767 / 1360] Crypto-product
[769 / 1360] Jinja
[775 / 1360] Jinja
[776 / 1361] Jinja-product
[777 / 1361] Jinja-product
[780 / 1361] ComplexModule
[782 / 1361] Numerics
[784 / 1361] ComplexModule
[791 / 1364] OrderedCollections
[801 / 1368] Numerics
[809 / 1386] Jinja
[811 / 1386] HuggingFace
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/ChatCompletion.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile ChatCompletion.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/FeatureExtraction.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile FeatureExtraction.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile InferenceClient.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Message.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Message.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Provider.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Provider.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/SpeechToText.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SpeechToText.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/TextToImage.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile TextToImage.swift
[812 / 1386] HuggingFace
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift:8:12: [1;31merror: [1;39mFileLock is only supported on Darwin and Linux (Glibc) platforms.[0;0m
[0;36m6 |[0;0m import Glibc
[0;36m7 |[0;0m #else
[0;36m8 |[0;0m #error([4;39m"FileLock is only supported on Darwin and Linux (Glibc) platforms."[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mFileLock is only supported on Darwin and Linux (Glibc) platforms.[0;0m
[0;36m9 |[0;0m #endif
[0;36m10 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:69:31: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m67 |[0;0m /// - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
[0;36m68 |[0;0m public convenience init(
[0;36m69 |[0;0m session: URLSession = [4;39mURLSession[0;0m(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m70 |[0;0m userAgent: String? = nil
[0;36m71 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:69:31: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m67 |[0;0m /// - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
[0;36m68 |[0;0m public convenience init(
[0;36m69 |[0;0m session: URLSession = [4;39mURLSession(configuration: .default)[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m70 |[0;0m userAgent: String? = nil
[0;36m71 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:49:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m
[0;36m48 |[0;0m /// The underlying client session.
[0;36m49 |[0;0m var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m httpClient.session
[0;36m51 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:69:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m /// - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
[0;36m68 |[0;0m public convenience init(
[0;36m69 |[0;0m session: [4;39mURLSession[0;0m = URLSession(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m userAgent: String? = nil
[0;36m71 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:88:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m86 |[0;0m /// - bearerToken: The Bearer token for authentication, if any. Defaults to `nil`.
[0;36m87 |[0;0m public convenience init(
[0;36m88 |[0;0m session: [4;39mURLSession[0;0m = URLSession(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m89 |[0;0m host: URL,
[0;36m90 |[0;0m userAgent: String? = nil,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:88:31: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m86 |[0;0m /// - bearerToken: The Bearer token for authentication, if any. Defaults to `nil`.
[0;36m87 |[0;0m public convenience init(
[0;36m88 |[0;0m session: URLSession = [4;39mURLSession[0;0m(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m89 |[0;0m host: URL,
[0;36m90 |[0;0m userAgent: String? = nil,
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:88:31: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m86 |[0;0m /// - bearerToken: The Bearer token for authentication, if any. Defaults to `nil`.
[0;36m87 |[0;0m public convenience init(
[0;36m88 |[0;0m session: URLSession = [4;39mURLSession(configuration: .default)[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m89 |[0;0m host: URL,
[0;36m90 |[0;0m userAgent: String? = nil,
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:109:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m107 |[0;0m /// - tokenProvider: The token provider for authentication.
[0;36m108 |[0;0m public init(
[0;36m109 |[0;0m session: [4;39mURLSession[0;0m = URLSession(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m110 |[0;0m host: URL,
[0;36m111 |[0;0m userAgent: String? = nil,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:109:31: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m107 |[0;0m /// - tokenProvider: The token provider for authentication.
[0;36m108 |[0;0m public init(
[0;36m109 |[0;0m session: URLSession = [4;39mURLSession[0;0m(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m110 |[0;0m host: URL,
[0;36m111 |[0;0m userAgent: String? = nil,
/host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift:109:31: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m107 |[0;0m /// - tokenProvider: The token provider for authentication.
[0;36m108 |[0;0m public init(
[0;36m109 |[0;0m session: URLSession = [4;39mURLSession(configuration: .default)[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m110 |[0;0m host: URL,
[0;36m111 |[0;0m userAgent: String? = nil,
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/AccessRequest.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Billing.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Bucket.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Collection.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/CommaSeparatedList.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Dataset.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Discussion.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/File.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Git.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubCache.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Buckets.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Collections.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Datasets.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Discussions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Files.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Git.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Models.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+OAuth.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Organizations.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Pagination.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Papers.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Repos.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+Spaces.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient+User.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/HubClient.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Model.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/OAuth.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Organization.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Pagination.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Paper.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Repo.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/ResourceGroup.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Space.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/Tags.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/User.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Hub/XetDownloadProgress.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/ChatCompletion.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/FeatureExtraction.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/InferenceClient.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Message.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/Provider.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/SpeechToText.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/TextToImage.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/InferenceProviders/TextToVideo.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/OAuth/OAuthClient.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/OAuth/TokenStorage.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/CacheLocationProvider.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/Data+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/JSONDecoder+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/URL+Extensions.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/URLSession+Linux.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Extensions/URLSessionConfiguration+Background.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/FileLock.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/HTTPClient.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/MultipartBuilder.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/TokenProvider.swift /host/spi-builder-workspace/.build/checkouts/swift-huggingface/Sources/HuggingFace/Shared/Value.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/supplementaryOutputs-31 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 1.0.1 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HuggingFace -package-name swift_huggingface -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/HuggingFace_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/ChatCompletion.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/FeatureExtraction.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/InferenceClient.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/Message.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/Provider.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/SpeechToText.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/TextToImage.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/ChatCompletion.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/FeatureExtraction.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/InferenceClient.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/Message.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/Provider.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/SpeechToText.o -index-unit-output-path /swift-huggingface.build/Debug-webassembly-wasm32/HuggingFace-t.build/Objects-normal/wasm32/TextToImage.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm