The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImageMockPlugin with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/faberNovel/SDWebImageMockPlugin.git
Reference: v0.1.0
Cloned https://github.com/faberNovel/SDWebImageMockPlugin.git into spi-builder-workspace
SUCCESS checkout https://github.com/faberNovel/SDWebImageMockPlugin.git at v0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/23617] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git (1.46s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.16.0 (0.27s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.16.0
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling SDAnimatedImageView.m
[0/71] Compiling UIColor+SDHexString.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDWeakProxy.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDWeakProxy.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/71] Compiling SDWeakProxy.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCacheConfig.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCacheConfig.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/71] Compiling SDImageCacheConfig.m
[0/71] Compiling SDCallbackQueue.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDDiskCache.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDDiskCache.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/71] Compiling SDDiskCache.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageRep.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageRep.h:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
#import <TargetConditionals.h>
        ^~~~~~~~~~~~~~~~~~~~~~
[0/71] Compiling SDAnimatedImageRep.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1