The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppCenter with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/appcenter-sdk-apple.git
Reference: 5.0.4
Cloned https://github.com/microsoft/appcenter-sdk-apple.git into spi-builder-workspace
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at 5.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/microsoft/PLCrashReporter.git
[1/16052] Fetching plcrashreporter
Fetched https://github.com/microsoft/PLCrashReporter.git (2.27s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.80s)
Creating working copy for https://github.com/microsoft/PLCrashReporter.git
Working copy of https://github.com/microsoft/PLCrashReporter.git resolved at 1.11.1
Building for debugging...
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/DelegateForwarder/MSACDelegateForwarder.m:4:9: fatal error: 'objc/runtime.h' file not found
#import <objc/runtime.h>
        ^~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/HttpClient/Util/MSACHttpUtil.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/HttpClient/Util/MSACHttpUtil.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/136] Compiling MSACHttpUtil.m
[0/136] Compiling MSACDelegateForwarder.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Session/MSACSessionContext.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/MSACAppCenterInternal.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/DelegateForwarder/MSACAppDelegateForwarder.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/DelegateForwarder/MSACAppDelegateForwarder.h:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/DelegateForwarder/MSACCustomApplicationDelegate.h:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/DelegateForwarder/MSACAppDelegateUtil.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/136] Compiling MSACAppDelegateForwarder.m
[0/136] Compiling MSACSessionContext.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/HttpClient/MSACHttpCall.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/HttpClient/MSACHttpCall.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/136] Compiling MSACHttpCall.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Ingestion/MSACAppCenterIngestion.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Ingestion/MSACAppCenterIngestion.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/136] Compiling MSACAppCenterIngestion.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/HttpClient/MSACHttpClient.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/HttpClient/MSACHttpClient.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/136] Compiling MSACHttpClient.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Ingestion/MSACHttpIngestion.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Ingestion/MSACHttpIngestion.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/136] Compiling MSACHttpIngestion.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2