The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.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.2
Building package at path:  $PWD
https://github.com/jkrukowski/swift-embeddings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
[1/2525] Fetching command
[784/2788] Fetching command, swift-safetensors
[2613/2878] Fetching command, swift-safetensors, swift-sentencepiece
[2825/5651] Fetching command, swift-safetensors, swift-sentencepiece, swift-huggingface
[3342/12707] Fetching command, swift-safetensors, swift-sentencepiece, swift-huggingface, swift-transformers
Fetched https://github.com/tuist/Command.git from cache (0.55s)
[1399/10182] Fetching swift-safetensors, swift-sentencepiece, swift-huggingface, swift-transformers
Fetching https://github.com/apple/swift-numerics.git
[3974/29130] Fetching swift-safetensors, swift-sentencepiece, swift-huggingface, swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.82s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.93s)
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.94s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.72s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.45s)
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/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-crypto.git
[1/18562] Fetching swift-crypto
[2/19938] Fetching swift-crypto, swift-jinja
[3234/47717] Fetching swift-crypto, swift-jinja, swift-collections
[5364/52616] Fetching swift-crypto, swift-jinja, swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.14s)
[31960/47717] Fetching swift-crypto, swift-jinja, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.44s)
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.46s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.41s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (0.16s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.64s)
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.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/apple/swift-log
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/tuist/Path
[1/2130] Fetching mockable
[2/2542] Fetching mockable, path
[2535/10707] Fetching mockable, path, swift-log
Fetched https://github.com/tuist/Path from cache (0.47s)
Fetched https://github.com/Kolos65/Mockable from cache (0.47s)
[490/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.57s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.4 (0.77s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/2727] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.70s)
[1/80070] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.61s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.80s)
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.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.23s)
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.71s)
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/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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.4
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/jkrukowski/swift-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.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/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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.14.14
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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/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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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.80s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/470] Write sources
[15/470] Copying gpt2_tokenizer_config.json
[15/470] Copying t5_tokenizer_config.json
[19/470] Write sources
[46/470] Compiling CXKCPShims shims.c
[47/470] Compiling SimpleFIPS202.c
[48/470] Compiling _NumericsShims _NumericsShims.c
[49/470] Compiling _SwiftSyntaxCShims PlatformMutex.c
[50/470] Compiling KeccakSponge.c
[51/470] Compiling fiat_p256_adx_sqr.S
[52/470] Compiling KeccakHash.c
[53/470] Write swift-version-24593BA9C3E375BF.txt
[54/470] Compiling fiat_curve25519_adx_square.S
[55/470] Compiling fiat_p256_adx_mul.S
[56/470] Compiling fiat_curve25519_adx_mul.S
[57/470] Compiling md5-x86_64-apple.S
[58/470] Compiling md5-x86_64-linux.S
[60/480] Emitting module SwiftSyntax600
[60/480] Compiling CCryptoBoringSSLShims shims.c
[62/482] Emitting module SwiftSyntax509
[63/482] Compiling SwiftSyntax509 Empty.swift
[65/483] Compiling SwiftSyntax600 Empty.swift
[67/502] Compiling SwiftSyntax602 Empty.swift
[68/502] Emitting module SwiftSyntax602
[70/503] Emitting module SwiftSyntax603
[71/503] Compiling SwiftSyntax603 Empty.swift
[73/515] Compiling SwiftSyntax601 Empty.swift
[74/515] Emitting module SwiftSyntax601
[76/516] Emitting module SwiftSyntax510
[77/516] Compiling SwiftSyntax510 Empty.swift
[77/517] Compiling KeccakP-1600-opt64.c
[80/562] Emitting module InternalCollectionsUtilities
[81/565] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/565] 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 {
[83/565] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/565] Emitting module MLTensorUtils
/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 {
[85/565] Compiling MLTensorUtils Activations.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 {
[86/565] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[87/565] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[88/565] Compiling InternalCollectionsUtilities Debugging.swift
[89/565] Compiling InternalCollectionsUtilities Descriptions.swift
[90/565] Compiling Logging LoggingSystem.swift
[91/566] Emitting module Path
[92/566] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[93/566] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[94/566] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[95/566] Compiling InternalCollectionsUtilities MutableRef.swift
[96/566] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[97/566] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[98/566] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[98/566] Compiling yyjson.c
[99/566] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[100/566] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[101/566] Compiling RealModule Real.swift
BUILD FAILURE 6.2 wasm