Build Information
Failed to build swift-embeddings, reference 0.0.26 (66994e), with Swift 6.2 for Wasm on 7 Feb 2026 23:24:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.0.26
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.0.26 -> FETCH_HEAD
HEAD is now at 66994e3 format
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
66994e3b3ed172a9b691b59d11bd0702c3f5eb33
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.26
========================================
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-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/jkrukowski/swift-sentencepiece
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/apple/swift-numerics.git
[1/90] Fetching swift-sentencepiece
[82/5559] Fetching swift-sentencepiece, swift-transformers
[520/5822] Fetching swift-sentencepiece, swift-transformers, swift-safetensors
[783/7808] Fetching swift-sentencepiece, swift-transformers, swift-safetensors, command
[1201/24979] Fetching swift-sentencepiece, swift-transformers, swift-safetensors, command, swift-argument-parser
[1644/31388] Fetching swift-sentencepiece, swift-transformers, swift-safetensors, command, swift-argument-parser, swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.51s)
[13972/24979] Fetching swift-sentencepiece, swift-transformers, swift-safetensors, command, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.90s)
Fetched https://github.com/tuist/Command.git from cache (0.91s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.91s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.92s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.92s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.30s)
Fetching https://github.com/tuist/Path
Fetching https://github.com/apple/swift-log
Fetching https://github.com/Kolos65/Mockable
[1/389] Fetching path
[390/2397] Fetching path, mockable
[2137/8296] Fetching path, mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.42s)
[6053/6288] Fetching path, swift-log
Fetched https://github.com/tuist/Path from cache (0.63s)
Fetched https://github.com/apple/swift-log from cache (0.63s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.09s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (2.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.33s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (0.34s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.6 (0.34s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/923] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.31s)
[1/19478] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.73s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (2.22s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.0 (1.04s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
[3590/79696] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.85s)
[11855/74089] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.48s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (5.93s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.9.1 (0.48s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.1 (0.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.63s)
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.9.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.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.6
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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
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 (4.98s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.39s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/52] Write sources
[13/52] Copying t5_tokenizer_config.json
[13/52] Copying gpt2_tokenizer_config.json
[13/52] Write sources
[26/52] Compiling _NumericsShims _NumericsShims.c
[27/52] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/141] 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 {
[30/141] Emitting module Path
[31/141] Emitting module ArgumentParserToolInfo
[32/141] Emitting module InternalCollectionsUtilities
[33/143] Emitting module Safetensors
[34/145] Compiling MockableMacro FunctionParameterSyntax+Extensions.swift
[35/145] Compiling MockableMacro GenericArgumentSyntax+Extensions.swift
[36/146] Compiling RealModule RelaxedArithmetic.swift
[37/146] Compiling MockableMacro AttributeListSyntax+Extensions.swift
[38/146] Compiling MockableMacro AttributeSyntax+Extensions.swift
[39/146] Compiling RealModule Real.swift
[40/146] Compiling RealModule RealFunctions.swift
[41/146] Compiling Safetensors TensorData.swift
[42/146] Compiling Safetensors Utils.swift
[43/146] Compiling RealModule Float80+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/146] 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 {
[45/146] 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 {
[48/146] Compiling MockableMacro VariableDeclSyntax+Extensions.swift
[49/146] Compiling MockableMacro Buildable.swift
[50/146] Compiling MockableMacro BuilderFactory.swift
[51/146] Compiling MockableMacro Caseable.swift
[52/146] Compiling MockableMacro Function+Buildable.swift
[53/146] Compiling MockableMacro Variable+Buildable.swift
[54/146] 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 {
[56/146] Compiling MockableMacro ProtocolDeclSyntax+Extensions.swift
[57/146] Compiling MockableMacro DeclModifierListSyntax+Extensions.swift
[58/146] Compiling MockableMacro FunctionDeclSyntax+Extensions.swift
[60/146] Compiling MockableMacro String+Extensions.swift
[61/146] Compiling MockableMacro TokenSyntax+Extensions.swift
[62/146] Emitting module RealModule
[65/146] 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 {
[66/146] Emitting module MockableMacro
BUILD FAILURE 6.2 wasm