The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SAPCAI 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/SAP/cloud-sdk-ios-cai.git
Reference: main
Cloned https://github.com/SAP/cloud-sdk-ios-cai.git into spi-builder-workspace
SUCCESS checkout https://github.com/SAP/cloud-sdk-ios-cai.git at main
========================================
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/SAP/cloud-sdk-ios-fiori.git
Fetching https://github.com/johnxnguyen/Down
Fetching https://github.com/marmelroy/Zip.git
[1/1852] Fetching zip
[353/23608] Fetching zip, cloud-sdk-ios-fiori
[1224/29816] Fetching zip, cloud-sdk-ios-fiori, down
Fetching https://github.com/SDWebImage/SDWebImage
Fetched https://github.com/marmelroy/Zip.git (1.38s)
Fetched https://github.com/SAP/cloud-sdk-ios-fiori.git (1.39s)
Fetching https://github.com/Flight-School/AnyCodable.git
[1/741] Fetching anycodable
Fetched https://github.com/johnxnguyen/Down (1.84s)
Fetching https://github.com/objcio/tiny-networking
Fetched https://github.com/Flight-School/AnyCodable.git (0.46s)
Fetching https://github.com/sstadelman/observable-array.git
[1/281] Fetching tiny-networking
Fetched https://github.com/sstadelman/observable-array.git (0.18s)
Fetching https://github.com/SAP/cloud-sdk-ios
Fetched https://github.com/objcio/tiny-networking (0.21s)
[1/23617] Fetching sdwebimage
[4016/23937] Fetching sdwebimage, cloud-sdk-ios
Fetched https://github.com/SAP/cloud-sdk-ios (0.24s)
[4252/23617] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage (1.79s)
Computing version for https://github.com/SAP/cloud-sdk-ios
Computed https://github.com/SAP/cloud-sdk-ios at 5.1.3-xcfrwk (0.28s)
Computing version for https://github.com/johnxnguyen/Down
Computed https://github.com/johnxnguyen/Down at 0.11.0 (0.27s)
Computing version for https://github.com/SDWebImage/SDWebImage
Computed https://github.com/SDWebImage/SDWebImage at 5.11.1 (0.29s)
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.33s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.1 (0.33s)
Computing version for https://github.com/sstadelman/observable-array.git
Computed https://github.com/sstadelman/observable-array.git at 1.2.0 (0.31s)
Computing version for https://github.com/Flight-School/AnyCodable.git
Computed https://github.com/Flight-School/AnyCodable.git at 0.5.0 (0.28s)
Computing version for https://github.com/objcio/tiny-networking
Computed https://github.com/objcio/tiny-networking at 0.4.1 (0.32s)
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/johnxnguyen/Down
Working copy of https://github.com/johnxnguyen/Down resolved at 0.11.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-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/SDWebImage/SDWebImage
Working copy of https://github.com/SDWebImage/SDWebImage resolved at 5.11.1
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/SAP/cloud-sdk-ios
Working copy of https://github.com/SAP/cloud-sdk-ios resolved at 5.1.3-xcfrwk
Creating working copy for https://github.com/objcio/tiny-networking
Working copy of https://github.com/objcio/tiny-networking resolved at 0.4.1
Downloading binary artifact 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/SAPFoundation-5.1.13-Release-xcframework.zip
[16375/19844936] Downloading 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
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPCommon-5.1.13-Release-xcframework.zip (0.39s)
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip (1.45s)
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageFrame.m:9:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/Core/SDImageFrame.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/141] Compiling SDImageFrame.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/141] Compiling UIColor+SDHexString.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.
[0/141] Compiling SDWeakProxy.m
[0/141] Compiling libcmark xml.c
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.
[0/141] Compiling SDInternalMacros.m
[0/141] Compiling libcmark blocks.c
[0/141] Compiling libcmark latex.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1