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.9 for Linux on 1 Nov 2024 23:45:04 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: 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.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/apple/swift-argument-parser.git
Fetching https://github.com/maiqingqiang/Jinja
[1/246] Fetching jinja
[247/12599] Fetching jinja, swift-argument-parser
Fetched https://github.com/maiqingqiang/Jinja (0.75s)
Fetched https://github.com/apple/swift-argument-parser.git (0.75s)
Computing version for https://github.com/maiqingqiang/Jinja
Computed https://github.com/maiqingqiang/Jinja at 1.0.6 (1.05s)
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.72s)
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 t5_tokenizer_config.json
[1/15] Copying gpt2_tokenizer_config.json
[4/40] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[5/41] Emitting module ArgumentParserToolInfo
[6/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/43] Wrapping AST for ArgumentParserToolInfo for debugging
[10/81] Compiling ArgumentParser OptionGroup.swift
[11/81] Compiling ArgumentParser AsyncParsableCommand.swift
[12/81] Compiling ArgumentParser CommandConfiguration.swift
[13/81] Compiling ArgumentParser CommandGroup.swift
[14/81] Compiling ArgumentParser EnumerableFlag.swift
[15/86] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[16/86] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[17/86] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[18/86] Compiling Hub HubApi.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)
[19/86] Emitting module TensorUtils
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[22/86] Compiling TensorUtils TemperatureLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[23/87] Compiling TensorUtils RepetitionPenaltyWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[24/87] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[25/87] 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)
[26/87] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[27/87] Compiling Jinja Error.swift
[28/87] Emitting module Jinja
[29/87] Compiling Jinja StringExtension.swift
[30/87] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
       ^
[31/87] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
error: fatalError
[32/87] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
[33/87] Compiling Jinja Template.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
       ^
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
BUILD FAILURE 5.9 linux