Build Information
Failed to build swift-embeddings, reference main (2f3e27
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 12:19:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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 2f3e275 Added RoPE layer
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
2f3e2754100c114e10bc04e300d794665e5988db
SUCCESS checkout https://github.com/jkrukowski/swift-embeddings.git at main
========================================
Build
========================================
Selected platform: wasm
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/tuist/Command.git
Fetching https://github.com/jkrukowski/swift-sentencepiece
[1/87] Fetching swift-sentencepiece
[79/287] Fetching swift-sentencepiece, swift-safetensors
[229/6044] Fetching swift-sentencepiece, swift-safetensors, swift-numerics
[913/9347] Fetching swift-sentencepiece, swift-safetensors, swift-numerics, swift-transformers
[2091/11321] Fetching swift-sentencepiece, swift-safetensors, swift-numerics, swift-transformers, command
Fetched https://github.com/jkrukowski/swift-sentencepiece from cache (0.40s)
[5856/11234] Fetching swift-safetensors, swift-numerics, swift-transformers, command
[8494/26614] Fetching swift-safetensors, swift-numerics, swift-transformers, command, swift-argument-parser
Fetched https://github.com/tuist/Command.git from cache (0.51s)
[7288/24640] Fetching swift-safetensors, swift-numerics, swift-transformers, swift-argument-parser
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
[2323/18883] Fetching swift-safetensors, swift-transformers, swift-argument-parser
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (1.40s)
Fetched https://github.com/huggingface/swift-transformers.git from cache (1.40s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.41s)
Computing version for https://github.com/tuist/Command.git
Computed https://github.com/tuist/Command.git at 0.13.0 (1.94s)
Fetching https://github.com/Kolos65/Mockable
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/Path
[1/354] Fetching path
[355/4190] Fetching path, swift-log
[4191/5980] Fetching path, swift-log, mockable
Fetched https://github.com/apple/swift-log from cache (0.77s)
[408/2144] Fetching path, mockable
Fetched https://github.com/tuist/Path from cache (1.02s)
Fetched https://github.com/Kolos65/Mockable from cache (1.02s)
Computing version for https://github.com/jkrukowski/swift-sentencepiece
Computed https://github.com/jkrukowski/swift-sentencepiece at 0.0.6 (1.47s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 0.1.21 (0.72s)
Fetching https://github.com/johnmai-dev/Jinja
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.38s)
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.87s)
Computing version for https://github.com/tuist/Path
Computed https://github.com/tuist/Path at 0.3.8 (2.58s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.8 (0.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.52s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.48s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.40s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.98s)
Computing version for https://github.com/Kolos65/Mockable
Computed https://github.com/Kolos65/Mockable at 0.4.0 (0.54s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5467] Fetching xctest-dynamic-overlay
[5468/76392] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.77s)
[3547/70925] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.24s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (5.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.78s)
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/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-sentencepiece
Working copy of https://github.com/jkrukowski/swift-sentencepiece resolved at 0.0.6
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/Path
Working copy of https://github.com/tuist/Path resolved at 0.3.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.2.0
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/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 0.1.21
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/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
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/Kolos65/Mockable
Working copy of https://github.com/Kolos65/Mockable resolved at 0.4.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.64s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/84] Write sources
[2/84] Copying gpt2_tokenizer_config.json
[5/84] Copying t5_tokenizer_config.json
[7/84] Write sources
[41/84] Compiling _SwiftSyntaxCShims dummy.c
[42/84] Compiling _NumericsShims _NumericsShims.c
[43/84] Write swift-version-24593BA9C3E375BF.txt
[45/125] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[46/125] Compiling TensorUtils RepetitionPenaltyWarper.swift
[47/125] Compiling TensorUtils TemperatureLogitsWarper.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/127] 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 |
[49/128] Compiling RealModule RealFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/128] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[51/128] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[52/128] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[53/128] Compiling Safetensors MLMultiArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[54/128] Compiling Safetensors MLShapedArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[57/128] Compiling Safetensors Utils.swift
/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 |
[58/128] Compiling Safetensors Safetensors.swift
/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 |
[59/128] Compiling Safetensors ParsedSafetensorsIndex.swift
/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 |
[62/128] Emitting module RealModule
[63/128] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
/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 |
/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 |
[66/128] Compiling Safetensors TensorData.swift
/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)
[67/128] 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 {
[68/128] Compiling Safetensors HeaderElement.swift
/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 |
[69/128] Compiling Safetensors OffsetRange.swift
/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 |
/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 |
/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 |
[72/128] 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 {
[73/128] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/LogitsProcessor.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public struct LogitsProcessor {
[74/128] Compiling Safetensors ParsedSafetensors.swift
/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 |
[75/128] Compiling RealModule Float80+Real.swift
[76/128] Compiling RealModule Real.swift
[77/128] Compiling RealModule Float16+Real.swift
[78/128] Emitting module SwiftSyntax601
[79/128] Compiling RealModule ElementaryFunctions.swift
[80/128] Emitting module SwiftSyntax509
BUILD FAILURE 6.2 wasm