Build Information
Failed to build swift-embeddings, reference 0.0.15 (0a6f8e
), with Swift 6.0 for Linux on 5 May 2025 22:42:48 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.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.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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.57s)
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/apple/swift-numerics.git
[1/87] Fetching swift-sentencepiece
[79/2052] Fetching swift-sentencepiece, command
[119/2418] Fetching swift-sentencepiece, command, jinja
[454/2618] Fetching swift-sentencepiece, command, jinja, swift-safetensors
[1038/8292] Fetching swift-sentencepiece, command, jinja, swift-safetensors, swift-numerics
Fetched https://github.com/johnmai-dev/Jinja from cache (0.37s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.38s)
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
[1/14968] Fetching swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.88s)
Fetched https://github.com/tuist/Command.git from cache (0.89s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.89s)
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.57s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (0.61s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.25s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.55s)
Fetching https://github.com/apple/swift-collections.git
[1/16371] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.81s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.57s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
[1/348] Fetching path
[349/4184] Fetching path, swift-log
[1347/5889] Fetching path, swift-log, mockable
Fetched https://github.com/Kolos65/Mockable from cache (0.34s)
Fetched https://github.com/tuist/Path from cache (0.37s)
Fetched https://github.com/apple/swift-log from cache (0.37s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (0.60s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.3.1 (0.66s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5431] Fetching xctest-dynamic-overlay
[5432/75781] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.70s)
[2814/70350] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.30s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.58s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.55s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.79s)
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/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-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/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 600.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/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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.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/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/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/Path
Working copy of https://github.com/tuist/Path resolved at 0.3.8
[2747/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.25s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/86] Write sources
[20/86] Copying gpt2_tokenizer_config.json
[21/86] Copying t5_tokenizer_config.json
[21/86] Write sources
[42/86] Compiling _SwiftSyntaxCShims dummy.c
[43/86] Compiling _NumericsShims _NumericsShims.c
[44/86] Write swift-version-24593BA9C3E375BF.txt
[46/142] Emitting module SwiftSyntax509
[47/142] Emitting module SwiftSyntax600
[48/142] Compiling SwiftSyntax600 Empty.swift
[49/143] Compiling Safetensors MLTensor.swift
[50/143] Compiling Safetensors SafetensorsEncodable.swift
[51/144] Compiling RealModule Real.swift
[52/144] Compiling RealModule RealFunctions.swift
[53/144] Emitting module InternalCollectionsUtilities
[54/144] Compiling Safetensors OffsetRange.swift
[55/144] Compiling InternalCollectionsUtilities Integer rank.swift
[56/144] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[57/144] Compiling Safetensors MLShapedArray.swift
[58/144] Compiling Safetensors HeaderElement.swift
[61/144] Compiling Safetensors MLMultiArray.swift
[62/146] Compiling RealModule Float80+Real.swift
[63/146] Emitting module RealModule
[67/146] Compiling InternalCollectionsUtilities Debugging.swift
[68/146] Compiling InternalCollectionsUtilities Descriptions.swift
[69/146] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[70/146] Compiling InternalCollectionsUtilities Specialize.swift
[71/146] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[72/146] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[73/146] Compiling InternalCollectionsUtilities _SortedCollection.swift
[74/146] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[75/146] Compiling SwiftSyntax509 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/147] 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 {
[77/147] 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 {
[78/147] Compiling SwiftSyntax510 Empty.swift
[79/147] Emitting module SwiftSyntax510
[80/148] Compiling RealModule Float16+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/148] 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 |
[82/148] 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 |
[83/148] Compiling RealModule ElementaryFunctions.swift
BUILD FAILURE 6.0 linux