Build Information
Failed to build swift-embeddings, reference 0.0.26 (66994e), with Swift 6.3 for Linux on 18 Apr 2026 11:58:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.0.26
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.26 -> FETCH_HEAD
HEAD is now at 66994e3 format
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
66994e3b3ed172a9b691b59d11bd0702c3f5eb33
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.26
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/jkrukowski/swift-embeddings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
[1/90] Fetching swift-sentencepiece
[82/353] Fetching swift-sentencepiece, swift-safetensors
[345/6589] Fetching swift-sentencepiece, swift-safetensors, swift-transformers
[782/24118] Fetching swift-sentencepiece, swift-safetensors, swift-transformers, swift-argument-parser
[783/30534] Fetching swift-sentencepiece, swift-safetensors, swift-transformers, swift-argument-parser, swift-numerics
[1390/32539] Fetching swift-sentencepiece, swift-safetensors, swift-transformers, swift-argument-parser, swift-numerics, command
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.44s)
[6106/32276] Fetching swift-sentencepiece, swift-transformers, swift-argument-parser, swift-numerics, command
Fetched https://github.com/apple/swift-numerics.git from cache (1.44s)
Fetched https://github.com/tuist/Command.git from cache (1.44s)
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.45s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.45s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.46s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.86s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.14.0 (1.51s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/tuist/Path
[1/401] Fetching path
[402/2464] Fetching path, mockable
[2465/9099] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.38s)
[4187/8698] Fetching mockable, swift-log
Fetched https://github.com/Kolos65/Mockable from cache (0.39s)
[2323/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.57s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (4.05s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.49s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.1.1 (1.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.27s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.6.2 (0.56s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
[3550/80706] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.85s)
[11248/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.91s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (7.79s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.0 (0.78s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
[2/24620] Fetching swift-collections, swift-jinja
[34/26960] Fetching swift-collections, swift-jinja, swift-huggingface
[3667/31398] Fetching swift-collections, swift-jinja, swift-huggingface, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.87s)
[4565/29058] Fetching swift-collections, swift-jinja, yyjson
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/ibireme/yyjson.git from cache (2.03s)
[22499/24620] Fetching swift-collections, swift-jinja
[24621/42027] Fetching swift-collections, swift-jinja, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (2.95s)
Fetched https://github.com/apple/swift-collections.git from cache (3.00s)
[1741/17407] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.02s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (5.90s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.63s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.63s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (1.24s)
Fetching https://github.com/apple/swift-nio.git
[1/83172] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.80s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (9.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.83s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.87s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[493/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.09s)
Fetched https://github.com/apple/swift-system.git from cache (1.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (2.67s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.92s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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.7.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.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.9.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.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.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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.1.1
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.6.2
Creating working copy for https://github.com/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.14.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
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/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.1
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[15577/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 (5.05s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.38s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/463] Copying t5_tokenizer_config.json
[3/463] Copying gpt2_tokenizer_config.json
[4/463] Write sources
[23/463] Compiling _NumericsShims _NumericsShims.c
[24/463] Write sources
[31/463] Compiling _AtomicsShims.c
[32/463] Write sources
[39/463] Write swift-version-24593BA9C3E375BF.txt
[40/463] Compiling CNIOWindows shim.c
[41/463] Compiling CXKCPShims shims.c
[42/463] Compiling CNIOWindows WSAStartup.c
[43/463] Compiling KeccakHash.c
[44/463] Compiling SimpleFIPS202.c
[45/463] Compiling KeccakSponge.c
[47/500] Emitting module _NIOBase64
[47/500] Compiling KeccakP-1600-opt64.c
[48/536] Compiling yyjson.c
[50/540] Emitting module Safetensors
[51/542] Emitting module MockableMacro
[52/546] Compiling Safetensors TensorData.swift
[53/546] Compiling Safetensors Utils.swift
[54/546] Compiling MockableMacro Variable+Buildable.swift
[55/546] Compiling MockableMacro BuilderFactory.swift
[56/546] Compiling MockableMacro Caseable.swift
[57/546] Compiling MLTensorUtils Layers.swift
/host/spi-builder-workspace/Sources/MLTensorUtils/Activations.swift:1:8: error: no such module 'CoreML'
1 | import CoreML
| `- error: no such module 'CoreML'
2 |
3 | public enum GELUApproximation {
[58/546] Compiling MockableMacro VariableDeclSyntax+Extensions.swift
[59/546] Compiling MockableMacro MemberFactory.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/547] 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 {
[61/547] 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 {
[63/547] Compiling MockableMacro MockFactory.swift
[64/547] Compiling MockableMacro Function+Mockable.swift
[65/547] Compiling MockableMacro Initializer+Mockable.swift
[66/547] Compiling MockableMacro Mockable.swift
[67/547] Emitting module Path
[68/547] Compiling _NIODataStructures PriorityQueue.swift
BUILD FAILURE 6.3 linux