The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-embeddings, reference main (47d2f4), with Swift 6.3 for Wasm on 28 Sep 2026 10:01:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.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/jkrukowski/swift-embeddings
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 47d2f40 Require swift-huggingface 0.10.0 for watchOS and tvOS support
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
47d2f40e2e7a643340a1b477da7efc7cc7d99327
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/jkrukowski/swift-embeddings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/huggingface/swift-huggingface.git
[1/2525] Fetching command
[2526/2615] Fetching command, swift-sentencepiece
[2616/9671] Fetching command, swift-sentencepiece, swift-transformers
[2617/28619] Fetching command, swift-sentencepiece, swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.81s)
Fetching https://github.com/apple/swift-numerics.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.83s)
[1/263] Fetching swift-safetensors
[51/3036] Fetching swift-safetensors, swift-huggingface
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.95s)
Fetched https://github.com/tuist/Command.git from cache (0.95s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.95s)
[278/2773] Fetching swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.06s)
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.15s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (2.13s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.4 (0.17s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
[1/18562] Fetching swift-crypto
[558/19938] Fetching swift-crypto, swift-jinja
[4347/47717] Fetching swift-crypto, swift-jinja, swift-collections
[13339/52616] Fetching swift-crypto, swift-jinja, swift-collections, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.40s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.41s)
Fetched https://github.com/apple/swift-collections.git from cache (1.41s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.42s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.30s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (0.17s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.66s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.14s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (0.14s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.16s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.14.14 (0.15s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
[1/412] Fetching path
[413/2542] Fetching path, mockable
[584/10707] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.56s)
Fetched https://github.com/Kolos65/Mockable from cache (0.56s)
[3675/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.63s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.4 (0.82s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/2727] Fetching xctest-dynamic-overlay
[2728/82797] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.12s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.14s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.34s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.17s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.94s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.60s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.80s)
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.4
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.1.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/tuist/Path
Working copy of https://github.com/tuist/Path resolved at 0.3.8
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.3.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.11.0
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.14.14
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/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.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.5.1
Creating working copy for https://github.com/jkrukowski/swift-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[16375/40026617] Downloading https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
Downloaded https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip (2.79s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.20s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/433] Write sources
[5/433] Copying t5_tokenizer_config.json
[6/433] Copying gpt2_tokenizer_config.json
[7/433] Write sources
[17/433] Compiling _NumericsShims _NumericsShims.c
[18/433] Write sources
[29/433] Compiling CXKCPShims shims.c
[30/433] Compiling SimpleFIPS202.c
[31/433] Compiling KeccakHash.c
[32/433] Compiling KeccakSponge.c
[33/433] Write swift-version-24593BA9C3E375BF.txt
[34/433] Compiling fiat_p256_adx_sqr.S
[35/433] Compiling fiat_curve25519_adx_square.S
[36/433] Compiling fiat_curve25519_adx_mul.S
[36/433] Compiling fiat_p256_adx_mul.S
[38/433] Compiling md5-x86_64-linux.S
[40/465] Emitting module Path
[40/500] Compiling CCryptoBoringSSLShims shims.c
[42/504] Emitting module RealModule
[43/505] Emitting module Safetensors
[44/507] Emitting module MockableMacro
[45/511] Compiling MLTensorUtils Layers.swift
/host/spi-builder-workspace/Sources/MLTensorUtils/Activations.swift:1:8: error: no such module 'CoreML'
 1 | import CoreML
   |        `- error: no such module 'CoreML'
 2 |
 3 | public enum GELUApproximation {
[46/511] Compiling MockableMacro AttributeListSyntax+Extensions.swift
[47/511] Compiling MockableMacro AttributeSyntax+Extensions.swift
[48/511] Compiling RealModule RelaxedArithmetic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/511] Emitting module SentencepieceTokenizer
/host/spi-builder-workspace/.build/checkouts/swift-sentencepiece/Sources/SentencepieceTokenizer/SentencepieceTokenizer.swift:1:8: error: no such module 'Sentencepiece'
 1 | import Sentencepiece
   |        `- error: no such module 'Sentencepiece'
 2 |
 3 | extension SentencepieceTokenizer {
[50/511] Compiling SentencepieceTokenizer SentencepieceTokenizer.swift
/host/spi-builder-workspace/.build/checkouts/swift-sentencepiece/Sources/SentencepieceTokenizer/SentencepieceTokenizer.swift:1:8: error: no such module 'Sentencepiece'
 1 | import Sentencepiece
   |        `- error: no such module 'Sentencepiece'
 2 |
 3 | extension SentencepieceTokenizer {
[51/511] Compiling MockableMacro FunctionDeclSyntax+Extensions.swift
[52/511] Compiling MockableMacro FunctionParameterSyntax+Extensions.swift
[52/511] Compiling KeccakP-1600-opt64.c
[53/511] Compiling MockableMacro DeclModifierListSyntax+Extensions.swift
[56/511] Compiling MockableMacro Buildable.swift
[56/511] Compiling yyjson.c
BUILD FAILURE 6.3 wasm