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-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9a59001 Improve Dark Mode handling
Cloned https://github.com/zvonicek/ImageSlideshow.git
Revision (git rev-parse @):
9a5900104a2c9a5bde32dabb35b07da30ee7bc0e
SUCCESS checkout https://github.com/zvonicek/ImageSlideshow.git at master
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/onevcat/Kingfisher.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/Alamofire/AlamofireImage.git
[1/6377] Fetching alamofireimage
[831/35792] Fetching alamofireimage, kingfisher
[11430/60281] Fetching alamofireimage, kingfisher, sdwebimage
[21122/88330] Fetching alamofireimage, kingfisher, sdwebimage, alamofire
Fetched https://github.com/Alamofire/AlamofireImage.git from cache (1.11s)
[30374/81953] Fetching kingfisher, sdwebimage, alamofire
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (4.88s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (4.95s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (5.00s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.7.2 (0.64s)
Computing version for https://github.com/Alamofire/AlamofireImage.git
Computed https://github.com/Alamofire/AlamofireImage.git at 4.1.0 (0.67s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 5.13.4 (1.66s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.1.0 (0.46s)
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
Creating working copy for https://github.com/Alamofire/AlamofireImage.git
Working copy of https://github.com/Alamofire/AlamofireImage.git resolved at 4.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/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AlamofireLegacySource.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
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/AFURLSource.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/AlamofireSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.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/AlamofireLegacySource.swift
    /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/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/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/KingfisherSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /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/ParseSource.swift
Building for debugging...
[0/77] Write sources
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.
[2/77] Compiling SDWeakProxy.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.
[2/77] Compiling UIColor+SDHexString.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.
[2/77] 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.
[2/77] Compiling SDAnimatedImage.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImagePlayer.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/77] Compiling SDAnimatedImagePlayer.m
[2/77] Compiling SDInternalMacros.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/77] Compiling NSData+ImageContentType.m
[2/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/ParseSource.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/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/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
    /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/ParseSource.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/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.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/AlamofireLegacySource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/SDWebImageSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/AFURLSource.swift
    /host/spi-builder-workspace/ImageSlideshow/Classes/InputSources/ParseSource.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/75] Copying ic_cross_white@2x.png
[0/75] 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.
[4/75] Compiling UIColor+SDHexString.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDImageCachesManagerOperation.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/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.
[4/75] Compiling SDImageCachesManagerOperation.m
[4/75] Compiling SDInternalMacros.m
[4/75] Compiling SDDisplayLink.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDImageAssetManager.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDImageAssetManager.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/75] Compiling SDImageAssetManager.m
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDFileAttributeHelper.m:8:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Private/SDFileAttributeHelper.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/75] Compiling SDFileAttributeHelper.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.
[4/75] Compiling SDWeakProxy.m
[4/75] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2