The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LottieUI with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tfmart/LottieUI.git
Reference: v1.3.3
Cloned https://github.com/tfmart/LottieUI.git into spi-builder-workspace
SUCCESS checkout https://github.com/tfmart/LottieUI.git at v1.3.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/airbnb/lottie-spm.git
[1/187] Fetching lottie-spm
Fetched https://github.com/airbnb/lottie-spm.git (0.20s)
Computing version for https://github.com/airbnb/lottie-spm.git
Computed https://github.com/airbnb/lottie-spm.git at 4.2.0 (0.29s)
Creating working copy for https://github.com/airbnb/lottie-spm.git
Working copy of https://github.com/airbnb/lottie-spm.git resolved at 4.2.0
Downloading binary artifact https://github.com/airbnb/lottie-ios/releases/download/4.2.0/Lottie.xcframework.zip
[1397/19101844] Downloading https://github.com/airbnb/lottie-ios/releases/download/4.2.0/Lottie.xcframework.zip
Downloaded https://github.com/airbnb/lottie-ios/releases/download/4.2.0/Lottie.xcframework.zip (1.88s)
Building for debugging...
[1/2] Emitting module _LottieStub
[2/2] Compiling _LottieStub Stub.swift
[5/15] Compiling LottieUI AnimationProgressObserver.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/16] Compiling LottieUI LottieView.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/16] Compiling LottieUI LottieView+iOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/16] Compiling LottieUI LottieView+macOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/16] Compiling LottieUI WrappedAnimationNSView.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/16] Compiling LottieUI WrappedAnimationView+iOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/16] Compiling LottieUI AnimationProgressObserver+macOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[12/16] Emitting module LottieUI
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
Can't demangle: $s8LottieUI0A13ContentSourceO6bundle33_B5EFFF49C054549DAF732121D8F8ED5FLLXeF4nameL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift /host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottieView.swift -primary-file /host/spi-builder-workspace/Sources/LottieUI/LottieConfiguration.swift -primary-file /host/spi-builder-workspace/Sources/LottieUI/LottieContentSource.swift /host/spi-builder-workspace/Sources/LottieUI/LottieView/LottieView+iOS.swift /host/spi-builder-workspace/Sources/LottieUI/LottieView/LottieView+macOS.swift /host/spi-builder-workspace/Sources/LottieUI/LottieView/LottieView.swift /host/spi-builder-workspace/Sources/LottieUI/iOS/AnimationProgressObserver.swift /host/spi-builder-workspace/Sources/LottieUI/iOS/WrappedAnimationView+iOS.swift /host/spi-builder-workspace/Sources/LottieUI/macOS/AnimationProgressObserver+macOS.swift /host/spi-builder-workspace/Sources/LottieUI/macOS/WrappedAnimationNSView.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LottieUI.build/LottieConfiguration.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LottieUI.build/LottieConfiguration.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LottieUI.build/LottieContentSource.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LottieUI.build/LottieContentSource.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name LottieUI -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LottieUI.build/LottieConfiguration.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LottieUI.build/LottieContentSource.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.9-dev (LLVM 71b6f8f40249d4a, Swift 0027fac736e2385)
2.	Compiling with the current language version
3.	While walking into 'LottieContentSource' (at /host/spi-builder-workspace/Sources/LottieUI/LottieContentSource.swift:11:10)
4.	While evaluating request USRGenerationRequest(LottieUI.(file).LottieContentSource.bundle(name:bundle:imageProvider:animationCache:).name@/host/spi-builder-workspace/Sources/LottieUI/LottieContentSource.swift:12:17)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x6bbfa73]
/usr/bin/swift-frontend[0x6bbd68e]
/usr/bin/swift-frontend[0x6bbfddf]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fa7a6546420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fa7a597a00b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fa7a5959859]
/usr/bin/swift-frontend[0x2335662]
/usr/bin/swift-frontend[0x1f8ee74]
/usr/bin/swift-frontend[0x22f96f9]
/usr/bin/swift-frontend[0x1c40e8c]
/usr/bin/swift-frontend[0x88c6e7]
/usr/bin/swift-frontend[0x88c207]
/usr/bin/swift-frontend[0x88b2de]
/usr/bin/swift-frontend[0x22fa20a]
/usr/bin/swift-frontend[0x8583d9]
/usr/bin/swift-frontend[0x857be7]
/usr/bin/swift-frontend[0x854cde]
/usr/bin/swift-frontend[0x156a12d]
/usr/bin/swift-frontend[0x1fe4b32]
/usr/bin/swift-frontend[0x1fe7c6b]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe8a66]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe4a43]
/usr/bin/swift-frontend[0x21c6162]
/usr/bin/swift-frontend[0x1567816]
/usr/bin/swift-frontend[0x854300]
/usr/bin/swift-frontend[0x85419a]
/usr/bin/swift-frontend[0x8498c5]
/usr/bin/swift-frontend[0x8492c4]
/usr/bin/swift-frontend[0x66fabc]
/usr/bin/swift-frontend[0x66dabc]
/usr/bin/swift-frontend[0x669040]
/usr/bin/swift-frontend[0x4c4b51]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fa7a595b083]
/usr/bin/swift-frontend[0x4c429e]
BUILD FAILURE 5.9 linux

Build Machine: Linux 2