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 (d951d1), with Swift 6.0 for Linux on 6 Mar 2025 18:36:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/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 d951d10 Bump version to 9.14.0
Cloned https://github.com/braintree/braintree-ios-drop-in.git
Revision (git rev-parse @):
d951d104ac960188824bda191be2f57c57351a31
SUCCESS checkout https://github.com/braintree/braintree-ios-drop-in.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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" 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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/89830] Fetching braintree_ios
Fetched https://github.com/braintree/braintree_ios from cache (23.54s)
Computing version for https://github.com/braintree/braintree_ios
Computed https://github.com/braintree/braintree_ios at 5.27.0 (5.20s)
Creating working copy for https://github.com/braintree/braintree_ios
Working copy of https://github.com/braintree/braintree_ios resolved at 5.27.0
[1369/47103570] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/0.110.0/PayPalCheckout.xcframework.zip
Downloading binary artifact 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 (3.22s)
Building for debugging...
[0/132] Copying BTUI.strings
[0/132] Copying PrivacyInfo.xcprivacy
[0/132] Copying BTUI.strings
[0/132] Write sources
[0/132] Copying BTUI.strings
[0/132] Copying PrivacyInfo.xcprivacy
[0/132] Copying BTUI.strings
[25/132] Copying Info.plist
[25/132] Copying BTUI.strings
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #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/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #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/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore BTURLUtils.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[28/132] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
[28/132] Compiling BraintreeCore BTPaymentMethodNonce.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[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" 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:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTPreferredPaymentMethodsResult.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTURLUtils.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/104] Compiling BraintreeCore BTPreferredPaymentMethods.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTPaymentMethodNonceParser.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #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/x86_64-unknown-linux-gnu/debug/BraintreeCore.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling BraintreeCore BTPaymentMethodNonce.m
[0/104] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux