The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-embeddings, reference main (63b5f2), with Swift 6.2 for Android on 21 Nov 2025 08:54:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 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 main
========================================
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-4609320-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/apple/swift-numerics.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/90] Fetching swift-sentencepiece
[82/6474] Fetching swift-sentencepiece, swift-numerics
[323/8450] Fetching swift-sentencepiece, swift-numerics, command
[4302/13507] Fetching swift-sentencepiece, swift-numerics, command, swift-transformers
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/apple/swift-argument-parser.git
[9918/13707] Fetching swift-sentencepiece, swift-numerics, command, swift-transformers, swift-safetensors
[10118/30397] Fetching swift-sentencepiece, swift-numerics, command, swift-transformers, swift-safetensors, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.41s)
[10251/30197] Fetching swift-sentencepiece, swift-numerics, command, swift-transformers, swift-argument-parser
Fetched https://github.com/tuist/Command.git from cache (1.82s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.82s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.82s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.82s)
[13186/16690] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.50s)
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/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
[1/381] Fetching path
Fetched https://github.com/tuist/Path from cache (0.35s)
[1/5031] Fetching swift-log
[756/6908] Fetching swift-log, mockable
Fetched https://github.com/Kolos65/Mockable from cache (0.83s)
Fetched https://github.com/apple/swift-log from cache (0.83s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.49s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.2 (0.80s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/759] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.38s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.96s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.47s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.57s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.1.1 (0.60s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (5.46s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.5.0 (1.08s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5600] Fetching xctest-dynamic-overlay
[4985/78544] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.94s)
[13860/72944] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.26s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (6.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.56s)
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/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-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/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/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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.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 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.2
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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.5.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.1.1
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/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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.36s)
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.53s)
[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
[9/52] Write sources
[26/52] Compiling _NumericsShims _NumericsShims.c
[27/52] Write swift-version--6B0C4D200E742BB1.txt
[29/137] Emitting module ArgumentParserToolInfo
[30/137] Emitting module Logging
[31/137] Compiling RealModule Float80+Real.swift
[32/138] Emitting module RealModule
[33/138] Compiling Safetensors MLMultiArray.swift
[34/138] Compiling Safetensors MLShapedArray.swift
[35/138] Compiling RealModule RelaxedArithmetic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/138] 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 {
[37/138] 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 {
[38/138] Compiling Safetensors OffsetRange.swift
[39/138] Compiling MockableMacro ProtocolDeclSyntax+Extensions.swift
[40/138] Compiling RealModule RealFunctions.swift
[41/140] Compiling MockableMacro VariableDeclSyntax+Extensions.swift
[42/140] Compiling MockableMacro Buildable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/140] Emitting module Safetensors
/host/spi-builder-workspace/.build/checkouts/swift-safetensors/Sources/Safetensors/Backend/MLMultiArray.swift:1:8: error: no such module 'CoreML'
  1 | import CoreML
    |        `- error: no such module 'CoreML'
  2 | import Foundation
  3 |
BUILD FAILURE 6.2 android