The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SAPCAI with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SAP/cloud-sdk-ios-cai.git
Reference: 2.0.2
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 2.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/SAP/cloud-sdk-ios-fiori.git
Fetching https://github.com/marmelroy/Zip.git
Fetching https://github.com/johnxnguyen/Down
[1/1914] Fetching zip
[997/8165] Fetching zip, down
[2166/30029] Fetching zip, down, cloud-sdk-ios-fiori
Fetched https://github.com/SAP/cloud-sdk-ios-fiori.git (1.21s)
Fetching https://github.com/objcio/tiny-networking
[1/295] Fetching tiny-networking
Fetched https://github.com/objcio/tiny-networking (0.39s)
Fetching https://github.com/Flight-School/AnyCodable.git
[1/756] Fetching anycodable
Fetched https://github.com/marmelroy/Zip.git (1.79s)
Fetching https://github.com/SAP/cloud-sdk-ios
Fetched https://github.com/Flight-School/AnyCodable.git (0.20s)
Fetching https://github.com/sstadelman/observable-array.git
Fetched https://github.com/johnxnguyen/Down (1.83s)
Fetching https://github.com/SDWebImage/SDWebImage
Fetched https://github.com/sstadelman/observable-array.git (0.17s)
[1/368] Fetching cloud-sdk-ios
Fetched https://github.com/SAP/cloud-sdk-ios (0.26s)
[1/23915] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage (1.76s)
Computing version for https://github.com/SAP/cloud-sdk-ios
Computed https://github.com/SAP/cloud-sdk-ios at 5.1.3-xcfrwk (0.51s)
Computing version for https://github.com/johnxnguyen/Down
Computed https://github.com/johnxnguyen/Down at 0.11.0 (0.26s)
Computing version for https://github.com/SDWebImage/SDWebImage
Computed https://github.com/SDWebImage/SDWebImage at 5.11.1 (0.26s)
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.28s)
Computing version for https://github.com/marmelroy/Zip.git
Computed https://github.com/marmelroy/Zip.git at 2.1.1 (0.26s)
Computing version for https://github.com/sstadelman/observable-array.git
Computed https://github.com/sstadelman/observable-array.git at 1.2.0 (0.28s)
Computing version for https://github.com/Flight-School/AnyCodable.git
Computed https://github.com/Flight-School/AnyCodable.git at 0.5.0 (0.27s)
Computing version for https://github.com/objcio/tiny-networking
Computed https://github.com/objcio/tiny-networking at 0.4.1 (0.26s)
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/objcio/tiny-networking
Working copy of https://github.com/objcio/tiny-networking resolved at 0.4.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/johnxnguyen/Down
Working copy of https://github.com/johnxnguyen/Down resolved at 0.11.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/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/marmelroy/Zip.git
Working copy of https://github.com/marmelroy/Zip.git resolved at 2.1.1
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
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
[1/19379] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
[256/20720] 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.38s)
[16399/19379] Downloading https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip
Downloaded https://github.com/SAP/cloud-sdk-ios/releases/download/5.1.3-xcfrwk/SAPFoundation-5.1.13-Release-xcframework.zip (1.65s)
Building for debugging...
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.
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/138] Compiling SDAnimatedImageView+WebCache.m
[0/138] Compiling NSData+ImageContentType.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.
[0/138] 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/138] 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/138] Compiling NSImage+Compatibility.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.
[0/138] Compiling SDAnimatedImagePlayer.m
[0/138] Compiling NSButton+WebCache.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 1