The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RollbarSDK, reference 3.4.0 (e00857), with Swift 6.0 for Linux on 30 Mar 2026 23:57:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rollbar/rollbar-apple.git
Reference: 3.4.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/rollbar/rollbar-apple
 * tag               3.4.0      -> FETCH_HEAD
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 3.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rollbar/rollbar-apple.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:1db7dbcaf887dbb499f5976218948969b74406bfba66e3dcc9b7cf6b3e333907
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18976] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (0.96s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.0 (0.66s)
Fetching https://github.com/apple/swift-log
[1/6314] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.54s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.65s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.9.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Building for debugging...
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulEntrySnapper.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulEntrySnapper.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulPredicateBuilder.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulPredicateBuilder.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulPredicateBuilder.m
[0/148] Compiling RollbarAUL RollbarAulEntrySnapper.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulClient.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulClient.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulClient.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/DTOs/RollbarDTO+Protected.m:1:
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarDTO+Protected.h:4:
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarDTO.h:4:
/host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/include/RollbarJSONSupport.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
[0/148] Compiling RollbarDTO+Protected.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulStoreMonitorOptions.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulStoreMonitorOptions.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1[0/148] Compiling RollbarAUL RollbarAulStoreMonitorOptions.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulOSLogEntryLogLevelConverter.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulOSLogEntryLogLevelConverter.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulOSLogEntryLogLevelConverter.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulStoreMonitor.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulStoreMonitor.h:4:1: error: use of '@import' when modules are disabled
    4 | @import Foundation;
      | ^
1 error generated.
[0/148] Compiling RollbarAUL RollbarAulStoreMonitor.m
In file included from /host/spi-builder-workspace/RollbarCocoaLumberjack/Sources/RollbarCocoaLumberjack/RollbarCocoaLumberjackLogger.m:1:
/host/spi-builder-workspace/RollbarCocoaLumberjack/Sources/RollbarCocoaLumberjack/include/RollbarCocoaLumberjackLogger.h:4:9: fatal error: 'Foundation/Foundation.h' file not found
    4 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/148] Compiling RollbarCocoaLumberjack RollbarCocoaLumberjackLogger.m
BUILD FAILURE 6.0 linux