The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImageLottieCoder with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageLottieCoder.git
Reference: 0.2.0
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/SDWebImage/SDWebImageLottieCoder
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at c9f6567 Bumped version to 0.2.0
Cloned https://github.com/SDWebImage/SDWebImageLottieCoder.git
Revision (git rev-parse @):
c9f65679a9b0510b89673507f548a7c0f17ba95f
SUCCESS checkout https://github.com/SDWebImage/SDWebImageLottieCoder.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SDWebImage/SDWebImageLottieCoder.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/SDWebImage/librlottie-Xcode.git
[1/187] Fetching librlottie-xcode
[188/24676] Fetching librlottie-xcode, sdwebimage
Fetched https://github.com/SDWebImage/librlottie-Xcode.git from cache (1.74s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.78s)
Computing version for https://github.com/SDWebImage/librlottie-Xcode.git
Computed https://github.com/SDWebImage/librlottie-Xcode.git at 0.2.1 (0.45s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.11 (0.45s)
Creating working copy for https://github.com/SDWebImage/librlottie-Xcode.git
Working copy of https://github.com/SDWebImage/librlottie-Xcode.git resolved at 0.2.1
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.18.11
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.h:10:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.m:9:
/host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.h:10:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
While building module 'librlottie' imported from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.m:16:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/librlottie-Xcode/Xcode/librlottie.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
[0/2] Compiling SDImageLottieCoder.m
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDWebImageLottieLoaderDefine.h:10:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/2] Compiling SDWebImageLottieLoaderDefine.m
[0/1] Planning build
Building for debugging...
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.h:10:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.m:9:
/host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.h:10:9: fatal error: could not build module 'SDWebImage'
#import <SDWebImage/SDWebImage.h>
 ~~~~~~~^
While building module 'librlottie' imported from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDImageLottieCoder.m:16:
In file included from <module-includes>:1:
/host/spi-builder-workspace/.build/checkouts/librlottie-Xcode/Xcode/librlottie.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
[0/2] Compiling SDImageLottieCoder.m
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImageLottieCoder/Classes/SDWebImageLottieLoaderDefine.h:10:
In file included from <module-includes>:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/2] Compiling SDWebImageLottieLoaderDefine.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 2