The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bugsnag with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bugsnag/bugsnag-cocoa.git
Reference: master
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/bugsnag/bugsnag-cocoa
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 16b9145 Merge pull request #1633 from bugsnag/release-v6.28.1
Cloned https://github.com/bugsnag/bugsnag-cocoa.git
Revision (git rev-parse @):
16b9145fc66e5296f16e733f6feb5d0e450574e8
SUCCESS checkout https://github.com/bugsnag/bugsnag-cocoa.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/bugsnag/bugsnag-cocoa.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
[0/88] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/88] Compiling Bugsnag resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/88] Compiling BSGStorageMigratorV0V1.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/88] Compiling BSGFileLocations.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/88] Compiling BSGPersistentDeviceID.m
[1/88] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingProxy.m
[1/88] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingDelegate.m
While building module 'Bugsnag' imported from /host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/include/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.h:8:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Bugsnag/include/Bugsnag/Bugsnag.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/88] Compiling BugsnagNetworkRequestPlugin BugsnagNetworkRequestPlugin.m
[1/88] Compiling BugsnagNetworkRequestPlugin NSURLSession+Tracing.m
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/87] Compiling BSGStorageMigratorV0V1.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/87] Compiling Bugsnag resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/87] Compiling BSGPersistentDeviceID.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Bugsnag.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/87] Compiling BSGFileLocations.m
[0/87] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingDelegate.m
While building module 'Bugsnag' imported from /host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BSGURLSessionTracingDelegate.h:8:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Bugsnag/include/Bugsnag/Bugsnag.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/87] Compiling BugsnagNetworkRequestPlugin NSURLSession+Tracing.m
[0/87] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingProxy.m
[0/87] Compiling BugsnagNetworkRequestPlugin BugsnagNetworkRequestPlugin.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 1