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-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/zvonicek/ImageSlideshow.git
Reference: master
Cloned https://github.com/zvonicek/ImageSlideshow.git into spi-builder-workspace
SUCCESS checkout https://github.com/zvonicek/ImageSlideshow.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-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/Alamofire/Alamofire.git
Fetching https://github.com/onevcat/Kingfisher.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/28149] Fetching kingfisher
[2816/51766] Fetching kingfisher, sdwebimage
[7576/78482] Fetching kingfisher, sdwebimage, alamofire
Fetched https://github.com/SDWebImage/SDWebImage.git (2.04s)
Fetching https://github.com/Alamofire/AlamofireImage.git
[54303/54865] Fetching kingfisher, alamofire
[54866/60940] Fetching kingfisher, alamofire, alamofireimage
Fetched https://github.com/Alamofire/AlamofireImage.git (1.73s)
Fetched https://github.com/Alamofire/Alamofire.git (4.67s)
Fetched https://github.com/onevcat/Kingfisher.git (4.71s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.7.2 (0.31s)
Computing version for https://github.com/Alamofire/AlamofireImage.git
Computed https://github.com/Alamofire/AlamofireImage.git at 4.1.0 (0.31s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 5.13.4 (0.31s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.1.0 (0.30s)
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 5.13.4
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/Alamofire/AlamofireImage.git
Working copy of https://github.com/Alamofire/AlamofireImage.git resolved at 4.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
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/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/KingfisherSource.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/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.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/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/KingfisherSource.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/KingfisherSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.swift
Building for debugging...
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
[0/69] Compiling UIColor+SDHexString.m
[0/69] Compiling SDAnimatedImagePlayer.m
[0/69] Compiling SDAnimatedImageView+WebCache.m
[0/69] Compiling SDAnimatedImage.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/69] Compiling NSImage+Compatibility.m
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/69] Compiling NSData+ImageContentType.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2