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 BraintreeDropIn, reference main (302544), with Swift 6.1 for Android on 8 Sep 2025 20:58:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/braintree-ios-drop-in.git
Reference: main
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/braintree/braintree-ios-drop-in
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3025441 Update README.md with Status Notice (#462)
Cloned https://github.com/braintree/braintree-ios-drop-in.git
Revision (git rev-parse @):
3025441febdd7e291213ee679487890080cc4666
SUCCESS checkout https://github.com/braintree/braintree-ios-drop-in.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/braintree/braintree-ios-drop-in.git
https://github.com/braintree/braintree-ios-drop-in.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "braintree_ios",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.27.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/braintree/braintree_ios"
    }
  ],
  "manifest_display_name" : "BraintreeDropIn",
  "name" : "BraintreeDropIn",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "BraintreeDropIn",
      "targets" : [
        "BraintreeDropIn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BraintreeDropIn",
      "module_type" : "ClangTarget",
      "name" : "BraintreeDropIn",
      "path" : "Sources/BraintreeDropIn",
      "product_dependencies" : [
        "BraintreeApplePay",
        "BraintreeCard",
        "BraintreeCore",
        "BraintreePaymentFlow",
        "BraintreePayPal",
        "BraintreeThreeDSecure",
        "BraintreeUnionPay",
        "BraintreeVenmo",
        "PayPalDataCollector"
      ],
      "product_memberships" : [
        "BraintreeDropIn"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ar.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ar"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/da.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "da"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/de.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/en.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/es.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/fr-CA.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "fr-ca"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/fr.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/he.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "he"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/id.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "id"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/it.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ja.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ko.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ko"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/nb.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "nb"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/nl.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "nl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/pl.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "pl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/pt.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "pt"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/ru.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/sk.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "sk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/sv.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "sv"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/th.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "th"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/zh-Hans.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/zh-Hant-HK.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant-hk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/BraintreeDropIn/Resources/zh-Hant.lproj/BTUI.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "BTCardFormViewController.m",
        "BTDropInBaseViewController.m",
        "BTDropInController.m",
        "BTDropInUICustomization.m",
        "BTDropInUIUtilities.m",
        "BTPaymentMethodNonce+DropIn.m",
        "BTPaymentSelectionViewController.m",
        "BTVaultManagementViewController.m",
        "Components/BTUIKBarButtonItem.m",
        "Components/BTUIKCardListLabel.m",
        "Components/BTUIKCardNumberFormField.m",
        "Components/BTUIKCardholderNameFormField.m",
        "Components/BTUIKCollectionReusableView.m",
        "Components/BTUIKExpiryFormField.m",
        "Components/BTUIKFormField.m",
        "Components/BTUIKInputAccessoryToolbar.m",
        "Components/BTUIKMobileCountryCodeFormField.m",
        "Components/BTUIKMobileNumberFormField.m",
        "Components/BTUIKPaymentOptionCardView.m",
        "Components/BTUIKPostalCodeFormField.m",
        "Components/BTUIKSecurityCodeFormField.m",
        "Components/BTUIKSwitchFormField.m",
        "Components/BTUIKTextField.m",
        "Custom Views/BTDropInPaymentSelectionCell.m",
        "Custom Views/BTEnrollmentVerificationViewController.m",
        "Custom Views/BTPaymentSelectionHeaderView.m",
        "Custom Views/BTUIPaymentMethodCollectionViewCell.m",
        "Custom Views/BTVaultedPaymentMethodsTableViewCell.m",
        "Helpers/BTConfiguration+DropIn.m",
        "Helpers/BTUIKAppearance.m",
        "Helpers/BTUIKViewUtil.m",
        "Helpers/UIColor+BTUIK.m",
        "Helpers/UIFont+BTUIK.m",
        "Localization/BTDropInLocalization.m",
        "Models/BTDropInRequest.m",
        "Models/BTDropInResult.m",
        "Models/BTUIKCardExpirationValidator.m",
        "Models/BTUIKCardExpiryFormat.m",
        "Models/BTUIKCardType.m",
        "Models/BTUIKUtil.m",
        "Vector Art/BTUIKAmExVectorArtView.m",
        "Vector Art/BTUIKApplePayMarkVectorArtView.m",
        "Vector Art/BTUIKCVVBackVectorArtView.m",
        "Vector Art/BTUIKCVVFrontVectorArtView.m",
        "Vector Art/BTUIKCardVectorArtView.m",
        "Vector Art/BTUIKDinersClubVectorArtView.m",
        "Vector Art/BTUIKDiscoverVectorArtView.m",
        "Vector Art/BTUIKHiperVectorArtView.m",
        "Vector Art/BTUIKHipercardVectorArtView.m",
        "Vector Art/BTUIKJCBVectorArtView.m",
        "Vector Art/BTUIKMaestroVectorArtView.m",
        "Vector Art/BTUIKMasterCardVectorArtView.m",
        "Vector Art/BTUIKPayPalMonogramCardView.m",
        "Vector Art/BTUIKPayPalWordmarkCompactVectorArtView.m",
        "Vector Art/BTUIKPayPalWordmarkVectorArtView.m",
        "Vector Art/BTUIKUnionPayVectorArtView.m",
        "Vector Art/BTUIKUnknownCardVectorArtView.m",
        "Vector Art/BTUIKVectorArtView.m",
        "Vector Art/BTUIKVenmoMonogramCardView.m",
        "Vector Art/BTUIKVenmoWordmarkVectorArtView.m",
        "Vector Art/BTUIKVisaVectorArtView.m",
        "Vector Art/Large/BTUIKLargeAmExVectorArtView.m",
        "Vector Art/Large/BTUIKLargeApplePayMarkVectorArtView.m",
        "Vector Art/Large/BTUIKLargeDinersClubVectorArtView.m",
        "Vector Art/Large/BTUIKLargeDiscoverVectorArtView.m",
        "Vector Art/Large/BTUIKLargeHiperVectorArtView.m",
        "Vector Art/Large/BTUIKLargeHipercardVectorArtView.m",
        "Vector Art/Large/BTUIKLargeJCBVectorArtView.m",
        "Vector Art/Large/BTUIKLargeMaestroVectorArtView.m",
        "Vector Art/Large/BTUIKLargeMasterCardVectorArtView.m",
        "Vector Art/Large/BTUIKLargePayPalMonogramCardView.m",
        "Vector Art/Large/BTUIKLargeUnionPayVectorArtView.m",
        "Vector Art/Large/BTUIKLargeUnknownCardVectorArtView.m",
        "Vector Art/Large/BTUIKLargeVectorArtView.m",
        "Vector Art/Large/BTUIKLargeVenmoMonogramCardView.m",
        "Vector Art/Large/BTUIKLargeVisaVectorArtView.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
Fetching https://github.com/braintree/braintree_ios
[1/98233] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (36.91s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (37.79s)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip
[1397/47103570] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip (4.40s)
Building for debugging...
[0/132] Copying BTUI.strings
[2/132] Copying PrivacyInfo.xcprivacy
[3/132] Copying BTUI.strings
[3/132] Copying PrivacyInfo.xcprivacy
[3/132] Copying BTUI.strings
[3/132] Copying Info.plist
[3/132] Copying BTUI.strings
[7/132] Write sources
[27/132] Copying BTUI.strings
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore BTURLUtils.m
[28/132] Compiling BraintreeCore BTPaymentMethodNonce.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore BTPreferredPaymentMethods.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore BTPostalAddress.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[28/132] Compiling BraintreeCore resource_bundle_accessor.m
[28/132] Compiling BraintreeCore BTPaymentMethodNonceParser.m
[28/132] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
15 |     ],
16 |     dependencies: [
17 |         .package(name: "Braintree", url: "https://github.com/braintree/braintree_ios", from: "5.27.0")
   |          `- warning: 'package(name:url:from:)' is deprecated: use package(url:from:) instead
18 |     ],
19 |     targets: [
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTPostalAddress.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTURLUtils.m
[0/104] Compiling BraintreeCore resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTPreferredPaymentMethods.m
[0/104] Compiling BraintreeCore BTPaymentMethodNonce.m
[0/104] Compiling BraintreeCore BTPaymentMethodNonceParser.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[0/104] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android