The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RollbarSDK, reference 3.3.3 (2077a0), with Swift 5.9 for Linux on 19 Apr 2025 16:55:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rollbar/rollbar-apple.git
Reference: 3.3.3
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.3.3      -> FETCH_HEAD
HEAD is now at 2077a05 Bumped version to 3.3.3 (#359)
Cloned https://github.com/rollbar/rollbar-apple.git
Revision (git rev-parse @):
2077a05788a740eea7d804c293c7d5313169b5ed
SUCCESS checkout https://github.com/rollbar/rollbar-apple.git at 3.3.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/18504] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git (0.75s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.8.5 (0.30s)
Fetching https://github.com/apple/swift-log
[1/3832] Fetching swift-log
Fetched https://github.com/apple/swift-log (0.32s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.30s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.8.5
Building for debugging...
[0/146] Copying PrivacyInfo.xcprivacy
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulLogLevelConverter.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/include/RollbarAulLogLevelConverter.h:4:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[1/146] Compiling RollbarAUL RollbarAulLogLevelConverter.m
[1/146] Compiling RollbarDeploys RollbarDeploysManager.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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[1/146] Compiling RollbarAUL RollbarAulOSLogEntryLogLevelConverter.m
In file included from /host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulPredicateBuilder.m:1:
/host/spi-builder-workspace/RollbarAUL/Sources/RollbarAUL/RollbarAulPredicateBuilder.h:4:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[1/146] Compiling RollbarAUL RollbarAulPredicateBuilder.m
[1/146] Compiling RollbarReceptionist.m
[1/146] Compiling RollbarBuilder.m
In file included from /host/spi-builder-workspace/RollbarCommon/Sources/RollbarCommon/DTOs/RollbarDTO.m:1:
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:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[1/146] Compiling RollbarDTO.m
BUILD FAILURE 5.9 linux