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 swift-log-sentry with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericlewis/swift-log-sentry.git
Reference: 1.0.0
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
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 3080626 chore: fix link in readme
Cloned https://github.com/ericlewis/swift-log-sentry.git
Revision (git rev-parse @):
3080626539ec70b0ff648a565132810f29a4f7d7
SUCCESS checkout https://github.com/ericlewis/swift-log-sentry.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ericlewis/swift-log-sentry.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/getsentry/sentry-cocoa.git
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.34s)
[1/104307] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa.git from cache (3.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.47s)
Computing version for https://github.com/getsentry/sentry-cocoa.git
Computed https://github.com/getsentry/sentry-cocoa.git at 7.31.5 (1.18s)
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.4
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/SentryClientReport.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryClientReport.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentrySerializable.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/222] Compiling SentryClientReport.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryByteCountFormatter.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryByteCountFormatter.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/222] Compiling SentryByteCountFormatter.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryBreadcrumb.m:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentryBreadcrumb.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/222] Compiling SentryBreadcrumb.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryBreadcrumbTracker.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryBreadcrumbTracker.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/222] Compiling SentryBreadcrumbTracker.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryBaseIntegration.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryBaseIntegration.h:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentryOptions.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/222] Compiling SentryBaseIntegration.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryClient.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/Public/SentryClient.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/222] Compiling SentryClient.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/SentryConcurrentRateLimitsDictionary.m:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryConcurrentRateLimitsDictionary.h:1:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/Sentry/include/SentryDataCategory.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/222] Compiling SentryConcurrentRateLimitsDictionary.m
[0/222] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
[0/222] Write sources
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/222] Compiling SentryCrashCString.m
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/222] Compiling Container+SentryDeepSearch.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/222] Compiling SentryCrashReportFilterBasic.m
[1/222] Compiling SentryCrashThread.c
[1/222] Compiling SentryCrashUUIDConversion.c
[1/222] Compiling SentryCrashSysCtl.c
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/fishhook.c:27:10: fatal error: 'mach-o/dyld.h' file not found
#include <mach-o/dyld.h>
         ^~~~~~~~~~~~~~~
[1/222] Compiling fishhook.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryHook.c:1:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryHook.h:4:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashThread.h:37:9: error: unknown type name 'uintptr_t'; did you mean '__intptr_t'?
typedef uintptr_t SentryCrashThread;
        ^~~~~~~~~
        __intptr_t
/usr/include/x86_64-linux-gnu/bits/types.h:207:25: note: '__intptr_t' declared here
__STD_TYPE __SWORD_TYPE __intptr_t;
                        ^
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryHook.c:3:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashStackCursor.h:32:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.h:35:10: fatal error: 'mach/mach.h' file not found
#include <mach/mach.h>
         ^~~~~~~~~~~~~
[1/222] Compiling SentryHook.c
BUILD FAILURE 5.10 linux