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 v2.5.1-beta (8ec4a9), with Swift 6.1 for Android on 29 May 2025 23:51:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/rudder-sdk-ios.git
Reference: v2.5.1-beta
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
 * tag               v2.5.1-beta -> FETCH_HEAD
HEAD is now at 8ec4a9f Merge pull request #516 from rudderlabs/release/2.5.1-beta
Cloned https://github.com/rudderlabs/rudder-sdk-ios.git
Revision (git rev-parse @):
8ec4a9f1e7be69464f5f2722988a8833160cad02
SUCCESS checkout https://github.com/rudderlabs/rudder-sdk-ios.git at v2.5.1-beta
========================================
Build
========================================
Selected platform:         android
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" : [
  ],
  "manifest_display_name" : "Rudder",
  "name" : "Rudder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "Rudder",
      "targets" : [
        "Rudder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RudderTests",
      "module_type" : "SwiftTarget",
      "name" : "RudderTests",
      "path" : "Tests/RudderTests",
      "sources" : [
        "RSAliasTests.swift",
        "RSBlackListedEventsTest.swift",
        "RSClientTests.swift",
        "RSDatabaseTests.swift",
        "RSGroupTests.swift",
        "RSIdentifyTests.swift",
        "RSScreenTests.swift",
        "RSThreadTests.swift",
        "RSTrackTests.swift",
        "RSWhiteListedEventsTests.swift",
        "RSiOSLifeCycleEventTests.swift",
        "RSmacOSLifeCycleEventTests.swift",
        "RSwatchOSLifeCycleEventTests.swift"
      ],
      "target_dependencies" : [
        "Rudder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Rudder",
      "module_type" : "SwiftTarget",
      "name" : "Rudder",
      "path" : "Sources",
      "product_memberships" : [
        "Rudder"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Classes/Client/Plugins/RSAdvertisementIdPlugin.swift",
        "Classes/Client/Plugins/RSAliasIdPlugin.swift",
        "Classes/Client/Plugins/RSAnonymousIdPlugin.swift",
        "Classes/Client/Plugins/RSAppTrackingConsentPlugin.swift",
        "Classes/Client/Plugins/RSContextPlugin.swift",
        "Classes/Client/Plugins/RSDeviceTokenPlugin.swift",
        "Classes/Client/Plugins/RSGDPRPlugin.swift",
        "Classes/Client/Plugins/RSIdentifyTraitsPlugin.swift",
        "Classes/Client/Plugins/RSIntegrationPlugin.swift",
        "Classes/Client/Plugins/RSLoggerPlugin.swift",
        "Classes/Client/Plugins/RSOptionPlugin.swift",
        "Classes/Client/Plugins/RSReplayQueuePlugin.swift",
        "Classes/Client/Plugins/RSUserIdPlugin.swift",
        "Classes/Client/Plugins/RSUserSessionPlugin.swift",
        "Classes/Client/Plugins/RudderDestinationPlugin.swift",
        "Classes/Client/RSClient+Plugins.swift",
        "Classes/Client/RSClient.swift",
        "Classes/Client/RSController.swift",
        "Classes/Client/RSDatabaseManager.swift",
        "Classes/Common/Constants/RSConstants.swift",
        "Classes/Common/Constants/RSEventsAndKeys.swift",
        "Classes/Common/Constants/RSTypeAlias.swift",
        "Classes/Common/Constants/RSUserDefaults.swift",
        "Classes/Common/Constants/RSVersion.swift",
        "Classes/Common/Extensions/NSError+Ext.swift",
        "Classes/Common/Extensions/String+Ext.swift",
        "Classes/Common/Extensions/UserDefaults+Ext.swift",
        "Classes/Domain/Enums/JSON.swift",
        "Classes/Domain/Enums/RSAppTrackingConsent.swift",
        "Classes/Domain/Enums/RSErrorCode.swift",
        "Classes/Domain/Enums/RSLogLevel.swift",
        "Classes/Domain/Enums/RSMessageType.swift",
        "Classes/Domain/Models/Attributes/RSDestination.swift",
        "Classes/Domain/Models/Attributes/RSDestinationConfig.swift",
        "Classes/Domain/Models/Attributes/RSDestinationDefinition.swift",
        "Classes/Domain/Models/Attributes/RSServerConfig.swift",
        "Classes/Domain/Models/RSAtomic.swift",
        "Classes/Domain/Models/RSConfig.swift",
        "Classes/Domain/Models/RSDBMessage.swift",
        "Classes/Domain/Models/RSKeyPath.swift",
        "Classes/Domain/Models/RSOption.swift",
        "Classes/Domain/Protocols/RSConsoleLogger.swift",
        "Classes/Domain/Protocols/RSLifeCycle.swift",
        "Classes/Domain/Protocols/RSLogger.swift",
        "Classes/Domain/Protocols/RSMessage.swift",
        "Classes/Domain/Protocols/RSPlugins.swift",
        "Classes/Domain/Protocols/RSPushNotifications.swift",
        "Classes/Domain/Protocols/RSServiceType.swift",
        "Classes/Helpers/Platforms/Mac/RSmacOSLifecycleEvents.swift",
        "Classes/Helpers/Platforms/Mac/RSmacOSLifecycleMonitor.swift",
        "Classes/Helpers/Platforms/Mac/RSmacOSScreenViewEvents.swift",
        "Classes/Helpers/Platforms/Vendors/AppleUtils.swift",
        "Classes/Helpers/Platforms/Vendors/Vendor.swift",
        "Classes/Helpers/Platforms/iOS/RSiOSDelegation.swift",
        "Classes/Helpers/Platforms/iOS/RSiOSLifecycleEvents.swift",
        "Classes/Helpers/Platforms/iOS/RSiOSLifecycleMonitor.swift",
        "Classes/Helpers/Platforms/iOS/RSiOSScreenViewEvents.swift",
        "Classes/Helpers/Platforms/watchOS/RSwatchOSDelegation.swift",
        "Classes/Helpers/Platforms/watchOS/RSwatchOSLifecycleEvents.swift",
        "Classes/Helpers/Platforms/watchOS/RSwatchOSLifecycleMonitor.swift",
        "Classes/Helpers/Platforms/watchOS/RSwatchOSScreenViewEvents.swift",
        "Classes/Helpers/RSAnyCodable.swift",
        "Classes/Helpers/RSAnyDecodable.swift",
        "Classes/Helpers/RSAnyEncodable.swift",
        "Classes/Helpers/RSRepeatingTimer.swift",
        "Classes/Networking/APIClient/API.swift",
        "Classes/Networking/APIClient/RSServiceManager.swift",
        "Classes/Networking/APIClient/SampleBatchPayload.json",
        "Classes/Utility/RSUtils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SDKInfo/Info.plist
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: unexpected input file: /host/spi-builder-workspace/Sources/Classes/Networking/APIClient/SampleBatchPayload.json
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SDKInfo/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: unexpected input file: /host/spi-builder-workspace/Sources/Classes/Networking/APIClient/SampleBatchPayload.json
BUILD FAILURE 6.1 android