The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ImageSlideshow 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/zvonicek/ImageSlideshow.git
Reference: 1.9.2
Cloned https://github.com/zvonicek/ImageSlideshow.git into spi-builder-workspace
SUCCESS checkout https://github.com/zvonicek/ImageSlideshow.git at 1.9.2
========================================
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/Alamofire/Alamofire.git
Fetching https://github.com/onevcat/Kingfisher.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/28149] Fetching kingfisher
[11543/51766] Fetching kingfisher, sdwebimage
[21887/78482] Fetching kingfisher, sdwebimage, alamofire
Fetching https://github.com/Alamofire/AlamofireImage.git
Fetched https://github.com/SDWebImage/SDWebImage.git (3.55s)
Fetched https://github.com/Alamofire/Alamofire.git (3.56s)
Fetched https://github.com/onevcat/Kingfisher.git (3.61s)
[1/6075] Fetching alamofireimage
Fetched https://github.com/Alamofire/AlamofireImage.git (0.79s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.7.2 (0.26s)
Computing version for https://github.com/Alamofire/AlamofireImage.git
Computed https://github.com/Alamofire/AlamofireImage.git at 4.1.0 (0.28s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 5.13.4 (0.27s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.1.0 (0.27s)
Creating working copy for https://github.com/Alamofire/AlamofireImage.git
Working copy of https://github.com/Alamofire/AlamofireImage.git resolved at 4.1.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.1.0
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.7.2
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 5.13.4
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/KingfisherSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/KingfisherSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/KingfisherSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageGIFCoder.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageGIFCoder.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageDownloaderDecryptor.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageDownloaderDecryptor.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageDownloaderConfig.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDWebImageDownloaderConfig.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/69] Compiling SDImageGIFCoder.m
[0/69] Compiling SDWebImageDownloaderConfig.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCache.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCache.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/69] Compiling SDImageCache.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageLoader.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageLoader.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/69] Compiling SDImageLoader.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/UIColor+SDHexString.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/UIColor+SDHexString.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/69] Compiling UIColor+SDHexString.m
[0/69] Compiling SDWebImageDownloaderDecryptor.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/69] Compiling SDAnimatedImageRep.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1