The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ImageSlideshow with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zvonicek/ImageSlideshow.git
Reference: 1.9.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/zvonicek/ImageSlideshow
 * tag               1.9.2      -> FETCH_HEAD
HEAD is now at a54e24d Bump version
Cloned https://github.com/zvonicek/ImageSlideshow.git
Revision (git rev-parse @):
a54e24d47944a1ca84c2a7bf03cb435425a9929d
SUCCESS checkout https://github.com/zvonicek/ImageSlideshow.git at 1.9.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/zvonicek/ImageSlideshow.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Alamofire/AlamofireImage.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/6377] Fetching alamofireimage
[831/35792] Fetching alamofireimage, kingfisher
[10833/60281] Fetching alamofireimage, kingfisher, sdwebimage
[27663/88330] Fetching alamofireimage, kingfisher, sdwebimage, alamofire
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.52s)
[63547/63841] Fetching alamofireimage, kingfisher, alamofire
Fetched https://github.com/Alamofire/AlamofireImage.git from cache (4.96s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.00s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (5.02s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.7.2 (0.49s)
Computing version for https://github.com/Alamofire/AlamofireImage.git
Computed https://github.com/Alamofire/AlamofireImage.git at 4.1.0 (0.52s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 5.13.4 (0.55s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.1.0 (0.47s)
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
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
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/ParseSource.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/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/ParseSource.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/SDWebImageSource.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/KingfisherSource.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/SDWebImageSource.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/KingfisherSource.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/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.swift
Building for debugging...
[0/77] Write sources
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.
[1/77] Compiling UIColor+SDHexString.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCachesManager.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCachesManager.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/77] Compiling SDImageCachesManager.m
[1/77] Compiling SDImageCachesManagerOperation.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDInternalMacros.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDInternalMacros.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1[1/77] Compiling SDInternalMacros.m
[1/77] Compiling SDWeakProxy.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCacheDefine.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageCacheDefine.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/77] Compiling SDImageCacheDefine.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.
[1/77] Compiling NSButton+WebCache.m
[1/77] Write swift-version-24593BA9C3E375BF.txt
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/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
    /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/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.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/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.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/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
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireSource.swift
[0/1] Planning build
Building for debugging...
[0/76] Copying ic_cross_white@3x.png
[0/76] Write sources
[0/76] Copying ic_cross_white@2x.png
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDInternalMacros.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDInternalMacros.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/76] Compiling SDInternalMacros.m
[3/76] Compiling SDFileAttributeHelper.m
[3/76] Compiling SDDisplayLink.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.
[3/76] Compiling UIColor+SDHexString.m
[3/76] Compiling SDImageAssetManager.m
[3/76] Compiling SDImageCachesManagerOperation.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/76] Compiling SDWeakProxy.m
[3/76] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2