The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-log-sentry with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericlewis/swift-log-sentry.git
Reference: 1.0.0
Cloned https://github.com/ericlewis/swift-log-sentry.git into spi-builder-workspace
SUCCESS checkout https://github.com/ericlewis/swift-log-sentry.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/getsentry/sentry-cocoa.git
Fetching https://github.com/apple/swift-log.git
[1/3079] Fetching swift-log
[3080/93058] Fetching swift-log, sentry-cocoa
Fetched https://github.com/apple/swift-log.git (3.14s)
Fetched https://github.com/getsentry/sentry-cocoa.git (3.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.25s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.27s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/getsentry/sentry-cocoa.git
Working copy of https://github.com/getsentry/sentry-cocoa.git resolved at 7.31.5
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/PrivateSentrySDKOnly.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/PrivateSentrySDKOnly.h:7:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentryDefines.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/219] Compiling PrivateSentrySDKOnly.m
[0/219] Compiling NSData+SentryCompression.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSDictionary+SentrySanitize.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSArray+SentrySanitize.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/219] Compiling NSDictionary+SentrySanitize.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSDate+SentryExtras.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSDate+SentryExtras.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSMutableDictionary+Sentry.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSMutableDictionary+Sentry.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/219] Compiling NSDate+SentryExtras.m
[0/219] Compiling NSMutableDictionary+Sentry.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSLocale+Sentry.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSLocale+Sentry.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/219] Compiling NSLocale+Sentry.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryAppStateManager.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.h:39:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: "The <sys/sysctl.h> header is deprecated and will be removed." [-W#warnings]
#warning "The <sys/sysctl.h> header is deprecated and will be removed."
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryAppStateManager.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.h:171:55: warning: declaration of 'struct kinfo_proc' will not be visible outside of this function [-Wvisibility]
bool sentrycrashsysctl_getProcessInfo(int pid, struct kinfo_proc *procInfo);
                                                      ^
[0/219] Compiling SentryAppStateManager.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1