The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImagePhotosPlugin with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/SDWebImage/SDWebImagePhotosPlugin.git
Reference: master
Cloned https://github.com/SDWebImage/SDWebImagePhotosPlugin.git into spi-builder-workspace
SUCCESS checkout https://github.com/SDWebImage/SDWebImagePhotosPlugin.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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 (2.16s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.16.0 (0.38s)
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/SDWebImagePhotosPlugin/Classes/SDWebImagePhotosError.m:9:
/host/spi-builder-workspace/SDWebImagePhotosPlugin/Classes/SDWebImagePhotosError.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/6] Compiling SDWebImagePhotosError.m
[0/6] Compiling PHImageRequestOptions+SDWebImagePhotosPlugin.m
In file included from /host/spi-builder-workspace/SDWebImagePhotosPlugin/Classes/NSURL+SDWebImagePhotosPlugin.m:9:
/host/spi-builder-workspace/SDWebImagePhotosPlugin/Classes/NSURL+SDWebImagePhotosPlugin.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'SDWebImage' imported from /host/spi-builder-workspace/SDWebImagePhotosPlugin/Classes/SDWebImagePhotosDefine.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/6] Compiling NSURL+SDWebImagePhotosPlugin.m
[0/6] Compiling SDImagePhotosLoader.m
[0/6] Compiling PHAsset+SDWebImagePhotosPlugin.m
[0/6] Compiling SDWebImagePhotosDefine.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1