Build Information
Failed to build swift-transformers, reference main (d42fda
), with Swift 5.8 for Linux on 1 Nov 2024 23:45:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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.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-0":/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.68s)
Fetched https://github.com/apple/swift-argument-parser.git (0.69s)
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.33s)
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 gpt2_tokenizer_config.json
[2/15] Copying t5_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 TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[11/81] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[12/81] Compiling TensorUtils TemperatureLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[13/81] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[14/81] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[15/81] Compiling Hub Downloader.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
[16/81] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
[17/81] Emitting module Jinja
[18/82] Compiling ArgumentParser ArgumentVisibility.swift
[19/82] Compiling ArgumentParser CompletionKind.swift
[20/82] Compiling ArgumentParser Errors.swift
[21/82] Compiling ArgumentParser Flag.swift
[22/82] Compiling ArgumentParser NameSpecification.swift
[23/82] Compiling ArgumentParser Option.swift
[24/82] Emitting module ArgumentParser
[25/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/82] Compiling ArgumentParser CompletionsGenerator.swift
[27/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/82] Compiling ArgumentParser Argument.swift
[30/82] Compiling ArgumentParser ArgumentHelp.swift
[31/87] Compiling Jinja Parser.swift
[32/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)
[33/87] Emitting module Hub
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
[34/87] Compiling Hub HubApi.swift
/host/spi-builder-workspace/Sources/Hub/Downloader.swift:10:8: error: no such module 'Combine'
import Combine
^
/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
^
[37/87] Compiling TensorUtils RepetitionPenaltyWarper.swift
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[38/87] Emitting module TensorUtils
/host/spi-builder-workspace/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:2:8: error: no such module 'Accelerate'
import Accelerate
^
[39/87] Compiling Jinja StringExtension.swift
[40/87] Compiling Jinja Error.swift
[41/87] Compiling Jinja Lexer.swift
[44/87] Compiling Jinja Utilities.swift
/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
~~~~~~~~~~~~~~~~^
[45/87] Compiling Jinja Template.swift
BUILD FAILURE 5.8 linux