The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-transformers, reference main (d42fda), with Swift 5.9 for Linux on 1 Nov 2024 23:57:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/swift-transformers.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/huggingface/swift-transformers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d42fdae Update Jinja version (#138)
Cloned https://github.com/huggingface/swift-transformers.git
Revision (git rev-parse @):
d42fdae473c49ea216671da8caae58e102d28709
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/huggingface/swift-transformers.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/maiqingqiang/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/246] Fetching jinja
[247/12599] Fetching jinja, swift-argument-parser
Fetched https://github.com/maiqingqiang/Jinja (0.63s)
Fetched https://github.com/apple/swift-argument-parser.git (0.64s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.6 (0.30s)
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.32s)
Creating working copy for https://github.com/maiqingqiang/Jinja
Working copy of https://github.com/maiqingqiang/Jinja resolved at 1.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Copying gpt2_tokenizer_config.json
[1/15] Copying t5_tokenizer_config.json
[4/40] Emitting module Jinja
[5/41] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[6/42] Emitting module ArgumentParserToolInfo
[7/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/44] Wrapping AST for ArgumentParserToolInfo for debugging
[11/82] Compiling Jinja Error.swift
[12/82] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[13/82] Compiling Jinja StringExtension.swift
[14/82] Compiling Hub Hub.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/82] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[16/82] Compiling Hub HubApi.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[17/82] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
error: fatalError
[18/82] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[19/82] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[20/82] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[21/82] Compiling TensorUtils TemperatureLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
BUILD FAILURE 5.9 linux