Build Information
Failed to build swift-embeddings, reference 0.0.26 (66994e), with Swift 6.1 for Linux on 7 Feb 2026 23:23:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-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.26
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.26 -> FETCH_HEAD
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 0.0.26
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/jkrukowski/swift-embeddings.git
https://github.com/jkrukowski/swift-embeddings.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics.git"
},
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers.git"
},
{
"identity" : "swift-safetensors",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jkrukowski/swift-safetensors.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-sentencepiece",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jkrukowski/swift-sentencepiece"
},
{
"identity" : "command",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Command.git"
}
],
"manifest_display_name" : "swift-embeddings",
"name" : "swift-embeddings",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "embeddings-cli",
"targets" : [
"EmbeddingsCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "Embeddings",
"targets" : [
"Embeddings"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MLTensorUtils",
"targets" : [
"MLTensorUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestingUtils",
"module_type" : "SwiftTarget",
"name" : "TestingUtils",
"path" : "Sources/TestingUtils",
"product_dependencies" : [
"Numerics"
],
"sources" : [
"TestingUtils.swift"
],
"type" : "library"
},
{
"c99name" : "MLTensorUtilsTests",
"module_type" : "SwiftTarget",
"name" : "MLTensorUtilsTests",
"path" : "Tests/MLTensorUtilsTests",
"sources" : [
"ActivationTests.swift",
"FunctionTests.swift",
"LayerTests.swift"
],
"target_dependencies" : [
"MLTensorUtils",
"TestingUtils"
],
"type" : "test"
},
{
"c99name" : "MLTensorUtils",
"module_type" : "SwiftTarget",
"name" : "MLTensorUtils",
"path" : "Sources/MLTensorUtils",
"product_memberships" : [
"embeddings-cli",
"Embeddings",
"MLTensorUtils"
],
"sources" : [
"Activations.swift",
"Functions.swift",
"Layers.swift"
],
"type" : "library"
},
{
"c99name" : "EmbeddingsTests",
"module_type" : "SwiftTarget",
"name" : "EmbeddingsTests",
"path" : "Tests/EmbeddingsTests",
"product_dependencies" : [
"Safetensors"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/EmbeddingsTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BertTests.swift",
"Model2VecTests.swift",
"ModernBertTests.swift",
"NomicBertTests.swift",
"StaticEmbeddingsTests.swift",
"TokenizerTests.swift",
"UtilsTests.swift",
"Word2VecTests.swift"
],
"target_dependencies" : [
"Embeddings",
"MLTensorUtils",
"TestingUtils"
],
"type" : "test"
},
{
"c99name" : "EmbeddingsCLI",
"module_type" : "SwiftTarget",
"name" : "EmbeddingsCLI",
"path" : "Sources/EmbeddingsCLI",
"product_dependencies" : [
"Safetensors",
"ArgumentParser"
],
"product_memberships" : [
"embeddings-cli"
],
"sources" : [
"Commands/BertCommand.swift",
"Commands/ClipCommand.swift",
"Commands/Model2VecCommand.swift",
"Commands/ModernBertCommand.swift",
"Commands/NomicBertCommand.swift",
"Commands/RobertaCommand.swift",
"Commands/StaticEmbeddingsCommad.swift",
"Commands/Word2VecCommand.swift",
"Commands/XLMRobertaCommand.swift",
"EmbeddingsCLI.swift"
],
"target_dependencies" : [
"Embeddings",
"MLTensorUtils"
],
"type" : "executable"
},
{
"c99name" : "Embeddings",
"module_type" : "SwiftTarget",
"name" : "Embeddings",
"path" : "Sources/Embeddings",
"product_dependencies" : [
"Safetensors",
"Transformers",
"SentencepieceTokenizer"
],
"product_memberships" : [
"embeddings-cli",
"Embeddings"
],
"sources" : [
"Bert/BertModel.swift",
"Bert/BertUtils.swift",
"Clip/ClipModel.swift",
"Clip/ClipUtils.swift",
"EmbeddingsUtils.swift",
"Model2Vec/Model2VecModel.swift",
"Model2Vec/Model2VecUtils.swift",
"ModernBert/ModernBertModel.swift",
"ModernBert/ModernBertUtils.swift",
"NomicBert/NomicBertModel.swift",
"NomicBert/NomicBertUtils.swift",
"Roberta/RobertaModel.swift",
"Roberta/RobertaUtils.swift",
"StaticEmbeddings/StaticEmbeddingsModel.swift",
"StaticEmbeddings/StaticEmbeddingsUtils.swift",
"Tokenizer/ClipTokenizer.swift",
"Tokenizer/TextTokenizer.swift",
"Tokenizer/XLMRobetaTokenizer.swift",
"Word2Vec/Word2VecModel.swift",
"Word2Vec/Word2VecUtils.swift",
"XLMRoberta/XLMRobertaModel.swift",
"XLMRoberta/XLMRobertaUtils.swift"
],
"target_dependencies" : [
"MLTensorUtils"
],
"type" : "library"
},
{
"c99name" : "AccuracyTests",
"module_type" : "SwiftTarget",
"name" : "AccuracyTests",
"path" : "Tests/AccuracyTests",
"product_dependencies" : [
"Command"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AccuracyTests/Data",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/AccuracyTests/Scripts",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BertAcuracyTests.swift",
"ClipAccuracyTests.swift",
"Model2VecAccuracyTests.swift",
"ModernBertBaseAcuracyTests.swift",
"ModernBertNomicAcuracyTests.swift",
"NomicBertAccuracyTests.swift",
"NomicBertDegenerateEmbeddingTests.swift",
"RobertaAcuracyTests.swift",
"SDPAAccuracyTests.swift",
"StaticEmbeddingsAccuracyTests.swift",
"Utils.swift",
"XLMRobertaAcuracyTests.swift"
],
"target_dependencies" : [
"Embeddings",
"MLTensorUtils",
"TestingUtils"
],
"type" : "test"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/90] Fetching swift-sentencepiece
[82/5559] Fetching swift-sentencepiece, swift-transformers
[192/7545] Fetching swift-sentencepiece, swift-transformers, command
[1037/7808] Fetching swift-sentencepiece, swift-transformers, command, swift-safetensors
[1143/14217] Fetching swift-sentencepiece, swift-transformers, command, swift-safetensors, swift-numerics
[2993/31388] Fetching swift-sentencepiece, swift-transformers, command, swift-safetensors, swift-numerics, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (1.07s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.07s)
Fetched https://github.com/tuist/Command.git from cache (1.08s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.08s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.08s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.11s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.74s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
[1/389] Fetching path
[379/2397] Fetching path, mockable
[2347/8296] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.24s)
[2775/7907] Fetching mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.30s)
[5899/5899] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.45s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.09s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (2.27s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.59s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (0.55s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.6 (0.61s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/923] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.28s)
[1/19478] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (4.56s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.0 (1.16s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
[5608/79696] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (7.77s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.83s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (8.64s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.9.1 (0.69s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.1 (0.63s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.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.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.8.1
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.1
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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.9.1
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/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.7.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
[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 (4.89s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/91] Write sources
[25/91] Copying gpt2_tokenizer_config.json
[26/91] Copying t5_tokenizer_config.json
[27/91] Write sources
[45/91] Compiling _NumericsShims _NumericsShims.c
[46/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[47/91] Write swift-version-24593BA9C3E375BF.txt
[49/130] Emitting module SwiftSyntax601
[50/130] Emitting module SwiftSyntax602
[51/130] Emitting module RealModule
[52/131] Emitting module Safetensors
[53/133] Emitting module SwiftSyntax510
[54/133] Compiling SwiftSyntax510 Empty.swift
[56/134] Compiling RealModule RelaxedArithmetic.swift
[57/136] Compiling RealModule Float80+Real.swift
[58/136] Compiling RealModule Real.swift
[59/136] Compiling RealModule RealFunctions.swift
[60/136] Emitting module SwiftSyntax600
[61/136] Compiling SwiftSyntax600 Empty.swift
[62/137] Compiling Safetensors Array.swift
[63/137] Compiling Safetensors InlineArray.swift
[64/137] Compiling Safetensors EncodedSafetensors.swift
[65/137] Compiling Safetensors HeaderElement.swift
[66/137] Compiling Path Path.swift
[67/137] Emitting module Path
[68/137] Emitting module SwiftSyntax509
[69/137] Compiling SwiftSyntax509 Empty.swift
[70/137] Compiling SwiftSyntax602 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/139] 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 {
[72/140] 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 {
[73/140] Compiling Safetensors MLMultiArray.swift
[74/140] Compiling Safetensors SafetensorsEncodable.swift
[75/140] Compiling RealModule Float16+Real.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/46] Write swift-version-24593BA9C3E375BF.txt
[4/85] Compiling SwiftSyntax600 Empty.swift
[5/85] Compiling RealModule RealFunctions.swift
[6/86] Emitting module SwiftSyntax601
[7/86] Compiling SwiftSyntax601 Empty.swift
[8/87] Emitting module SwiftSyntax600
[9/88] Compiling SwiftSyntax509 Empty.swift
[10/88] Emitting module SwiftSyntax509
[11/88] Compiling SwiftSyntax602 Empty.swift
[13/88] Emitting module SwiftSyntax602
[14/89] Emitting module SwiftSyntax510
[15/89] Compiling SwiftSyntax510 Empty.swift
[16/89] Compiling RealModule RelaxedArithmetic.swift
[17/91] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/91] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/93] Compiling RealModule Real.swift
[22/93] Compiling InternalCollectionsUtilities Debugging.swift
[23/93] Compiling InternalCollectionsUtilities Descriptions.swift
[24/93] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[25/93] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/93] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/93] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/93] Compiling RealModule Float16+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/93] 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 {
[32/93] 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 {
[33/93] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/93] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[37/93] Compiling RealModule Float80+Real.swift
[38/93] Compiling InternalCollectionsUtilities UInt+reversed.swift
[39/93] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[40/93] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[41/93] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
BUILD FAILURE 6.1 linux