The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SentryCocoaLumberjack with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/bruno-garcia/SentryCocoaLumberjack.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/bruno-garcia/SentryCocoaLumberjack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e30623b build
Cloned https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Revision (git rev-parse @):
e30623b76a27647e87d8cba0752724b782ec40ab
SUCCESS checkout https://github.com/bruno-garcia/SentryCocoaLumberjack.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
Fetching https://github.com/getsentry/sentry-cocoa
[1/18012] Fetching cocoalumberjack
[18013/122162] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack from cache (5.02s)
Fetched https://github.com/getsentry/sentry-cocoa from cache (5.10s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.6.2 (0.58s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.68s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.6.2
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m:17:2: error: This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
 ^
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDAbstractDatabaseLogger.m:20:
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDAbstractDatabaseLogger.h:21:
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLog.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/138] Compiling CocoaLumberjack DDAbstractDatabaseLogger.m
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogger.m:19:2: error: This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
 ^
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogger.m:22:9: fatal error: 'asl.h' file not found
#import <asl.h>
        ^~~~~~~
2 errors generated.
[0/138] Compiling CocoaLumberjack DDASLLogger.m
[0/138] Compiling CocoaLumberjack DDFileLogger.m
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDLoggerNames.m:16:
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDLoggerNames.h:16:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/138] Compiling CocoaLumberjack DDLoggerNames.m
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDASLLogCapture.m:18:10: fatal error: 'asl.h' file not found
#include <asl.h>
         ^~~~~~~
1 error generated.
[0/138] Compiling CocoaLumberjack DDASLLogCapture.m
[0/138] Compiling Sentry NSString+SentryUnsignedLongLongValue.m
[0/138] Compiling Sentry NSDictionary+SentrySanitize.m
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDLog.m:17:2: error: This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
 ^
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDLog.m:21:9: fatal error: 'objc/runtime.h' file not found
#import <objc/runtime.h>
        ^~~~~~~~~~~~~~~~
2 errors generated.
[0/138] Compiling CocoaLumberjack DDLog.m
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
[0/1] Planning build
Building for debugging...
[0/138] 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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/138] Compiling Tools 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.
[2/138] Compiling Filters SentryCrashReportFilterBasic.m
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.c:25:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSymbolicator.h:32:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashStackCursor.h:32:
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashMachineContext.h:34:
/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;[2/138] Compiling Tools SentryCrashSymbolicator.c
[2/138] Compiling Tools SentryCrashString.c
[2/138] Compiling Tools SentryCrashThread.c
In file included from /host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.c:27:
/host/spi-builder-workspace/.build/checkouts/sentry-cocoa/Sources/SentryCrash/Recording/Tools/SentryCrashSysCtl.h:39:10: fatal error: 'sys/sysctl.h' file not found
#include <sys/sysctl.h>
         ^~~~~~~~~~~~~~
[2/138] Compiling Tools SentryCrashSysCtl.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/138] Compiling Tools SentryCrashCString.m
[2/138] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2