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 (2ff4a3), with Swift 6.1 for Linux on 8 Nov 2025 04:14:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 2ff4a3a chore: apply security best practices from step security (#571)
Cloned https://github.com/rudderlabs/rudder-sdk-ios.git
Revision (git rev-parse @):
2ff4a3ae3635b955641efe7457800eaeca15cd8f
SUCCESS checkout https://github.com/rudderlabs/rudder-sdk-ios.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rudderlabs/rudder-sdk-ios.git
https://github.com/rudderlabs/rudder-sdk-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "metrics-reporter-ios",
      "requirement" : {
        "exact" : [
          "2.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rudderlabs/metrics-reporter-ios"
    }
  ],
  "manifest_display_name" : "Rudder",
  "name" : "Rudder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Rudder",
      "targets" : [
        "Rudder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RudderTests",
      "module_type" : "SwiftTarget",
      "name" : "RudderTests",
      "path" : "Tests",
      "product_dependencies" : [
        "MetricsReporter"
      ],
      "sources" : [
        "ConserFilterHandlerTests.swift",
        "ContextTests.swift",
        "DBPersistentManagerTests.swift",
        "DataResidencyTests.swift",
        "DefaultsPersistenceTests.swift",
        "EventRepositoryTests.swift",
        "Extensions.swift",
        "RudderUtilsTest.swift",
        "ServerConfigManagerTests.swift",
        "TestUtils.swift",
        "UserSessionTests.swift"
      ],
      "target_dependencies" : [
        "Rudder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Rudder",
      "module_type" : "ClangTarget",
      "name" : "Rudder",
      "path" : "Sources",
      "product_dependencies" : [
        "MetricsReporter"
      ],
      "product_memberships" : [
        "Rudder"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Classes/Ecomm/Events/RSCartSharedEvent.m",
        "Classes/Ecomm/Events/RSCartViewedEvent.m",
        "Classes/Ecomm/Events/RSCheckoutStartedEvent.m",
        "Classes/Ecomm/Events/RSCheckoutStepCompletedEvent.m",
        "Classes/Ecomm/Events/RSCheckoutStepViewedEvent.m",
        "Classes/Ecomm/Events/RSCouponAppliedEvent.m",
        "Classes/Ecomm/Events/RSCouponDeniedEvent.m",
        "Classes/Ecomm/Events/RSCouponEnteredEvent.m",
        "Classes/Ecomm/Events/RSCouponRemovedEvent.m",
        "Classes/Ecomm/Events/RSOrderCancelledEvent.m",
        "Classes/Ecomm/Events/RSOrderCompletedEvent.m",
        "Classes/Ecomm/Events/RSOrderRefundedEvent.m",
        "Classes/Ecomm/Events/RSOrderUpdatedEvent.m",
        "Classes/Ecomm/Events/RSPaymentInfoEnteredEvent.m",
        "Classes/Ecomm/Events/RSProductAddedToCartEvent.m",
        "Classes/Ecomm/Events/RSProductAddedToWishListEvent.m",
        "Classes/Ecomm/Events/RSProductClickedEvent.m",
        "Classes/Ecomm/Events/RSProductListFilteredEvent.m",
        "Classes/Ecomm/Events/RSProductListViewedEvent.m",
        "Classes/Ecomm/Events/RSProductRemovedEvent.m",
        "Classes/Ecomm/Events/RSProductRemovedFromWishListEvent.m",
        "Classes/Ecomm/Events/RSProductReviewedEvent.m",
        "Classes/Ecomm/Events/RSProductSearchedEvent.m",
        "Classes/Ecomm/Events/RSProductSharedEvent.m",
        "Classes/Ecomm/Events/RSProductViewedEvent.m",
        "Classes/Ecomm/Events/RSPromotionClickedEvent.m",
        "Classes/Ecomm/Events/RSPromotionViewedEvent.m",
        "Classes/Ecomm/Events/RSWishListProductAddedToCartEvent.m",
        "Classes/Ecomm/RSECommerceCart.m",
        "Classes/Ecomm/RSECommerceCartBuilder.m",
        "Classes/Ecomm/RSECommerceCheckout.m",
        "Classes/Ecomm/RSECommerceCheckoutBuilder.m",
        "Classes/Ecomm/RSECommerceCoupon.m",
        "Classes/Ecomm/RSECommerceCouponBuilder.m",
        "Classes/Ecomm/RSECommerceEvents.m",
        "Classes/Ecomm/RSECommerceFilter.m",
        "Classes/Ecomm/RSECommerceFilterBuilder.m",
        "Classes/Ecomm/RSECommerceOrder.m",
        "Classes/Ecomm/RSECommerceOrderBuilder.m",
        "Classes/Ecomm/RSECommerceParamNames.m",
        "Classes/Ecomm/RSECommerceProduct.m",
        "Classes/Ecomm/RSECommerceProductBuilder.m",
        "Classes/Ecomm/RSECommercePromotion.m",
        "Classes/Ecomm/RSECommercePromotionBuilder.m",
        "Classes/Ecomm/RSECommerceSort.m",
        "Classes/Ecomm/RSECommerceSortBuilder.m",
        "Classes/Ecomm/RSECommerceWishList.m",
        "Classes/Ecomm/RSECommerceWishListBuilder.m",
        "Classes/NSData+GZIP.m",
        "Classes/RSApp.m",
        "Classes/RSApplicationLifeCycleManager.m",
        "Classes/RSBackGroundModeManager.m",
        "Classes/RSClient.m",
        "Classes/RSCloudModeManager.m",
        "Classes/RSConfig.m",
        "Classes/RSConfigBuilder.m",
        "Classes/RSConsentFilterHandler.m",
        "Classes/RSConstants.m",
        "Classes/RSContext.m",
        "Classes/RSDBEncryption.m",
        "Classes/RSDBMessage.m",
        "Classes/RSDBPersistentManager.m",
        "Classes/RSDataResidencyManager.m",
        "Classes/RSDefaultDatabase.m",
        "Classes/RSDefaultDatabaseProvider.m",
        "Classes/RSDefaultsPersistence.m",
        "Classes/RSDeviceInfo.m",
        "Classes/RSDeviceModeManager.m",
        "Classes/RSDeviceModeTransformationManager.m",
        "Classes/RSElementCache.m",
        "Classes/RSEventFilteringPlugin.m",
        "Classes/RSEventRepository.m",
        "Classes/RSExponentialBackOff.m",
        "Classes/RSFlushManager.m",
        "Classes/RSLibraryInfo.m",
        "Classes/RSLogger.m",
        "Classes/RSMessage.m",
        "Classes/RSMessageBuilder.m",
        "Classes/RSMessageType.m",
        "Classes/RSMetricsReporter.m",
        "Classes/RSNetwork.m",
        "Classes/RSNetworkManager.m",
        "Classes/RSNetworkResponse.m",
        "Classes/RSOSInfo.m",
        "Classes/RSOption.m",
        "Classes/RSPagePropertyBuilder.m",
        "Classes/RSPreferenceManager.m",
        "Classes/RSProperty.m",
        "Classes/RSScreenInfo.m",
        "Classes/RSScreenPropertyBuilder.m",
        "Classes/RSServerConfigManager.m",
        "Classes/RSServerConfigSource.m",
        "Classes/RSServerDestination.m",
        "Classes/RSServerDestinationDefinition.m",
        "Classes/RSTrackPropertyBuilder.m",
        "Classes/RSTraits.m",
        "Classes/RSTraitsBuilder.m",
        "Classes/RSTransformationEvent.m",
        "Classes/RSTransformationMetadata.m",
        "Classes/RSTransformationRequest.m",
        "Classes/RSUserSession.m",
        "Classes/RSUtils.m",
        "Classes/UIViewController+RSScreen.m",
        "Classes/WKInterfaceController+RSScreen.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/rudderlabs/metrics-reporter-ios
[1/2035] Fetching metrics-reporter-ios
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (1.25s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (2.12s)
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/crash-reporter-ios
[1/313] Fetching rudder-ios-kit
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (0.24s)
[1/33190] Fetching crash-reporter-ios
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.76s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (2.42s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.61s)
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/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/rudder-ios-kit
Working copy of https://github.com/rudderlabs/rudder-ios-kit resolved at 1.4.0
Building for debugging...
[0/189] Copying PrivacyInfo.xcprivacy
[1/189] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Storage/RSCFileLocations.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Storage/RSCFileLocations.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/189] Compiling RSCFileLocations.m
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
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterFeatureFlag.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporterFeatureFlag.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/189] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[2/189] Compiling RSCrashReporter RSCrashReporterSystemState.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporter.m:27:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporter.h:[2/189] Compiling RSCrashReporter RSCrashReporter.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterSessionTracker.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterSessionTracker.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/189] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterLastRunInfo.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterLastRunInfo+Private.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporterLastRunInfo.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/189] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[2/189] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 12 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Fixtures/us-dataresidency-default-true.json
    /host/spi-builder-workspace/Tests/Rudder-watchOS.xctestplan
    /host/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-true.json
    /host/spi-builder-workspace/Tests/Rudder-iOS.xctestplan
    /host/spi-builder-workspace/Tests/Rudder-tvOS.xctestplan
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-default-false.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-us-true.json
    /host/spi-builder-workspace/Tests/Fixtures/us-dataresidency-default-false.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-default-true.json
    /host/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-false.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-eu-true.json
    /host/spi-builder-workspace/Tests/Fixtures/no-dataresidency.json
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterLastRunInfo.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterLastRunInfo+Private.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporterLastRunInfo.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/187] Compiling RSCrashReporter RSCrashReporterLastRunInfo.m
[0/187] Compiling RSCrashReporter RSCCrashSentry.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterSessionTracker.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterSessionTracker.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/187] Compiling RSCrashReporter RSCrashReporterFeatureFlag.m
[0/187] Compiling RSCrashReporter RSCrashReporterSessionTracker.m
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 | [0/187] Compiling RSCStorageMigratorV0V1.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterSystemState.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterSystemState.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/187] Compiling RSCrashReporter RSCrashReporterSystemState.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Storage/RSCFileLocations.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Storage/RSCFileLocations.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/187] Compiling RSCFileLocations.m
[0/187] Compiling RSCrashReporter RSCrashReporter.m
BUILD FAILURE 6.1 linux