Build Information
Failed to build swift-embeddings, reference 0.0.25 (63b5f2), with Swift 6.2 for Android on 21 Nov 2025 08:50:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.25
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.25 -> FETCH_HEAD
HEAD is now at 63b5f21 Fixed batch processing (#21)
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
63b5f211c8b9f3e9fb9781e88195b41ac16cf3b5
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.25
========================================
Build
========================================
Selected platform: android
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-4606859-3":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/tuist/Command.git
[1/200] Fetching swift-safetensors
[121/290] Fetching swift-safetensors, swift-sentencepiece
[246/16980] Fetching swift-safetensors, swift-sentencepiece, swift-argument-parser
[950/22037] Fetching swift-safetensors, swift-sentencepiece, swift-argument-parser, swift-transformers
[1052/28421] Fetching swift-safetensors, swift-sentencepiece, swift-argument-parser, swift-transformers, swift-numerics
[1053/30397] Fetching swift-safetensors, swift-sentencepiece, swift-argument-parser, swift-transformers, swift-numerics, command
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (1.06s)
Fetched https://github.com/tuist/Command.git from cache (1.07s)
[11608/28221] Fetching swift-sentencepiece, swift-argument-parser, swift-transformers, swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.39s)
[11687/21837] Fetching swift-sentencepiece, swift-argument-parser, swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (2.20s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (2.24s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.26s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (3.11s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
[1/381] Fetching path
[382/2258] Fetching path, mockable
[476/7289] Fetching path, mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.63s)
[3752/5412] Fetching path, swift-log
Fetched https://github.com/tuist/Path from cache (0.90s)
Fetched https://github.com/apple/swift-log from cache (0.91s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.68s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.2 (0.78s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/759] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.47s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (4.32s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.76s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.74s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.77s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.1.1 (0.72s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (2.47s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.5.0 (0.93s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
[3529/78544] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.49s)
[10942/72944] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.26s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (11.18s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.10s)
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.2
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.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.7.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.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.6.2
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.0.8
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.5.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
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.16s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.93s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/52] Write sources
[9/52] Copying t5_tokenizer_config.json
[9/52] Copying gpt2_tokenizer_config.json
[12/52] Write sources
[26/52] Compiling _NumericsShims _NumericsShims.c
[27/52] Write swift-version--6B0C4D200E742BB1.txt
[29/139] Emitting module InternalCollectionsUtilities
[30/141] Emitting module MockableMacro
[31/145] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[32/145] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[33/145] 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 {
[34/145] Compiling RealModule RealFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/146] 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 {
[36/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 {
[37/146] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/146] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[39/146] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[40/146] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[41/146] Compiling InternalCollectionsUtilities UInt+reversed.swift
[42/146] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[43/146] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[44/146] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[45/146] Compiling Logging LogHandler.swift
[46/146] Emitting module Logging
[47/146] Emitting module Path
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/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 {
[49/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 {
BUILD FAILURE 6.2 android