Build Information
Failed to build swift-embeddings, reference main (f4f49b
), with Swift 6.0 for Linux on 30 Oct 2024 17:02:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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 f4f49b5 Package rename, addedd subcommand, updated Package.swift
Cloned https://github.com/jkrukowski/swift-embeddings.git
Revision (git rev-parse @):
f4f49b553ac898683a3812aaad7d1e114d28b17c
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/1888] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git from cache (0.42s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jkrukowski/swift-safetensors.git
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/maiqingqiang/Jinja
[1/238] Fetching jinja
[239/417] Fetching jinja, swift-safetensors
[418/5993] Fetching jinja, swift-safetensors, swift-numerics
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.33s)
Fetched https://github.com/apple/swift-numerics.git from cache (0.33s)
[1/12302] Fetching swift-argument-parser
Fetched https://github.com/maiqingqiang/Jinja from cache (0.62s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.39s)
Computing version for https://github.com/jkrukowski/swift-safetensors.git
Computed https://github.com/jkrukowski/swift-safetensors.git at 0.0.6 (0.39s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (1.78s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.5 (0.38s)
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 2c68d534155b702a504541e60d8eb6e0ab395478
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.6
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.5.0
Creating working copy for https://github.com/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.0.5
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.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/35] Write sources
[2/35] Copying gpt2_tokenizer_config.json
[3/35] Copying t5_tokenizer_config.json
[3/35] Write sources
[19/35] Compiling _NumericsShims _NumericsShims.c
[20/35] Write swift-version-24593BA9C3E375BF.txt
[22/83] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
1 | import Foundation
2 | import Accelerate
| `- error: no such module 'Accelerate'
3 |
4 | /// Top-K.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/84] Emitting module MLTensorNN
/host/spi-builder-workspace/Sources/MLTensorNN/Activation.swift:1:8: error: no such module 'CoreML'
1 | import CoreML
| `- error: no such module 'CoreML'
2 |
3 | public enum GELUApproximation {
[24/84] Compiling MLTensorNN Activation.swift
/host/spi-builder-workspace/Sources/MLTensorNN/Activation.swift:1:8: error: no such module 'CoreML'
1 | import CoreML
| `- error: no such module 'CoreML'
2 |
3 | public enum GELUApproximation {
[25/84] Compiling MLTensorNN Layer.swift
/host/spi-builder-workspace/Sources/MLTensorNN/Activation.swift:1:8: error: no such module 'CoreML'
1 | import CoreML
| `- error: no such module 'CoreML'
2 |
3 | public enum GELUApproximation {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/84] 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 |
[27/84] Emitting module Jinja
[28/84] Emitting module ArgumentParserToolInfo
[29/84] Compiling Safetensors MLMultiArray.swift
[30/84] Compiling Safetensors MLShapedArray.swift
[31/84] Emitting module RealModule
BUILD FAILURE 6.0 linux