The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-embeddings, reference 0.1.1 (47d2f4), with Swift 6.3 for Wasm on 28 Sep 2026 09:57:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.1.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/jkrukowski/swift-embeddings
 * tag               0.1.1      -> FETCH_HEAD
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 0.1.1
========================================
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-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/90] Fetching swift-sentencepiece
[82/2615] Fetching swift-sentencepiece, command
[688/9671] Fetching swift-sentencepiece, command, swift-transformers
[3101/28619] Fetching swift-sentencepiece, command, swift-transformers, swift-argument-parser
[3314/28882] Fetching swift-sentencepiece, command, swift-transformers, swift-argument-parser, swift-safetensors
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.58s)
[4307/28792] Fetching command, swift-transformers, swift-argument-parser, swift-safetensors
Fetching https://github.com/apple/swift-numerics.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.85s)
[1/2773] Fetching swift-huggingface
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (1.10s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.10s)
Fetched https://github.com/tuist/Command.git from cache (1.10s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.10s)
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.66s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.40s)
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/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/18562] Fetching swift-crypto
[1115/19938] Fetching swift-crypto, swift-jinja
[4719/24837] Fetching swift-crypto, swift-jinja, yyjson
[6423/52616] Fetching swift-crypto, swift-jinja, yyjson, swift-collections
Fetched https://github.com/ibireme/yyjson.git from cache (1.07s)
[35026/47717] Fetching swift-crypto, swift-jinja, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.45s)
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.47s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.40s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (0.15s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.63s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.13s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (0.13s)
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.15s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.14.14 (0.14s)
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
[1/8165] Fetching swift-log
[165/10295] Fetching swift-log, mockable
[4673/10707] Fetching swift-log, mockable, path
Fetched https://github.com/tuist/Path from cache (0.51s)
Fetched https://github.com/Kolos65/Mockable from cache (0.51s)
Fetched https://github.com/apple/swift-log from cache (0.55s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.4 (0.73s)
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.24s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.27s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.45s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.15s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.14s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.30s)
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 (0.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.69s)
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/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/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
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/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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.4
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/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-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.1.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
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.14.14
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[1369/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.85s)
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.21s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/433] Write sources
[9/433] Copying gpt2_tokenizer_config.json
[10/433] Copying t5_tokenizer_config.json
[11/433] Write sources
[27/433] Compiling _NumericsShims _NumericsShims.c
[28/433] Write sources
[29/433] Compiling CXKCPShims shims.c
[30/433] Compiling KeccakHash.c
[31/433] Compiling KeccakSponge.c
[32/433] Compiling SimpleFIPS202.c
[33/433] Write swift-version-24593BA9C3E375BF.txt
[34/433] Compiling fiat_p256_adx_sqr.S
[35/433] Compiling fiat_p256_adx_mul.S
[36/433] Compiling fiat_curve25519_adx_square.S
[37/433] Compiling fiat_curve25519_adx_mul.S
[38/433] Compiling md5-x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/500] 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 {
[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 RealModule Float80+Real.swift
[47/511] Compiling MockableMacro DeclModifierListSyntax+Extensions.swift
[48/511] Compiling MockableMacro FunctionDeclSyntax+Extensions.swift
[49/511] Compiling RealModule Float16+Real.swift
[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] Emitting module Path
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/511] Compiling KeccakP-1600-opt64.c
[51/511] Compiling yyjson.c
BUILD FAILURE 6.3 wasm