The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetricsReporter, reference 2.0.1 (49b0d7), with Swift 6.2 for Android on 2 Nov 2026 01:32:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rudderlabs/metrics-reporter-ios.git
Reference: 2.0.1
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/metrics-reporter-ios
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 49b0d7b chore(release): pulling release/2.0.1 into master
Cloned https://github.com/rudderlabs/metrics-reporter-ios.git
Revision (git rev-parse @):
49b0d7b8f5fefd95da210f6c92fc8a6a9daf0dfd
SUCCESS checkout https://github.com/rudderlabs/metrics-reporter-ios.git at 2.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rudderlabs/metrics-reporter-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9e4b64e17859f153444a8085b41803f96a8252f8f76139cd5e69e2540803aa5a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/crash-reporter-ios
[1/351] Fetching rudder-ios-kit
[352/33579] Fetching rudder-ios-kit, crash-reporter-ios
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (1.10s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.10s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (1.27s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.16s)
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
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
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_Signal.c:27:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Helpers/RSCDefines.h:11:10: fatal error: 'TargetConditionals.h' file not found
   11 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/83] Compiling RSC_KSCrashSentry_Signal.c
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_NSException.m:27:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_NSException.h:37:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry.h:37:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Tools/RSC_KSArchSpecific.h:37:10: fatal error: 'sys/_structs.h' file not found
   37 | #include <sys/_structs.h>
      |          ^~~~~~~~~~~~~~~~
[0/83] Compiling RSC_KSCrashSentry_NSException.m
[0/83] Compiling RSC_KSBacktrace.c
[0/83] Compiling RSCConfigurationBuilder.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/RSC_KSCrashIdentifier.m:3:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/RSC_KSCrash.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSC_KSCrashIdentifier.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/RSC_KSCrashNames.c:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/RSC_KSCrashNames.h:16:10: fatal error: 'mach/machine/vm_types.h' file not found
   16 | #include <mach/machine/vm_types.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSC_KSCrashNames.c
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Delivery/RSCEventUploadOperation.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Delivery/RSCEventUploadOperation.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSCEventUploadOperation.m
[0/83] Write swift-version--11D90AFD9DD3AB2.txt
BUILD FAILURE 6.2 android