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 RSCrashReporter, reference master (ee5635), with Swift 6.1 for Android on 29 May 2025 23:52:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rudderlabs/crash-reporter-ios.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/rudderlabs/crash-reporter-ios
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ee56353 chore(release): pulling release/1.0.1 into master
Cloned https://github.com/rudderlabs/crash-reporter-ios.git
Revision (git rev-parse @):
ee563535b64d9d5feacd0fa243663b2658033a19
SUCCESS checkout https://github.com/rudderlabs/crash-reporter-ios.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rudderlabs/crash-reporter-ios.git
https://github.com/rudderlabs/crash-reporter-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "RSCrashReporter",
  "name" : "RSCrashReporter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "tvos",
      "version" : "9.2"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "6.3"
    }
  ],
  "products" : [
    {
      "name" : "RSCrashReporter",
      "targets" : [
        "RSCrashReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RSCrashReporter",
      "module_type" : "ClangTarget",
      "name" : "RSCrashReporter",
      "path" : "RSCrashReporter",
      "product_memberships" : [
        "RSCrashReporter"
      ],
      "sources" : [
        "Breadcrumbs/RSCNetworkBreadcrumb.m",
        "Breadcrumbs/RSCNotificationBreadcrumbs.m",
        "Breadcrumbs/RSCrashReporterBreadcrumbs.m",
        "Client/RSCrashReporterClient.m",
        "Configuration/RSCConfigurationBuilder.m",
        "Configuration/RSCrashReporterConfiguration.m",
        "Configuration/RSCrashReporterEndpointConfiguration.m",
        "Configuration/RSCrashReporterErrorTypes.m",
        "Delivery/RSCConnectivity.m",
        "Delivery/RSCEventUploadFileOperation.m",
        "Delivery/RSCEventUploadKSCrashReportOperation.m",
        "Delivery/RSCEventUploadObjectOperation.m",
        "Delivery/RSCEventUploadOperation.m",
        "Delivery/RSCEventUploader.m",
        "Delivery/RSCSessionUploader.m",
        "Delivery/RSCrashReporterApiClient.m",
        "Helpers/MRCCanary.m",
        "Helpers/RSCAppHangDetector.m",
        "Helpers/RSCFeatureFlagStore.m",
        "Helpers/RSCGlobals.m",
        "Helpers/RSCInternalErrorReporter.m",
        "Helpers/RSCJSONSerialization.m",
        "Helpers/RSCRunContext.m",
        "Helpers/RSCSerialization.m",
        "Helpers/RSCTelemetry.m",
        "Helpers/RSCUtils.m",
        "Helpers/RSC_RFC3339DateTool.m",
        "Helpers/RSCrashReporterCollections.m",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrash.m",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrashC.c",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrashDoctor.m",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrashIdentifier.m",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrashNames.c",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrashReport.c",
        "KSCrash/Source/KSCrash/Recording/RSC_KSCrashState.m",
        "KSCrash/Source/KSCrash/Recording/RSC_KSFile.c",
        "KSCrash/Source/KSCrash/Recording/RSC_KSSystemInfo.m",
        "KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry.c",
        "KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_CPPException.mm",
        "KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_MachException.c",
        "KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_NSException.m",
        "KSCrash/Source/KSCrash/Recording/Sentry/RSC_KSCrashSentry_Signal.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSBacktrace.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSCrashStringConversion.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSFileUtils.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSJSONCodec.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSLogger.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSMach.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSMachHeaders.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSMach_Arm.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSMach_Arm64.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSMach_x86_32.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSMach_x86_64.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSSignalInfo.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSString.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_KSSysCtl.c",
        "KSCrash/Source/KSCrash/Recording/Tools/RSC_Symbolicate.c",
        "Metadata/RSCrashReporterMetadata.m",
        "Payload/RSCrashReporterApp.m",
        "Payload/RSCrashReporterAppWithState.m",
        "Payload/RSCrashReporterBreadcrumb.m",
        "Payload/RSCrashReporterDevice.m",
        "Payload/RSCrashReporterDeviceWithState.m",
        "Payload/RSCrashReporterError.m",
        "Payload/RSCrashReporterEvent.m",
        "Payload/RSCrashReporterHandledState.m",
        "Payload/RSCrashReporterNotifier.m",
        "Payload/RSCrashReporterSession.m",
        "Payload/RSCrashReporterStackframe.m",
        "Payload/RSCrashReporterStacktrace.m",
        "Payload/RSCrashReporterThread.m",
        "Payload/RSCrashReporterUser.m",
        "RSCCrashSentry.m",
        "RSCrashReporter.m",
        "RSCrashReporterFeatureFlag.m",
        "RSCrashReporterLastRunInfo.m",
        "RSCrashReporterSessionTracker.m",
        "RSCrashReporterSystemState.m",
        "Storage/RSCFileLocations.m",
        "Storage/RSCStorageMigratorV0V1.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/RSCrashReporter/Configuration/RSCConfigurationBuilder.m:1:
In file included from /host/spi-builder-workspace/RSCrashReporter/Configuration/RSCConfigurationBuilder.h:1:
/host/spi-builder-workspace/RSCrashReporter/include/RSCrashReporter/RSCrashReporterConfiguration.h:27:9: fatal error: 'Foundation/Foundation.h' file not found
   27 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/80] Compiling RSCConfigurationBuilder.m
In file included from /host/spi-builder-workspace/RSCrashReporter/Breadcrumbs/RSCNetworkBreadcrumb.m:9:
In file included from /host/spi-builder-workspace/RSCrashReporter/Breadcrumbs/RSCNetworkBreadcrumb.h:9:
/host/spi-builder-workspace/RSCrashReporter/include/RSCrashReporter/RSCrashReporter.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCNetworkBreadcrumb.m
[0/80] Compiling RSCrashReporterEndpointConfiguration.m
In file included from /host/spi-builder-workspace/RSCrashReporter/Breadcrumbs/RSCrashReporterBreadcrumbs.m:9:
/host/spi-builder-workspace/RSCrashReporter/Breadcrumbs/RSCrashReporterBreadcrumbs.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/80] Compiling RSCrashReporterBreadcrumbs.m
In file included from /host/spi-builder-workspace/RSCrashReporter/Breadcrumbs/RSCNotificationBreadcrumbs.m:9:
In file included from /host/spi-builder-workspace/RSCrashReporter/Breadcrumbs/RSCNotificationBreadcrumbs.h:9:
/host/spi-builder-workspace/RSCrashReporter/include/RSCrashReporter/RSCrashReporterBreadcrumb.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCNotificationBreadcrumbs.m
[0/80] Compiling RSCStorageMigratorV0V1.m
In file included from /host/spi-builder-workspace/RSCrashReporter/Configuration/RSCrashReporterConfiguration.m:27:
In file included from /host/spi-builder-workspace/RSCrashReporter/Configuration/RSCrashReporterConfiguration+Private.h:9:
/host/spi-builder-workspace/RSCrashReporter/Helpers/RSCDefines.h:11:10: fatal error: 'TargetConditionals.h' file not found
   11 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCrashReporterConfiguration.m
In file included from /host/spi-builder-workspace/RSCrashReporter/Client/RSCrashReporterClient.m:27:
In file included from /host/spi-builder-workspace/RSCrashReporter/Client/RSCrashReporterClient+Private.h:9:
/host/spi-builder-workspace/RSCrashReporter/Helpers/RSCDefines.h:11:10: fatal error: 'TargetConditionals.h' file not found
   11 | #include <TargetConditionals.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCrashReporterClient.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/RSCrashReporter/Storage/RSCFileLocations.m:9:
/host/spi-builder-workspace/RSCrashReporter/Storage/RSCFileLocations.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/80] Compiling RSCFileLocations.m
[0/80] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
In file included from /host/spi-builder-workspace/RSCrashReporter/Storage/RSCStorageMigratorV0V1.m:9:
/host/spi-builder-workspace/RSCrashReporter/Storage/RSCStorageMigratorV0V1.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCStorageMigratorV0V1.m
In file included from /host/spi-builder-workspace/RSCrashReporter/RSCrashReporter.m:27:
/host/spi-builder-workspace/RSCrashReporter/include/RSCrashReporter/RSCrashReporter.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCrashReporter RSCrashReporter.m
In file included from /host/spi-builder-workspace/RSCrashReporter/RSCrashReporterLastRunInfo.m:9:
In file included from /host/spi-builder-workspace/RSCrashReporter/RSCrashReporterLastRunInfo+Private.h:9:
/host/spi-builder-workspace/RSCrashReporter/include/RSCrashReporter/RSCrashReporterLastRunInfo.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/80] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
In file included from /host/spi-builder-workspace/RSCrashReporter/RSCrashReporterFeatureFlag.m:9:
/host/spi-builder-workspace/RSCrashReporter/include/RSCrashReporter/RSCrashReporterFeatureFlag.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/80] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
In file included from /host/spi-builder-workspace/RSCrashReporter/RSCrashReporterSystemState.m:9:
/host/spi-builder-workspace/RSCrashReporter/RSCrashReporterSystemState.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/80] Compiling RSCrashReporter RSCrashReporterSystemState.m
[0/80] Compiling RSCrashReporter RSCCrashSentry.m
BUILD FAILURE 6.1 android