The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Lottie with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/lottie-ios.git
Reference: 4.4.3
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
 * tag               4.4.3      -> FETCH_HEAD
HEAD is now at 769b88d Include animation duration when computing cost/complexity of Core Animation time remapping (#2381)
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 4.4.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/airbnb/lottie-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/airbnb/swift
Fetching https://github.com/apple/swift-argument-parser
[1/3389] Fetching swift
[2103/15004] Fetching swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (2.49s)
Fetched https://github.com/airbnb/swift (2.54s)
Computing version for https://github.com/airbnb/swift
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.ZeW8xP/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.G91sMA/swift-manifest"])
error: fatalError
/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
Computing version for https://github.com/airbnb/swift
Updated https://github.com/apple/swift-argument-parser (0.16s)
Updated https://github.com/airbnb/swift (0.16s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.IY6iw8/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.qDzErr/swift-manifest"])
error: fatalError
/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.9 linux

Build Machine: Linux 1