Build Information
Failed to build swift-embeddings, reference 0.0.19 (fb9f15
), with Swift 6.0 for Linux on 11 Jun 2025 12:55:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.0.19
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.19 -> FETCH_HEAD
HEAD is now at fb9f15a added support for
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
fb9f15a631ec4bfac9e18857c19b5020302c8889
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.19
========================================
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-4606859-0":/host -w "$PWD" 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:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/apple/swift-numerics.git
[1/200] Fetching swift-safetensors
[201/287] Fetching swift-safetensors, swift-sentencepiece
[279/2258] Fetching swift-safetensors, swift-sentencepiece, command
[2250/8007] Fetching swift-safetensors, swift-sentencepiece, command, swift-numerics
[4329/11310] Fetching swift-safetensors, swift-sentencepiece, command, swift-numerics, swift-transformers
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.40s)
Fetched https://github.com/tuist/Command.git from cache (0.40s)
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
[682/3390] Fetching swift-sentencepiece, swift-transformers
[1046/18770] Fetching swift-sentencepiece, swift-transformers, swift-argument-parser
[15314/15467] Fetching swift-sentencepiece, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.75s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.01s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.01s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.66s)
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/tuist/Path
Fetching https://github.com/apple/swift-log
[1/354] Fetching path
[355/4190] Fetching path, swift-log
Fetched https://github.com/tuist/Path from cache (0.27s)
[614/3836] Fetching swift-log
[3837/5626] Fetching swift-log, mockable
Fetched https://github.com/Kolos65/Mockable from cache (0.42s)
Fetched https://github.com/apple/swift-log from cache (0.43s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (0.63s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.21 (0.70s)
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.27s)
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.67s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (4.14s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.98s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.66s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.66s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.01s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (0.86s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
[5459/76234] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.90s)
[9201/70776] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.28s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.27s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.91s)
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/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/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-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.0.8
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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.5.2
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.21
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
[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.72s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/88] Write sources
[1/88] Copying t5_tokenizer_config.json
[1/88] Copying gpt2_tokenizer_config.json
[1/88] Write sources
[43/88] Compiling _SwiftSyntaxCShims dummy.c
[44/88] Compiling _NumericsShims _NumericsShims.c
[45/88] Write swift-version-24593BA9C3E375BF.txt
[47/117] Emitting module SwiftSyntax510
[48/129] Emitting module RealModule
[49/130] Emitting module SwiftSyntax601
[50/130] Compiling SwiftSyntax601 Empty.swift
[51/131] Compiling RealModule RealFunctions.swift
[52/131] Emitting module SwiftSyntax509
[53/131] Compiling SwiftSyntax509 Empty.swift
[54/132] Compiling SwiftSyntax510 Empty.swift
[55/132] Compiling RealModule Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/132] 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 {
[58/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 {
[59/133] Emitting module SwiftSyntax600
[60/133] Compiling SwiftSyntax600 Empty.swift
[61/133] Compiling RealModule AugmentedArithmetic.swift
[62/133] Compiling RealModule Double+Real.swift
[63/133] Compiling RealModule Float16+Real.swift
[64/133] Compiling TensorUtils MLShapedArray+Utils.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 |
BUILD FAILURE 6.0 linux