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-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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bruno-garcia/SentryCocoaLumberjack.git
Reference: 0.0.1-alpha.2
Cloned https://github.com/bruno-garcia/SentryCocoaLumberjack.git into spi-builder-workspace
SUCCESS checkout https://github.com/bruno-garcia/SentryCocoaLumberjack.git at 0.0.1-alpha.2
========================================
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
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack
[1/17452] Fetching cocoalumberjack
[17453/111410] Fetching cocoalumberjack, sentry-cocoa
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack (4.69s)
Fetched https://github.com/getsentry/sentry-cocoa (4.76s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack
Computed https://github.com/CocoaLumberjack/CocoaLumberjack at 3.6.2 (0.37s)
Computing version for https://github.com/getsentry/sentry-cocoa
Computed https://github.com/getsentry/sentry-cocoa at 5.2.2 (0.40s)
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...
[0/133] Compiling CLIColor.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.
[1/133] Compiling CocoaLumberjack DDASLLogger.m
[1/133] Compiling Tools Container+SentryDeepSearch.m
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDTTYLogger.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/DDTTYLogger.m:22:
In file included from /host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDTTYLogger.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.
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/133] Compiling Tools SentryCrashCString.m
[1/133] Compiling CocoaLumberjack DDTTYLogger.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.
[1/133] Compiling CocoaLumberjack DDAbstractDatabaseLogger.m
/host/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/DDOSLogger.m:16:9: fatal error: 'os/log.h' file not found
#import <os/log.h>
        ^~~~~~~~~~
1 error generated.
[1/133] Compiling CocoaLumberjack DDOSLogger.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/133] Compiling CocoaLumberjack DDASLLogCapture.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 2