Build Information
Failed to build swift-embeddings, reference main (0a6f8e
), with Swift 6.0 for Linux on 5 May 2025 22:43:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-2":/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.84s)
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/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-numerics.git
[1/366] Fetching jinja
[133/566] Fetching jinja, swift-safetensors
[567/653] Fetching jinja, swift-safetensors, swift-sentencepiece
[645/2618] Fetching jinja, swift-safetensors, swift-sentencepiece, command
[1019/8292] Fetching jinja, swift-safetensors, swift-sentencepiece, command, swift-numerics
[8293/23260] Fetching jinja, swift-safetensors, swift-sentencepiece, command, swift-numerics, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.46s)
[9140/23060] Fetching jinja, swift-sentencepiece, command, swift-numerics, swift-argument-parser
Fetched https://github.com/tuist/Command.git from cache (0.51s)
[13462/21095] Fetching jinja, swift-sentencepiece, swift-numerics, swift-argument-parser
Fetched https://github.com/johnmai-dev/Jinja from cache (1.00s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.00s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.01s)
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.64s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (0.79s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.64s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.49s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.61s)
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 (0.83s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.59s)
Fetching https://github.com/tuist/Path
Fetching https://github.com/apple/swift-log
Fetching https://github.com/Kolos65/Mockable
[1/348] Fetching path
[349/4184] Fetching path, swift-log
[2651/5889] Fetching path, swift-log, mockable
Fetched https://github.com/Kolos65/Mockable from cache (0.39s)
Fetched https://github.com/tuist/Path from cache (0.39s)
Fetched https://github.com/apple/swift-log from cache (0.39s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (0.62s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.3.1 (0.65s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[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.68s)
[2111/70350] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.83s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.85s)
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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.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
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/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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
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/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/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-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
[1369/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.47s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/86] Write sources
[6/86] Copying gpt2_tokenizer_config.json
[6/86] Write sources
[6/86] Copying t5_tokenizer_config.json
[10/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/136] 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 |
[47/137] Emitting module SwiftSyntax600
[48/137] Compiling SwiftSyntax600 Empty.swift
[49/138] Compiling InternalCollectionsUtilities _SortedCollection.swift
[50/138] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[52/140] 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 |
[53/140] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[54/140] Compiling InternalCollectionsUtilities Specialize.swift
[55/140] Compiling InternalCollectionsUtilities Debugging.swift
[56/140] Compiling InternalCollectionsUtilities Descriptions.swift
[57/140] Compiling SwiftSyntax510 Empty.swift
[58/140] Emitting module SwiftSyntax510
[60/141] Compiling SwiftSyntax509 Empty.swift
[61/141] Emitting module SwiftSyntax509
[62/142] Emitting module ArgumentParserToolInfo
[63/142] Compiling ArgumentParserToolInfo ToolInfo.swift
[66/145] Compiling TensorUtils Weights.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 |
[67/145] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[68/145] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[69/145] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[70/145] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[71/145] Emitting module RealModule
[72/145] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[73/145] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/146] 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 {
[75/146] 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 {
[77/146] Compiling InternalCollectionsUtilities Integer rank.swift
[78/146] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[79/146] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[80/146] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[81/146] Compiling InternalCollectionsUtilities UInt+reversed.swift
[82/146] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[83/146] Emitting module InternalCollectionsUtilities
[87/147] Compiling RealModule Real.swift
[88/147] Compiling RealModule Float80+Real.swift
[90/208] Compiling RealModule RealFunctions.swift
[91/224] Compiling RealModule Float16+Real.swift
[92/224] Compiling RealModule ElementaryFunctions.swift
[93/224] Compiling RealModule Float+Real.swift
[94/225] Emitting module Path
BUILD FAILURE 6.0 linux