Build Information
Failed to build swift-embeddings, reference 0.0.25 (63b5f2), with Swift 6.2 for Linux on 21 Nov 2025 08:54:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-embeddings.git
Reference: 0.0.25
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.25 -> FETCH_HEAD
HEAD is now at 63b5f21 Fixed batch processing (#21)
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
63b5f211c8b9f3e9fb9781e88195b41ac16cf3b5
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at 0.0.25
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/jkrukowski/swift-embeddings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/jkrukowski/swift-sentencepiece
Fetching https://github.com/apple/swift-numerics.git
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
[1/200] Fetching swift-safetensors
[201/290] Fetching swift-safetensors, swift-sentencepiece
[282/6674] Fetching swift-safetensors, swift-sentencepiece, swift-numerics
[474/23364] Fetching swift-safetensors, swift-sentencepiece, swift-numerics, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.50s)
[862/23164] Fetching swift-sentencepiece, swift-numerics, swift-argument-parser
[991/28221] Fetching swift-sentencepiece, swift-numerics, swift-argument-parser, swift-transformers
Fetching https://github.com/tuist/Command.git
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (1.03s)
Fetched https://github.com/apple/swift-numerics.git from cache (1.03s)
[10596/21747] Fetching swift-argument-parser, swift-transformers
[19321/23723] Fetching swift-argument-parser, swift-transformers, command
Fetched https://github.com/tuist/Command.git from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.99s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.99s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (2.72s)
Fetching https://github.com/tuist/Path
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
[1/381] Fetching path
[382/2258] Fetching path, mockable
[401/7289] Fetching path, mockable, swift-log
Fetched https://github.com/tuist/Path from cache (0.87s)
Fetched https://github.com/Kolos65/Mockable from cache (0.87s)
Fetched https://github.com/apple/swift-log from cache (0.88s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.53s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.1.2 (0.79s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/759] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.44s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (3.90s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.58s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.1.1 (0.57s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (2.57s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.5.0 (4.37s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5600] Fetching xctest-dynamic-overlay
[5601/78544] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.23s)
[17507/72944] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.71s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (7.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.59s)
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
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.1.2
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.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.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.3.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-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
Creating working copy for https://github.com/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.5.0
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/tuist/Command.git
Working copy of https://github.com/tuist/Command.git resolved at 0.13.0
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
[1369/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 (4.35s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.47s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/58] Copying t5_tokenizer_config.json
[2/58] Copying gpt2_tokenizer_config.json
[2/58] Write sources
[29/58] Compiling _NumericsShims _NumericsShims.c
[30/58] Write swift-version-24593BA9C3E375BF.txt
[32/142] Emitting module Path
[33/142] Emitting module ArgumentParserToolInfo
[34/142] Emitting module MockableMacro
[35/146] Compiling MockableMacro Messages.swift
[36/146] Compiling MockableMacro Namespace.swift
[37/146] Compiling MockableMacro SwiftVersionHelper.swift
[38/146] Compiling MockableMacro TokenFinder.swift
[39/146] Compiling MockableMacro FunctionRequirement.swift
[40/146] Compiling MockableMacro InitializerRequirement.swift
[41/146] Compiling MockableMacro Requirements.swift
[42/146] Compiling MockableMacro VariableRequirement.swift
[43/146] Compiling MockableMacro Availability.swift
[44/146] Compiling RealModule Float80+Real.swift
[45/147] Compiling RealModule RelaxedArithmetic.swift
[46/147] Emitting module InternalCollectionsUtilities
[47/149] Compiling RealModule Real.swift
[48/149] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[49/149] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[50/149] Compiling MockableMacro EnumFactory.swift
[51/149] Compiling MockableMacro Factory.swift
[52/149] 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 {
[53/149] Compiling MockableMacro AttributeListSyntax+Extensions.swift
[54/149] Compiling MockableMacro AttributeSyntax+Extensions.swift
[55/149] Compiling MockableMacro DeclModifierListSyntax+Extensions.swift
[56/149] Compiling MockableMacro FunctionDeclSyntax+Extensions.swift
[57/149] Compiling MockableMacro FunctionParameterSyntax+Extensions.swift
[58/149] Compiling MockableMacro Variable+Buildable.swift
[59/149] Compiling MockableMacro BuilderFactory.swift
[60/149] Compiling MockableMacro Buildable.swift
[61/149] Compiling MockableMacro Function+Buildable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/149] 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 {
[63/149] 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 {
[64/149] Compiling RealModule RealFunctions.swift
[65/149] Compiling MockableMacro Caseable.swift
[66/149] Compiling MockableMacro Function+Caseable.swift
[70/149] Compiling MockableMacro Variable+Caseable.swift
[71/149] Compiling MockableMacro ConformanceFactory.swift
[74/149] Compiling MockableMacro Variable+Mockable.swift
[75/149] Compiling MockableMacro MockableMacro.swift
[76/149] Compiling MockableMacro MockableMacroError.swift
[77/149] Compiling MockableMacro MockableMacroWarning.swift
[78/149] Compiling MockableMacro Plugin.swift
[79/149] Compiling MockableMacro MemberFactory.swift
[80/149] Compiling MockableMacro MockFactory.swift
[81/149] Compiling MockableMacro Function+Mockable.swift
[82/149] Compiling MockableMacro Initializer+Mockable.swift
[83/149] Compiling MockableMacro Mockable.swift
[86/150] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/150] 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)
[88/150] Emitting module MLTensorUtils
/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 {
[91/150] Compiling MockableMacro String+Extensions.swift
[92/150] Compiling MockableMacro TokenSyntax+Extensions.swift
[93/150] Compiling MockableMacro VariableDeclSyntax+Extensions.swift
[98/150] Compiling MLTensorUtils Activations.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 {
BUILD FAILURE 6.2 linux