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-4609320-1":/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: main
Cloned https://github.com/ericlewis/swift-log-sentry.git into spi-builder-workspace
SUCCESS checkout https://github.com/ericlewis/swift-log-sentry.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/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 (4.66s)
Fetched https://github.com/getsentry/sentry-cocoa.git (4.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.35s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (0.33s)
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
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
Building for debugging...
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
[0/219] Compiling SentryAppState.m
[0/219] Compiling NSDictionary+SentrySanitize.m
[0/219] Compiling NSMutableDictionary+Sentry.m
[0/219] Compiling NSData+SentryCompression.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/NSData+Sentry.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/NSData+Sentry.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/219] Compiling NSData+Sentry.m
[0/219] Compiling NSDate+SentryExtras.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2