The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-log-sentry, reference main (894ccf), with Swift 6.2 (beta) for Linux on 19 Jun 2025 07:31:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericlewis/swift-log-sentry.git
Reference: main
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/ericlewis/swift-log-sentry
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 894ccf4 chore: update adding dep instructions
Cloned https://github.com/ericlewis/swift-log-sentry.git
Revision (git rev-parse @):
894ccf45cfda0b615bc3d69c9e6fc6137a2a07e5
SUCCESS checkout https://github.com/ericlewis/swift-log-sentry.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ericlewis/swift-log-sentry.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/getsentry/sentry-cocoa.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
[1/162792] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (9.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (13.19s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (1.03s)
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.6.3
Building for debugging...
[0/222] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools/Container+SentryDeepSearch.m:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/Tools/Container+SentryDeepSearch.h:53:9: fatal error: 'Foundation/Foundation.h' file not found
   53 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/222] Compiling Container+SentryDeepSearch.m
[1/222] Compiling fishhook.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Tools/SentryCrashCString.m:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Tools/SentryCrashCString.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/222] Compiling SentryCrashCString.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryTraceContext.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryTraceContext.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentryId.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/222] Compiling SentryTraceContext.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryCurrentDate.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryCurrentDate.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryCurrentDateProvider.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/222] Compiling SentryCurrentDate.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilterBasic.m:27:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilterBasic.h:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Reporting/Filters/SentryCrashReportFilter.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/222] Compiling SentryCrashReportFilterBasic.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryUIViewControllerPerformanceTracker.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryUIViewControllerPerformanceTracker.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentryDefines.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/222] Compiling SentryUIViewControllerPerformanceTracker.m
[1/222] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux