Build Information
Failed to build swift-embeddings, reference 0.0.20 (d33723
), with Swift 6.2 (beta) for Android on 23 Aug 2025 22:51:48 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.0.20
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.20 -> FETCH_HEAD
HEAD is now at d33723d added loading models with custom file names
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
d33723d31f3ae3dc6183d978ae884ee19ca7ee20
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.20
========================================
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-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: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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
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-numerics.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/1975] Fetching command
[61/2065] Fetching command, swift-sentencepiece
[714/2265] Fetching command, swift-sentencepiece, swift-safetensors
[892/8607] Fetching command, swift-sentencepiece, swift-safetensors, swift-numerics
[1836/12150] Fetching command, swift-sentencepiece, swift-safetensors, swift-numerics, swift-transformers
[8605/27839] Fetching command, swift-sentencepiece, swift-safetensors, swift-numerics, swift-transformers, swift-argument-parser
Fetched https://github.com/apple/swift-numerics.git from cache (1.00s)
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (1.26s)
Fetched https://github.com/tuist/Command.git from cache (1.26s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.27s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.27s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.27s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.77s)
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
[1/369] Fetching path
[370/2196] Fetching path, mockable
[444/6093] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.42s)
[4205/5724] Fetching mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.70s)
Fetched https://github.com/apple/swift-log from cache (0.70s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.33s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (2.94s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.41s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.22 (0.48s)
Fetching https://github.com/johnmai-dev/Jinja
[1/516] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.30s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.75s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.57s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.49s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (0.59s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5505] Fetching xctest-dynamic-overlay
[1047/77288] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (8.72s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.78s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (9.58s)
Fetching https://github.com/apple/swift-collections.git
[1/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.21s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.84s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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/jkrukowski/swift-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.4.0
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/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.22
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.4.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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.4
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.6.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.48s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/84] Write sources
[6/84] Copying t5_tokenizer_config.json
[6/84] Write sources
[6/84] Copying gpt2_tokenizer_config.json
[6/84] Write sources
[41/84] Compiling _SwiftSyntaxCShims dummy.c
[42/84] Compiling _NumericsShims _NumericsShims.c
[43/84] Write swift-version-8C5A4AE7A8CE2BA.txt
[45/133] Emitting module SwiftSyntax509
[46/133] Emitting module SwiftSyntax601
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/133] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[48/134] Compiling SwiftSyntax509 Empty.swift
[49/135] Emitting module InternalCollectionsUtilities
[50/135] Compiling TensorUtils LogitsProcessor.swift
[51/135] Compiling TensorUtils LogitsWarper.swift
[53/136] Compiling SwiftSyntax601 Empty.swift
[54/137] Emitting module SwiftSyntax600
[55/137] Compiling SwiftSyntax600 Empty.swift
[58/138] Compiling TensorUtils Weights.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[59/140] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[60/140] Compiling InternalCollectionsUtilities Debugging.swift
[61/140] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[62/140] Compiling InternalCollectionsUtilities _SortedCollection.swift
[63/140] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[64/153] Compiling RealModule Real.swift
[65/153] Compiling RealModule Float80+Real.swift
[66/154] Compiling RealModule RealFunctions.swift
[67/154] Compiling Safetensors MLTensor.swift
[68/154] Compiling Safetensors SafetensorsEncodable.swift
[69/154] Compiling Safetensors MLMultiArray.swift
[70/154] Compiling Safetensors MLShapedArray.swift
[71/154] Emitting module SwiftSyntax510
[72/154] Compiling SwiftSyntax510 Empty.swift
[74/155] Compiling Path Path.swift
[75/155] Emitting module Path
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/165] 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 {
[78/165] 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 {
[81/165] Compiling Safetensors HeaderElement.swift
[82/165] Compiling Safetensors OffsetRange.swift
[83/165] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[84/165] Compiling InternalCollectionsUtilities Descriptions.swift
[85/165] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[86/166] Compiling RealModule Float+Real.swift
[87/166] Emitting module RealModule
BUILD FAILURE 6.2 android