The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LottieUI with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.27s)
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
[1369/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.40s)
Building for debugging...
[1/2] Compiling _LottieStub Stub.swift
[2/2] Emitting module _LottieStub
[5/15] Compiling LottieUI WrappedAnimationView+iOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/15] Compiling LottieUI AnimationProgressObserver+macOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/15] Compiling LottieUI AnimationProgressObserver.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/16] Compiling LottieUI WrappedAnimationNSView.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/16] Compiling LottieUI LottieView.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/16] Compiling LottieUI LottieView+iOS.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/16] Compiling LottieUI LottieView+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)
[12/16] Emitting module LottieUI
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/16] Compiling LottieUI LottieConfiguration.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/16] Compiling LottieUI LottieContentSource.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/16] Compiling LottieUI AsyncLottiePhase.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/16] Compiling LottieUI AsyncLottieView.swift
/host/spi-builder-workspace/Sources/LottieUI/AsyncLottieView/AsyncLottiePhase.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1