The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RollbarSDK, reference master (e00857), with Swift 6.3 for Linux on 19 Apr 2026 14:18:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rollbar/rollbar-apple.git
Reference: master
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/rollbar/rollbar-apple
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e008574 Fix Rollbar.podspec module_map Array bug and add .ruby-version (#371)
Cloned https://github.com/rollbar/rollbar-apple.git
Revision (git rev-parse @):
e008574c10e9f0e6f88e69d749807fd92ca36172
SUCCESS checkout https://github.com/rollbar/rollbar-apple.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/rollbar/rollbar-apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/19023] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (1.51s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.1 (2.33s)
Fetching https://github.com/apple/swift-log
[1/6635] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.76s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (1.55s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.9.1
Building for debugging...
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:7:37: error: cannot find interface declaration for 'NSObject', superclass of 'RollbarCachesDirectory'
    7 | @interface RollbarCachesDirectory : NSObject
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:10:12: error: expected a type
   10 | + (nonnull NSString *)directory;
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:13:4: error: expected a type
   13 | + (BOOL)ensureCachesDirectoryExists;
      |    ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:17:4: error: expected a type
   17 | + (BOOL)checkCacheFileExists:(nonnull NSString *)fileName;
      |    ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:17:39: error: expected a type
   17 | + (BOOL)checkCacheFileExists:(nonnull NSString *)fileName;
      |                                       ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:21:12: error: expected a type
   21 | + (nonnull NSString *)getCacheFilePath:(nonnull NSString *)fileName;
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:21:49: error: expected a type
   21 | + (nonnull NSString *)getCacheFilePath:(nonnull NSString *)fileName;
      |                                                 ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCachesDirectory.h:26:29: error: expected ';' after method prototype
   26 | - (nonnull instancetype)init
      |                             ^
      |                             ;
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:2:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:7:13: error: unknown type name 'NSString'
    7 | void RBCLog(NSString *format, ...);
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarInternalLogging.h:10:13: error: unknown type name 'NSString'
   10 | void RBCErr(NSString *format, ...);
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:6:4: error: expected a type
    6 | + (NSString *)directory {
      |    ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:39:4: error: expected a type
   39 | + (BOOL)ensureCachesDirectoryExists {
      |    ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:66:4: error: expected a type
   66 | + (BOOL)checkCacheFileExists:(nonnull NSString *)fileName {
      |    ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:66:39: error: expected a type
   66 | + (BOOL)checkCacheFileExists:(nonnull NSString *)fileName {
      |                                       ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:73:12: error: expected a type
   73 | + (nonnull NSString *)getCacheFilePath:(nonnull NSString *)fileName {
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:73:49: error: expected a type
   73 | + (nonnull NSString *)getCacheFilePath:(nonnull NSString *)fileName {
      |                                                 ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCachesDirectory.m:8:5: error: use of undeclared identifier 'NSArray'
    8 |     NSArray *paths = NSSearchPathForDirectoriesInDomains(
      |     ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/148] Compiling RollbarCommon RollbarCachesDirectory.m
[0/148] Compiling RollbarCommon NSObject+Rollbar.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarCrashReportUtil.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:6:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    6 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:8:1: error: function definition declared 'typedef'
    8 | typedef NS_ENUM(NSUInteger, RollbarExceptionInfo) {
      | ^~~~~~~
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:8:29: error: parameter 'RollbarExceptionInfo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    8 | typedef NS_ENUM(NSUInteger, RollbarExceptionInfo) {
      |                             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:8:17: error: parameter 'NSUInteger' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
    8 | typedef NS_ENUM(NSUInteger, RollbarExceptionInfo) {
      |                 ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:9:5: error: use of undeclared identifier 'RollbarExceptionInfo_Type'; did you mean 'RollbarExceptionInfo'?
    9 |     RollbarExceptionInfo_Type,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
      |     RollbarExceptionInfo
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:8:29: note: 'RollbarExceptionInfo' declared here
    8 | typedef NS_ENUM(NSUInteger, RollbarExceptionInfo) {
      |                             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:10:5: error: use of undeclared identifier 'RollbarExceptionInfo_Codes'; did you mean 'RollbarExceptionInfo'?
   10 |     RollbarExceptionInfo_Codes,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |     RollbarExceptionInfo
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:8:29: note: 'RollbarExceptionInfo' declared here
    8 | typedef NS_ENUM(NSUInteger, RollbarExceptionInfo) {
      |                             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:11:5: error: use of undeclared identifier 'RollbarExceptionInfo_Backtraces'
   11 |     RollbarExceptionInfo_Backtraces
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:8:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
    8 | typedef NS_ENUM(NSUInteger, RollbarExceptionInfo) {
      |         ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:9:5: warning: left operand of comma operator has no effect [-Wunused-value]
    9 |     RollbarExceptionInfo_Type,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:14:1: error: function definition declared 'typedef'
   14 | typedef NS_ENUM(NSUInteger, RollbarBacktraceComponent) {
      | ^~~~~~~
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:14:29: error: parameter 'RollbarBacktraceComponent' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   14 | typedef NS_ENUM(NSUInteger, RollbarBacktraceComponent) {
      |                             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarCrashReportUtil.h:14:17: error: parameter 'NSUInteger' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   14 | typedef NS_ENUM(NSUIn file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/NSJSONSerialization+Rollbar.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:7:12: error: cannot find interface declaration for 'NSJSONSerialization'
    7 | @interface NSJSONSerialization (Rollbar)
      |            ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:9:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    9 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:1: error: expected identifier or '('
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      | ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:16:13: error: expected a type
   16 | + (nullable NSData *)rollbar_dataWithJSONObject:(id)obj
      |             ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:17:50: error: expected a type
   17 |                                         options:(NSJSONWritingOptions)opt
      |                                                  ^
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/NSJSONSerialization+Rollbar.h:18:50: error: expected a type
   18 |                               [0/148] Compiling RollbarCommon NSJSONSerialization+Rollbar.m
[0/148] Compiling RollbarCommon RollbarCrashReportUtil.m
[0/148] Compiling RollbarCommon NSDate+Rollbar.m
[0/148] Compiling RollbarTaskDispatcher.m
[0/148] Compiling RollbarCommon NSDictionary+Rollbar.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/RollbarBundleUtil.m:1:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarBundleUtil.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1[0/148] Compiling RollbarCommon RollbarBundleUtil.m
BUILD FAILURE 6.3 linux