Build Information
Failed to build swift-embeddings, reference 0.0.25 (63b5f2), with Swift 6.0 for Linux on 21 Nov 2025 08:51:02 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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
Swift version: 6.0
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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-numerics.git
[1/1976] Fetching command
[21/18666] Fetching command, swift-argument-parser
[1036/25050] Fetching command, swift-argument-parser, swift-numerics
[1228/30107] Fetching command, swift-argument-parser, swift-numerics, swift-transformers
[3935/30307] Fetching command, swift-argument-parser, swift-numerics, swift-transformers, swift-safetensors
[4243/30397] Fetching command, swift-argument-parser, swift-numerics, swift-transformers, swift-safetensors, swift-sentencepiece
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.68s)
[10681/30197] Fetching command, swift-argument-parser, swift-numerics, swift-transformers, swift-sentencepiece
Fetched https://github.com/apple/swift-numerics.git from cache (1.11s)
[13330/23813] Fetching command, swift-argument-parser, swift-transformers, swift-sentencepiece
Fetched https://github.com/tuist/Command.git from cache (1.78s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.79s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.88s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.85s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.06s)
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
[1/381] Fetching path
[382/5412] Fetching path, swift-log
[835/7289] Fetching path, swift-log, mockable
Fetched https://github.com/tuist/Path from cache (3.15s)
Fetched https://github.com/Kolos65/Mockable from cache (3.15s)
Fetched https://github.com/apple/swift-log from cache (3.16s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.31s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.2 (1.40s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/759] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.12s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (4.90s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (1.10s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (1.07s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.07s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.1.1 (1.32s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.22s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.19s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.5.0 (1.13s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5600] Fetching xctest-dynamic-overlay
[3585/78544] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (9.00s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.08s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.86s)
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/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/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/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/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/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/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-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-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/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.0.8
[1397/40026617] Downloading https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
Downloading binary artifact 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.99s)
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/91] Write sources
[3/91] Copying gpt2_tokenizer_config.json
[6/91] Write sources
[7/91] Copying t5_tokenizer_config.json
[9/91] Write sources
[45/91] Compiling _NumericsShims _NumericsShims.c
[46/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[47/91] Write swift-version-24593BA9C3E375BF.txt
[49/103] Emitting module SwiftSyntax601
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/130] 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 {
[51/130] Emitting module InternalCollectionsUtilities
[52/132] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[53/132] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[54/132] Compiling SwiftSyntax509 Empty.swift
[55/132] Emitting module SwiftSyntax509
[56/133] 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 {
[57/133] Emitting module RealModule
[58/133] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[59/133] Compiling InternalCollectionsUtilities Integer rank.swift
[61/134] Compiling SwiftSyntax602 Empty.swift
[62/134] Emitting module SwiftSyntax602
[63/135] Compiling SwiftSyntax601 Empty.swift
[64/135] Compiling InternalCollectionsUtilities _SortedCollection.swift
[65/135] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[66/135] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[67/135] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[68/136] Compiling SwiftSyntax600 Empty.swift
[69/136] Emitting module SwiftSyntax600
[72/136] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[73/136] Compiling InternalCollectionsUtilities Debugging.swift
[74/136] Compiling InternalCollectionsUtilities Descriptions.swift
[75/136] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[76/136] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/137] Emitting module SwiftSyntax510
[78/137] Compiling SwiftSyntax510 Empty.swift
[79/138] Compiling RealModule Real.swift
[80/138] Compiling RealModule RealFunctions.swift
[82/138] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[83/138] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[84/138] Compiling InternalCollectionsUtilities UInt+reversed.swift
[85/138] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[86/138] Compiling RealModule Float16+Real.swift
[87/139] Compiling RealModule Float80+Real.swift
[92/139] Compiling RealModule RelaxedArithmetic.swift
BUILD FAILURE 6.0 linux