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.0 for Linux on 4 Apr 2025 16:06:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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.0
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" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.24s)
Computing version for https://github.com/rudderlabs/metrics-reporter-ios
Computed https://github.com/rudderlabs/metrics-reporter-ios at 2.0.0 (0.51s)
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/crash-reporter-ios
[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 (0.22s)
[663/33122] Fetching crash-reporter-ios
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.01s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (0.52s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.52s)
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/KSCrash/Source/KSCrash/Recording/RSC_KSCrashDoctor.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/RSC_KSCrashDoctor.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/189] Compiling RSC_KSCrashDoctor.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>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/189] Compiling RSC_KSCrashNames.c
[2/189] Compiling RSCStorageMigratorV0V1.m
[2/189] Compiling RSC_KSCrashC.c
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/189] Compiling RSC_KSCrashIdentifier.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/RSC_KSCrash.m:27:
/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/189] Compiling RSC_KSCrash.m
[2/189] Compiling RSC_KSCrashReport.c
[2/189] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/Rudder-watchOS.xctestplan
    /host/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-false.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-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/no-dataresidency.json
    /host/spi-builder-workspace/Tests/Fixtures/eu-dataresidency-default-true.json
    /host/spi-builder-workspace/Tests/Fixtures/multi-dataresidency-eu-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/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: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.
[1/187] Compiling RSCrashReporter RSCrashReporterLastRunInfo.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:26:9: fatal error: 'Foundation/Foundation.h' file not found
   26 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/187] Compiling RSCrashReporter RSCrashReporter.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.
[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 RSCrashReporterFeatureFlag.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.0 linux