Build Information
Failed to build swift-embeddings, reference 0.0.15 (0a6f8e
), with Swift 6.1 for Linux on 5 May 2025 22:43:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.0.15
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.15 -> FETCH_HEAD
HEAD is now at 0a6f8e7 tokenOffset in XLMRobertaTokenizer, accuracy tests fixes
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
0a6f8e7154fafb40be3abae183f476518f0a3c5f
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.15
========================================
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" : {
"revision" : [
"41f26a3c892db4bf2253a3dc734973bd6aa3aa43"
]
},
"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.11.16",
"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",
"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/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",
"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/Scripts",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AccuracyTests.swift"
],
"target_dependencies" : [
"Embeddings",
"TestingUtils"
],
"type" : "test"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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
[1/3142] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.63s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/apple/swift-numerics.git
[1/200] Fetching swift-safetensors
[201/566] Fetching swift-safetensors, jinja
[209/653] Fetching swift-safetensors, jinja, swift-sentencepiece
[645/6327] Fetching swift-safetensors, jinja, swift-sentencepiece, swift-numerics
[1562/8292] Fetching swift-safetensors, jinja, swift-sentencepiece, swift-numerics, command
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.47s)
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.47s)
[1/14968] Fetching swift-argument-parser
Fetched https://github.com/tuist/Command.git from cache (0.51s)
Fetched https://github.com/johnmai-dev/Jinja from cache (0.91s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.92s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (1.44s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (0.51s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.22s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.52s)
Fetching https://github.com/apple/swift-collections.git
[1/16371] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.29s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.71s)
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
[1/348] Fetching path
[349/4184] Fetching path, swift-log
[4185/5889] Fetching path, swift-log, mockable
Fetched https://github.com/tuist/Path from cache (0.41s)
Fetched https://github.com/Kolos65/Mockable from cache (0.41s)
Fetched https://github.com/apple/swift-log from cache (0.42s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (1.02s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.3.1 (0.59s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5431] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.67s)
[1/70350] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.25s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (5.78s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.74s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 41f26a3c892db4bf2253a3dc734973bd6aa3aa43
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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 600.0.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.0.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.0.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.3.1
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/jkrukowski/swift-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[2747/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.94s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/86] Write sources
[6/86] Copying gpt2_tokenizer_config.json
[7/86] Write sources
[8/86] Copying t5_tokenizer_config.json
[8/86] Write sources
[42/86] Compiling _SwiftSyntaxCShims dummy.c
[43/86] Compiling _NumericsShims _NumericsShims.c
[44/86] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/127] 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 |
[47/128] Emitting module Path
[48/128] Compiling Path Path.swift
[49/129] Compiling SwiftSyntax510 Empty.swift
[50/129] Emitting module SwiftSyntax510
[51/129] Emitting module SwiftSyntax600
[52/130] Compiling SwiftSyntax600 Empty.swift
[53/131] Emitting module SwiftSyntax509
[54/131] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/131] 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 {
[56/131] 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/132] Compiling RealModule Float16+Real.swift
[58/132] Compiling RealModule Float80+Real.swift
[59/132] Compiling RealModule Real.swift
[60/133] Emitting module RealModule
[61/133] Compiling TensorUtils RepetitionPenaltyWarper.swift
[62/133] Compiling TensorUtils TemperatureLogitsWarper.swift
[63/133] Compiling TensorUtils LogitsProcessor.swift
[64/133] Compiling TensorUtils LogitsWarper.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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
Building for debugging...
[1/43] Write swift-version-24593BA9C3E375BF.txt
[3/83] Compiling SwiftSyntax510 Empty.swift
[4/84] 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 {
[5/84] Emitting module SwiftSyntax510
[6/85] Emitting module SwiftSyntax600
[7/85] Compiling SwiftSyntax600 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/86] 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 {
[9/86] Compiling SwiftSyntax509 Empty.swift
[10/86] Emitting module SwiftSyntax509
BUILD FAILURE 6.1 linux