Build Information
Failed to build swift-embeddings, reference main (66994e), with Swift 6.3 for Android on 18 Apr 2026 11:58:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 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 main
========================================
Build
========================================
Selected platform: android
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-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/90] Fetching swift-sentencepiece
[82/353] Fetching swift-sentencepiece, swift-safetensors
[322/2358] Fetching swift-sentencepiece, swift-safetensors, command
[606/8594] Fetching swift-sentencepiece, swift-safetensors, command, swift-transformers
[1304/15010] Fetching swift-sentencepiece, swift-safetensors, command, swift-transformers, swift-numerics
[4083/32539] Fetching swift-sentencepiece, swift-safetensors, command, swift-transformers, swift-numerics, swift-argument-parser
Fetched https://github.com/tuist/Command.git from cache (0.65s)
[13448/30534] Fetching swift-sentencepiece, swift-safetensors, swift-transformers, swift-numerics, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (1.14s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.14s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.15s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.15s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.17s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.58s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.14.0 (1.11s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
[1/401] Fetching path
[402/2464] Fetching path, mockable
[2362/9099] Fetching path, mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.58s)
Fetched https://github.com/tuist/Path from cache (0.77s)
Fetched https://github.com/apple/swift-log from cache (0.77s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.74s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.45s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.10s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.2 (0.72s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
[5724/80706] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (5.10s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.16s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (5.68s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.0 (0.51s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ibireme/yyjson.git
[1/2340] Fetching swift-huggingface
[1312/25909] Fetching swift-huggingface, swift-collections
[2886/26960] Fetching swift-huggingface, swift-collections, swift-jinja
[5032/31398] Fetching swift-huggingface, swift-collections, swift-jinja, yyjson
[5043/48805] Fetching swift-huggingface, swift-collections, swift-jinja, yyjson, swift-crypto
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.61s)
[5351/46465] Fetching swift-collections, swift-jinja, yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (1.39s)
[21227/42027] Fetching swift-collections, swift-jinja, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (3.26s)
Fetched https://github.com/apple/swift-collections.git from cache (3.34s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.35s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (3.94s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.64s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.29s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (0.94s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (10.13s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.01s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (2.94s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1567/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (2.02s)
Fetched https://github.com/apple/swift-system.git from cache (2.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.91s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (3.04s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.65s)
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.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.3.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.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.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.4.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.9.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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.4.0
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/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/tuist/Path
Working copy of https://github.com/tuist/Path resolved at 0.3.8
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.5
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.2
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/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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.14.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
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[1397/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 (6.06s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.80s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/457] Write sources
[6/457] Copying t5_tokenizer_config.json
[8/457] Write sources
[9/457] Copying gpt2_tokenizer_config.json
[11/457] Write sources
[23/457] Compiling _NumericsShims _NumericsShims.c
[24/457] Write sources
[30/457] Compiling _AtomicsShims.c
[31/457] Write sources
[36/457] Write swift-version--4F562202D5529B1.txt
[37/457] Compiling CNIOWindows shim.c
[37/457] Compiling KeccakSponge.c
[39/457] Compiling KeccakHash.c
[40/457] Compiling CXKCPShims shims.c
[41/457] Compiling SimpleFIPS202.c
[42/457] Compiling CNIOWindows WSAStartup.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/494] 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 {
[44/494] Compiling KeccakP-1600-opt64.c
[46/494] Emitting module _NIOBase64
[47/530] Emitting module _NIODataStructures
[47/530] Compiling yyjson.c
[49/534] Emitting module MockableMacro
[50/538] Emitting module Safetensors
[51/540] Compiling RealModule Real.swift
[52/541] 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 {
[53/541] 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 {
[54/541] Compiling RealModule RealFunctions.swift
[55/541] Emitting module Path
BUILD FAILURE 6.3 android