The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lottie with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/lottie-ios.git
Reference: master
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/airbnb/lottie-ios
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 769b88d Include animation duration when computing cost/complexity of Core Animation time remapping (#2381)
Updating files:  84% (2227/2651)
Updating files:  85% (2254/2651)
Updating files:  86% (2280/2651)
Updating files:  87% (2307/2651)
Updating files:  88% (2333/2651)
Updating files:  89% (2360/2651)
Updating files:  90% (2386/2651)
Updating files:  91% (2413/2651)
Updating files:  92% (2439/2651)
Updating files:  93% (2466/2651)
Updating files:  94% (2492/2651)
Updating files:  95% (2519/2651)
Updating files:  96% (2545/2651)
Updating files:  97% (2572/2651)
Updating files:  98% (2598/2651)
Updating files:  99% (2625/2651)
Updating files: 100% (2651/2651)
Updating files: 100% (2651/2651), done.
Cloned https://github.com/airbnb/lottie-ios.git
Revision (git rev-parse @):
769b88d83a42ca8d5572b020c96f47e3690b3796
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/airbnb/lottie-ios.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/airbnb/lottie-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/airbnb/swift
[1/3389] Fetching swift
[2035/15004] Fetching swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (2.00s)
Fetched https://github.com/airbnb/swift (2.06s)
Computing version for https://github.com/airbnb/swift
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.zjfjBF/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.6.0", "/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.okjMBF/swift-manifest"])
/Package.swift:58:8: error: Linux is currently not supported
#error("Linux is currently not supported")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ in https://github.com/airbnb/swift
Updating https://github.com/airbnb/swift
Updating https://github.com/apple/swift-argument-parser
Updated https://github.com/airbnb/swift (0.15s)
Computing version for https://github.com/airbnb/swift
Updated https://github.com/apple/swift-argument-parser (0.19s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.uSKTOH/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.6.0", "/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.ZA2wFc/swift-manifest"])
/Package.swift:58:8: error: Linux is currently not supported
#error("Linux is currently not supported")
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ in https://github.com/airbnb/swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2