The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppCenter with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/microsoft/appcenter-sdk-apple.git
Reference: 5.0.4
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/microsoft/appcenter-sdk-apple
 * tag               5.0.4      -> FETCH_HEAD
HEAD is now at 1120c26 Merge pull request #2505 from microsoft/develop
Submodule path 'Vendor/OCHamcrest': checked out '5f77cf33732dfa02e0b9f15e43d05a9110cc2ff0'
Submodule path 'Vendor/OCMock': checked out 'a8e58d45b47f0a8aca04dcba4980b7ee6ffc06dc'
Submodule path 'Vendor/OHHTTPStubs': checked out 'e92b5a5746ef16add2a1424f1fc19529d9a75cde'
Submodule path 'Vendor/PLCrashReporter': checked out 'cfa78077d4ee2b363b60ce03948026b6c4ca1033'
Submodule 'Vendor/OCHamcrest' (https://github.com/hamcrest/OCHamcrest.git) registered for path 'Vendor/OCHamcrest'
Submodule 'Vendor/OCMock' (https://github.com/erikdoe/ocmock.git) registered for path 'Vendor/OCMock'
Submodule 'Vendor/OHHTTPStubs' (https://github.com/AliSoftware/OHHTTPStubs.git) registered for path 'Vendor/OHHTTPStubs'
Submodule 'Vendor/PLCrashReporter' (https://github.com/microsoft/plcrashreporter) registered for path 'Vendor/PLCrashReporter'
Cloning into '/host/spi-builder-workspace/Vendor/OCHamcrest'...
Cloning into '/host/spi-builder-workspace/Vendor/OCMock'...
Cloning into '/host/spi-builder-workspace/Vendor/OHHTTPStubs'...
Cloning into '/host/spi-builder-workspace/Vendor/PLCrashReporter'...
Cloned https://github.com/microsoft/appcenter-sdk-apple.git
Revision (git rev-parse @):
1120c26835925f8314d035127c580bc71689c620
SUCCESS checkout https://github.com/microsoft/appcenter-sdk-apple.git at 5.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/microsoft/appcenter-sdk-apple.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/microsoft/PLCrashReporter.git
[1/16206] Fetching plcrashreporter
Fetched https://github.com/microsoft/PLCrashReporter.git from cache (2.11s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.46s)
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...
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
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
/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.
[0/136] Compiling MSACDelegateForwarder.m
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
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/UserId/MSACUserIdHistoryInfo.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/UserId/MSACUserIdHistoryInfo.h:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Util/MSACHistoryInfo.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/136] Compiling MSACUserIdHistoryInfo.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
[0/1] Planning build
Building for debugging...
[0/136] Copying AppCenterDistribute.strings
[1/136] Copying Info.plist
[1/136] Copying AppCenterDistribute.strings
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACErrorReport.m:4:
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACErrorReport.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15/136] Compiling MSACErrorReport.m
[15/136] Compiling AppCenterCrashes MSACCrashes.mm
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/WrapperSDKUtilities/MSACWrapperCrashesHelper.m:4:
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/WrapperSDKUtilities/MSACWrapperCrashesHelper.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACWrapperCrashesHelper.m
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACStackFrame.m:4:
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACStackFrame.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACStackFrame.m
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACWrapperExceptionModel.m:4:
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACWrapperExceptionModel.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACWrapperExceptionModel.m
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACExceptionModel.m:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'AppCenter' imported from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/AppCenter+Internal.h:4:
In file included from <module-includes>:1:
/host/spi-builder-workspace/AppCenter/AppCenter/include/AppCenter.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACExceptionModel.m
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACErrorAttachmentLog+Utility.m:4:
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACErrorAttachmentLog+Utility.h:7:
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACErrorAttachmentLog.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACErrorAttachmentLog+Utility.m
In file included from /host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Model/MSACErrorAttachmentLog.m:4:
/host/spi-builder-workspace/AppCenterCrashes/AppCenterCrashes/Internals/Util/MSACCrashesUtil.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[15/136] Compiling MSACErrorAttachmentLog.m
BUILD FAILURE 5.10 linux

Build Machine: Linux 2