The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppCenter with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/microsoft/PLCrashReporter.git
[1/16052] Fetching plcrashreporter
Fetched https://github.com/microsoft/PLCrashReporter.git (2.55s)
Computing version for https://github.com/microsoft/PLCrashReporter.git
Computed https://github.com/microsoft/PLCrashReporter.git at 1.11.1 (0.38s)
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/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.
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Device/MSACDeviceHistoryInfo.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Device/MSACDeviceHistoryInfo.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
[0/136] Compiling MSACDeviceHistoryInfo.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelUnitDefault.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACChannelUnitDefault.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/136] Compiling MSACChannelUnitDefault.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Session/MSACSessionHistoryInfo.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Session/MSACSessionHistoryInfo.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.
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/UserId/MSACUserIdContext.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.
[0/136] Compiling MSACUserIdContext.m
[0/136] Compiling MSACSessionHistoryInfo.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Channel/MSACOneCollectorChannelDelegate.m:4:
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Model/MSACAbstractLogInternal.h:4:
/host/spi-builder-workspace/AppCenter/AppCenter/include/MSACAbstractLog.h:7:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/136] Compiling MSACOneCollectorChannelDelegate.m
In file included from /host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Device/MSACDeviceTracker.m:4:
/host/spi-builder-workspace/AppCenter/AppCenter/Internals/Context/Device/MSACDeviceTracker.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/136] Compiling MSACDeviceTracker.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.
[0/136] Compiling MSACSessionContext.m
BUILD FAILURE 5.8 linux

Build Machine: Linux 2