The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SentryCocoaLumberjack with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/bruno-garcia/SentryCocoaLumberjack.git
Reference: main
Cloned https://github.com/bruno-garcia/SentryCocoaLumberjack.git into spi-builder-workspace
SUCCESS checkout https://github.com/bruno-garcia/SentryCocoaLumberjack.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-4606859-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
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
[1/17330] Fetching cocoalumberjack
[17331/107164] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack (0.78s)
[1797/89834] Fetching sentry-cocoa
Fetched https://github.com/getsentry/sentry-cocoa (3.26s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.6.2 (0.28s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.31s)
Creating working copy for https://github.com/getsentry/sentry-cocoa
Working copy of https://github.com/getsentry/sentry-cocoa resolved at 5.2.2
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack resolved at 3.6.2
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/SentryCocoaLumberjack/Example': File not found.
Building for debugging...
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.
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.
[0/133] Compiling Tools SentryCrashCString.m
[0/133] Compiling CocoaLumberjack DDLoggerNames.m
/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.
/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/133] Compiling CocoaLumberjack DDASLLogCapture.m
[0/133] Compiling CocoaLumberjack DDAbstractDatabaseLogger.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/133] Compiling CocoaLumberjack DDLog.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/133] Compiling CocoaLumberjack DDASLLogger.m
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger.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/DDFileLogger.m:22:
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDFileLogger+Internal.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDFileLogger.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/133] Compiling CocoaLumberjack DDFileLogger.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1