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 0.1.14 (d42fda), with Swift 5.8 for Linux on 1 Nov 2024 23:57:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-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: 0.1.14
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
 * tag               0.1.14     -> FETCH_HEAD
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 0.1.14
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/huggingface/swift-transformers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:d566266dd4ad92a164016b2b7f1872d3752585be93b4a9fa631006f2c48d84d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-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.63s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.6 (0.29s)
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.31s)
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.6
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Copying t5_tokenizer_config.json
[1/15] Copying gpt2_tokenizer_config.json
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/40] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[5/40] Emitting module Jinja
[6/41] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[7/42] Emitting module ArgumentParserToolInfo
[8/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/44] Wrapping AST for ArgumentParserToolInfo for debugging
[12/82] Compiling Jinja Template.swift
[13/82] Compiling Hub Hub.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[14/82] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[15/82] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[16/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/82] Compiling ArgumentParser CompletionsGenerator.swift
[18/82] Compiling TensorUtils TemperatureLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[19/82] Compiling Jinja Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/82] Emitting module TensorUtils
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[21/82] Compiling TensorUtils RepetitionPenaltyWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[24/82] Compiling Hub HubApi.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[25/82] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[26/82] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[27/82] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[28/82] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[29/82] Compiling Jinja StringExtension.swift
BUILD FAILURE 5.8 linux