The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bugsnag with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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: 6.28.1
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
 * tag               6.28.1     -> FETCH_HEAD
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 6.28.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/bugsnag/bugsnag-cocoa.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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
[1/88] Compiling BSGStorageMigratorV0V1.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BSGURLSessionTracingDelegate.m:8:
/host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BSGURLSessionTracingDelegate.h:8:9: fatal error: could not build module 'Bugsnag'
#import <Bugsnag/Bugsnag.h>
 ~~~~~~~^
2 errors generated.
[1/88] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingDelegate.m
[1/88] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingProxy.m
[1/88] Compiling BugsnagNetworkRequestPlugin BugsnagNetworkRequestPlugin.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
[1/88] Compiling BugsnagNetworkRequestPlugin NSURLSession+Tracing.m
[1/88] Compiling BSGPersistentDeviceID.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
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BSGURLSessionTracingProxy.m:8:
In file included from /host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BSGURLSessionTracingProxy.h:8:
/host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BSGURLSessionTracingDelegate.h:8:9: fatal error: could not build module 'Bugsnag'
#import <Bugsnag/Bugsnag.h>
 ~~~~~~~^
2 errors generated.
[0/87] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingProxy.m
[0/87] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/87] Compiling BugsnagUser.m
[0/87] Compiling BugsnagNetworkRequestPlugin NSURLSession+Tracing.m
[0/87] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingDelegate.m
[0/87] Compiling BugsnagNetworkRequestPlugin BugsnagNetworkRequestPlugin.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
BUILD FAILURE 5.8 linux

Build Machine: Linux 1