The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-embeddings, reference main (d33723), with Swift 6.0 for Linux on 23 Aug 2025 22:53:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 d33723d added loading models with custom file names
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
d33723d31f3ae3dc6183d978ae884ee19ca7ee20
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-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/tuist/Command.git
[1/200] Fetching swift-safetensors
[201/2175] Fetching swift-safetensors, command
[715/5718] Fetching swift-safetensors, command, swift-transformers
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.38s)
[1120/5518] Fetching command, swift-transformers
[2543/21207] Fetching command, swift-transformers, swift-argument-parser
Fetched https://github.com/tuist/Command.git from cache (1.10s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.11s)
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/apple/swift-numerics.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.34s)
[1/90] Fetching swift-sentencepiece
[82/6432] Fetching swift-sentencepiece, swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.64s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (0.68s)
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
[1/369] Fetching path
[370/2196] Fetching path, mockable
[407/6093] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.31s)
[3109/5724] Fetching mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.47s)
Fetched https://github.com/apple/swift-log from cache (0.47s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (0.69s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.09s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.92s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.22 (0.93s)
Fetching https://github.com/johnmai-dev/Jinja
[1/516] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.36s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (3.05s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.57s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.69s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (0.95s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5505] Fetching xctest-dynamic-overlay
[2754/77288] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.32s)
[26560/71783] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.36s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (1.10s)
Fetching https://github.com/apple/swift-collections.git
[1/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.31s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.22s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
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.22
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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.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
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.4
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.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.2.1
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/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
[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.18s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/90] Write sources
[8/90] Copying gpt2_tokenizer_config.json
[8/90] Write sources
[14/90] Copying t5_tokenizer_config.json
[14/90] Write sources
[44/90] Compiling _NumericsShims _NumericsShims.c
[45/90] Compiling _SwiftSyntaxCShims dummy.c
[46/90] Write swift-version-24593BA9C3E375BF.txt
[48/113] Emitting module SwiftSyntax600
[49/131] Emitting module SwiftSyntax510
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/131] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/132] 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 |
[52/133] Compiling SwiftSyntax509 Empty.swift
[53/133] Emitting module SwiftSyntax509
[55/136] Compiling SwiftSyntax600 Empty.swift
[56/137] 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 |
[58/137] Compiling Path Path.swift
[59/137] Emitting module Path
[61/138] Emitting module SwiftSyntax601
[62/138] Compiling SwiftSyntax601 Empty.swift
[63/138] Compiling RealModule Real.swift
[64/138] Compiling RealModule Float80+Real.swift
[65/140] Compiling RealModule Float16+Real.swift
[66/140] Compiling RealModule Float+Real.swift
[67/140] Emitting module RealModule
[68/140] Compiling RealModule AlgebraicField.swift
[69/140] Compiling RealModule ApproximateEquality.swift
[70/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/140] 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 RealModule AugmentedArithmetic.swift
[73/140] Compiling RealModule Double+Real.swift
[74/140] Compiling SwiftSyntax510 Empty.swift
[75/140] Compiling RealModule ElementaryFunctions.swift
BUILD FAILURE 6.0 linux