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 Rudder, reference develop (3f9a11), with Swift 6.2 (beta) for Linux on 22 Jun 2025 13:36:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rudderlabs/rudder-sdk-ios.git
Reference: develop
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/rudderlabs/rudder-sdk-ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 3f9a11b Merge pull request #563 from rudderlabs/master
Cloned https://github.com/rudderlabs/rudder-sdk-ios.git
Revision (git rev-parse @):
3f9a11bd0ab996f3a3ffe95a3b9ef928408a1fe4
SUCCESS checkout https://github.com/rudderlabs/rudder-sdk-ios.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rudderlabs/rudder-sdk-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/rudderlabs/metrics-reporter-ios
[1/1993] Fetching metrics-reporter-ios
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (0.50s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (2.33s)
Fetching https://github.com/rudderlabs/crash-reporter-ios
Fetching https://github.com/rudderlabs/rudder-ios-kit
[1/33122] Fetching crash-reporter-ios
[2/33370] Fetching crash-reporter-ios, rudder-ios-kit
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (0.38s)
[1988/33122] Fetching crash-reporter-ios
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (2.24s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (2.91s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.99s)
Creating working copy for https://github.com/rudderlabs/rudder-ios-kit
Working copy of https://github.com/rudderlabs/rudder-ios-kit resolved at 1.4.0
Creating working copy for https://github.com/rudderlabs/metrics-reporter-ios
Working copy of https://github.com/rudderlabs/metrics-reporter-ios resolved at 2.0.0
Creating working copy for https://github.com/rudderlabs/crash-reporter-ios
Working copy of https://github.com/rudderlabs/crash-reporter-ios resolved at 1.0.1
Building for debugging...
[0/189] Write sources
[1/189] Copying PrivacyInfo.xcprivacy
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Storage/RSCStorageMigratorV0V1.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Storage/RSCStorageMigratorV0V1.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/189] Compiling RSCStorageMigratorV0V1.m
[2/189] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[2/189] Compiling RSCFileLocations.m
[2/189] Compiling RSCrashReporter RSCrashReporterSystemState.m
[2/189] Compiling RSCNotificationBreadcrumbs.m
[2/189] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCNetworkBreadcrumb.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCNetworkBreadcrumb.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporter.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/189] Compiling RSCNetworkBreadcrumb.m
[2/189] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux