The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Rudder, reference develop (3f9a11), with Swift 6.1 for Linux on 29 Apr 2025 23:37:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.61.1
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.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-4606859-3":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/1993] Fetching metrics-reporter-ios
Fetched https://github.com/rudderlabs/metrics-reporter-ios from cache (0.40s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (1.45s)
Fetching https://github.com/rudderlabs/crash-reporter-ios
Fetching https://github.com/rudderlabs/rudder-ios-kit
[1/248] Fetching rudder-ios-kit
[249/33370] Fetching rudder-ios-kit, crash-reporter-ios
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (5.45s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (5.47s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (6.28s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.75s)
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
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
[0/189] Write sources
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
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCNotificationBreadcrumbs.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCNotificationBreadcrumbs.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporterBreadcrumb.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/189] Compiling RSCrashReporter RSCrashReporterSystemState.m
In file included from [2/189] Compiling RSCFileLocations.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/189] Compiling RSCNetworkBreadcrumb.m
[2/189] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/no-dataresidency.json
    /host/spi-builder-workspace/Tests/Fixtures/us-dataresidency-default-false.json
    /host/spi-builder-workspace/Tests/Fixtures/us-dataresidency-default-true.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-eu-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/Fixtures/multi-dataresidency-default-false.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-us-true.json
    /host/spi-builder-workspace/Tests/Rudder-iOS.xctestplan
    /host/spi-builder-workspace/Tests/Rudder-tvOS.xctestplan
    /host/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-false.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-default-true.json
[0/1] Planning build
Building for debugging...
[0/188] Write sources
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.
[1/187] 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.
[1/187] Compiling RSCrashReporter RSCrashReporter.m
[1/187] Compiling RSCrashReporter RSCrashReporterFeatureFlag.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.
[1/187] Compiling RSCFileLocations.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/RSCrashReporterLastRunInfo.m:[1/187] Compiling RSCrashReporter RSCrashReporterLastRunInfo.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/187] Compiling RSCrashReporter RSCrashReporterSessionTracker.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/187] Compiling RSCrashReporter RSCrashReporterSystemState.m
[1/187] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux