The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Bugsnag, reference master (b29cda), with Swift 5.9 for Linux on 25 Jul 2024 15:13:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.48.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 b29cdab Merge pull request #1683 from bugsnag/release-v6.30.1
Cloned https://github.com/bugsnag/bugsnag-cocoa.git
Revision (git rev-parse @):
b29cdabec2f0d396a6a80ca1cfe7ee0bfdf04992
SUCCESS checkout https://github.com/bugsnag/bugsnag-cocoa.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/bugsnag/bugsnag-cocoa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/90] 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/90] Compiling BSGStorageMigratorV0V1.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.m:13:
/host/spi-builder-workspace/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin/include/BugsnagNetworkRequestPlugin/BugsnagNetworkRequestPlugin.h:8:9: fatal error: could not build module 'Bugsnag'
#import <Bugsnag/BugsnagPlugin.h>
 ~~~~~~~^
[1/90] Compiling BugsnagNetworkRequestPlugin BugsnagNetworkRequestPlugin.m
[1/90] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingDelegate.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/90] 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/90] Compiling BSGPersistentDeviceID.m
[1/90] Compiling BugsnagNetworkRequestPlugin NSURLSession+Tracing.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/90] Compiling BugsnagUser.m
[1/90] Compiling BugsnagNetworkRequestPlugin BSGURLSessionTracingProxy.m
BUILD FAILURE 5.9 linux