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-4609320-0":/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: main
Cloned https://github.com/faberNovel/SDWebImageMockPlugin.git into spi-builder-workspace
SUCCESS checkout https://github.com/faberNovel/SDWebImageMockPlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/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.72s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.16.0 (0.32s)
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/NSData+ImageContentType.m:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSData+ImageContentType.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling NSData+ImageContentType.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSButton+WebCache.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSButton+WebCache.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 NSButton+WebCache.m
[0/71] Compiling SDImageCachesManager.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSImage+Compatibility.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/NSImage+Compatibility.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 NSImage+Compatibility.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImage.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImage.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 SDAnimatedImage.m
[0/71] Compiling SDAnimatedImagePlayer.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>
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/71] Compiling SDAnimatedImageRep.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2