The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SAPCAI with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/SAP/cloud-sdk-ios-cai.git
Reference: main
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/SAP/cloud-sdk-ios-cai
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 62c92bb docs: ✏️ CAI is in maintenance mode (#73)
Cloned https://github.com/SAP/cloud-sdk-ios-cai.git
Revision (git rev-parse @):
62c92bbbca6ee5e7a4975c090fbf48f5f1f39097
SUCCESS checkout https://github.com/SAP/cloud-sdk-ios-cai.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SAP/cloud-sdk-ios-cai.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SDWebImage/SDWebImage
Fetching https://github.com/johnxnguyen/Down
Fetching https://github.com/SAP/cloud-sdk-ios-fiori.git
Fetching https://github.com/SAP/cloud-sdk-ios
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/Flight-School/AnyCodable.git
[1/756] Fetching anycodable
[236/1241] Fetching anycodable, cloud-sdk-ios
[835/3165] Fetching anycodable, cloud-sdk-ios, zip
[1589/9416] Fetching anycodable, cloud-sdk-ios, zip, down
[2821/37777] Fetching anycodable, cloud-sdk-ios, zip, down, cloud-sdk-ios-fiori
Fetched https://github.com/SAP/cloud-sdk-ios from cache (0.45s)
[7815/37292] Fetching anycodable, zip, down, cloud-sdk-ios-fiori
Fetching https://github.com/objcio/tiny-networking
Fetched https://github.com/marmelroy/Zip.git from cache (0.47s)
Fetching https://github.com/sstadelman/observable-array.git
[6458/35368] Fetching anycodable, down, cloud-sdk-ios-fiori
[7310/59857] Fetching anycodable, down, cloud-sdk-ios-fiori, sdwebimage
[15402/60152] Fetching anycodable, down, cloud-sdk-ios-fiori, sdwebimage, tiny-networking
[15980/60211] Fetching anycodable, down, cloud-sdk-ios-fiori, sdwebimage, tiny-networking, observable-array
Fetched https://github.com/objcio/tiny-networking from cache (0.25s)
Fetched https://github.com/sstadelman/observable-array.git from cache (0.24s)
[17463/59857] Fetching anycodable, down, cloud-sdk-ios-fiori, sdwebimage
Fetched https://github.com/Flight-School/AnyCodable.git from cache (1.52s)
Fetched https://github.com/SAP/cloud-sdk-ios-fiori.git from cache (1.57s)
Fetched https://github.com/SDWebImage/SDWebImage from cache (2.33s)
Fetched https://github.com/johnxnguyen/Down from cache (2.34s)
Computing version for https://github.com/SAP/cloud-sdk-ios
Computed https://github.com/SAP/cloud-sdk-ios at 5.1.3-xcfrwk (0.42s)
Computing version for https://github.com/johnxnguyen/Down
Computed https://github.com/johnxnguyen/Down at 0.11.0 (0.41s)
Computing version for https://github.com/SDWebImage/SDWebImage
Computed https://github.com/SDWebImage/SDWebImage at 5.11.1 (0.41s)
Computing version for https://github.com/SAP/cloud-sdk-ios-fiori.git
Computed https://github.com/SAP/cloud-sdk-ios-fiori.git at 0.9.0 (0.45s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.1 (0.45s)
Computing version for https://github.com/sstadelman/observable-array.git
Computed https://github.com/sstadelman/observable-array.git at 1.2.0 (0.43s)
Computing version for https://github.com/Flight-School/AnyCodable.git
Computed https://github.com/Flight-School/AnyCodable.git at 0.5.0 (0.41s)
Computing version for https://github.com/objcio/tiny-networking
Computed https://github.com/objcio/tiny-networking at 0.4.1 (0.44s)
Creating working copy for https://github.com/Flight-School/AnyCodable.git
Working copy of https://github.com/Flight-School/AnyCodable.git resolved at 0.5.0
Creating working copy for https://github.com/SDWebImage/SDWebImage
Working copy of https://github.com/SDWebImage/SDWebImage resolved at 5.11.1
Creating working copy for https://github.com/johnxnguyen/Down
Working copy of https://github.com/johnxnguyen/Down resolved at 0.11.0
Creating working copy for https://github.com/sstadelman/observable-array.git
Working copy of https://github.com/sstadelman/observable-array.git resolved at 1.2.0
Creating working copy for https://github.com/objcio/tiny-networking
Working copy of https://github.com/objcio/tiny-networking resolved at 0.4.1
Creating working copy for https://github.com/SAP/cloud-sdk-ios-fiori.git
Working copy of https://github.com/SAP/cloud-sdk-ios-fiori.git resolved at 0.9.0
Creating working copy for https://github.com/marmelroy/Zip.git
Working copy of https://github.com/marmelroy/Zip.git resolved at 2.1.1
Creating working copy for https://github.com/SAP/cloud-sdk-ios
Working copy of https://github.com/SAP/cloud-sdk-ios resolved at 5.1.3-xcfrwk
[1369/19844936] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
Downloading binary artifact https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
[19861311/21218242] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip, https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip
Downloading binary artifact https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip (0.52s)
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip (1.58s)
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView+WebCache.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView+WebCache.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView.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/146] Compiling SDAnimatedImageView+WebCache.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.
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.
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDAnimatedImageView.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/146] Compiling UIColor+SDHexString.m
[0/146] Compiling SDAnimatedImageView.m
[0/146] Compiling SDAnimatedImageRep.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.
[0/146] 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.
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/146] Compiling NSImage+Compatibility.m
[0/146] Compiling SDAnimatedImagePlayer.m
[0/146] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/146] Compiling libcmark xml.c
[1/146] Compiling libcmark man.c
[2/146] Compiling libcmark references.c
[3/146] Compiling libcmark latex.c
[4/146] Compiling libcmark node.c
[5/146] Compiling libcmark iterator.c
[6/146] Compiling libcmark html.c
[7/146] Compiling libcmark houdini_html_e.c
[7/146] Compiling libcmark houdini_href_e.c
[9/146] Compiling libcmark inlines.c
[10/146] Write swift-version-24593BA9C3E375BF.txt
[11/146] Compiling libcmark cmark_ctype.c
[12/146] Compiling libcmark render.c
[13/146] Compiling libcmark houdini_html_u.c
[14/146] Compiling libcmark utf8.c
[15/146] Compiling libcmark cmark.c
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.
[16/146] Compiling UIColor+SDHexString.m
[16/146] Compiling libcmark commonmark.c
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.
[16/146] Compiling SDWeakProxy.m
[16/146] 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 error generated.
[16/146] Compiling SDInternalMacros.m
[16/146] Compiling libcmark blocks.c
[16/146] Compiling libcmark buffer.c
[16/146] Compiling libcmark scanners.c
BUILD FAILURE 5.10 linux

Build Machine: Linux 1