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 Stripe, reference master (4308bf), with Swift 6.0 for macOS (SPM) on 15 Nov 2024 00:41:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stripe/stripe-ios.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stripe/stripe-ios
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4308bf5 [Connect] Analytics (3/3) – log analytic when navigating away from component page (#4252)
Cloned https://github.com/stripe/stripe-ios.git
Revision (git rev-parse @):
4308bf5e804348f905ce576c4cb08f28c7885910
SUCCESS checkout https://github.com/stripe/stripe-ios.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "stripe-ios",
      "name": "Stripe",
      "url": "https://github.com/stripe/stripe-ios.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/stripe-ios",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/stripe/stripe-ios.git
[1/1032654] Fetching stripe-ios
Fetched https://github.com/stripe/stripe-ios.git from cache (124.69s)
Creating working copy for https://github.com/stripe/stripe-ios.git
Working copy of https://github.com/stripe/stripe-ios.git resolved at master (4308bf5)
warning: '.resolve-product-dependencies': dependency 'stripe-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/stripe/stripe-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/528] Write sources
[0/528] Copying Localizable.strings
[0/528] Copying Info.plist
[0/528] Copying Localizable.strings
[0/528] Copying PrivacyInfo.xcprivacy
[0/528] Copying Localizable.strings
[16/528] Copying localized_address_data.json
[16/528] Copying Localizable.strings
[16/528] Copying au_becs_bsb.json
[16/528] Copying Localizable.strings
[16/528] Copying Info.plist
[16/528] Copying Localizable.strings
[73/528] Copying Info.plist
[73/528] Copying au_becs_bsb.json
[73/528] Copying Localizable.strings
[73/528] Copying Info.plist
[73/528] Copying Localizable.strings
[73/528] Copying form_specs.json
[73/528] Copying Localizable.strings
[73/528] Copying PrivacyInfo.xcprivacy
[73/528] Copying Localizable.strings
[73/528] Copying Info.plist
[73/528] Copying Localizable.strings
[73/528] Copying icon_warning_92@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying icon_warning@3x.png
[73/528] Copying icon_wallet@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying icon_phone@3x.png
[73/528] Copying icon_moved@3x.png
[73/528] Copying icon_selfie_warmup@3x.png
[73/528] Copying icon_warning2@3x.png
[73/528] Copying icon_id_front@3x.png
[73/528] Copying icon_lock@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying icon_info@3x.png
[73/528] Copying icon_document@3x.png
[73/528] Copying icon_checkmark_92@3x.png
[73/528] Copying icon_dispute_protection@3x.png
[73/528] Copying icon_create_identity_verification@3x.png
[73/528] Copying icon_cloud@3x.png
[73/528] Copying icon_camera_classic@3x.png
[73/528] Copying icon_ellipsis@3x.png
[73/528] Copying icon_checkmark@3x.png
[73/528] Copying icon_camera@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying icon_clock@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying icon_add@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying Info.plist
[73/528] Copying warning_triangle@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying stripe_logo@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying search@3x.png
[73/528] Copying spinner@3x.png
[73/528] Copying testmode@3x.png
[73/528] Copying Localizable.strings
[73/528] Copying person@3x.png
[95/528] Copying Localizable.strings
[98/528] Copying panel_arrow_right@3x.png
[111/528] Copying Localizable.strings
[207/528] Copying link_logo@3x.png
[219/528] Copying Localizable.strings
[275/528] Copying info@3x.png
[275/528] Copying Localizable.strings
[275/528] Copying generic_error@3x.png
[276/528] Copying Localizable.strings
[288/528] Copying check@3x.png
[288/528] Copying Localizable.strings
[288/528] Copying chevron_down@3x.png
[288/528] Copying close@3x.png
[288/528] Copying Localizable.strings
[288/528] Copying cancel_circle@3x.png
[288/528] Copying Localizable.strings
[289/528] Copying Info.plist
[289/528] Copying bullet@3x.png
[289/528] Copying PrivacyInfo.xcprivacy
[300/528] Copying add@3x.png
[307/528] Copying Localizable.strings
[307/528] Copying back_arrow@3x.png
[307/528] Copying brandicon_default@3x.png
[310/528] Copying Localizable.strings
[343/528] Copying PrivacyInfo.xcprivacy
[343/528] Copying Localizable.strings
[347/528] Copying Info.plist
[348/528] Copying Localizable.strings
[349/528] Copying StripeUICore.xcassets
[349/528] Copying Localizable.strings
[389/528] Copying Info.plist
[389/528] Copying Localizable.strings
[429/528] Copying SSDOcr.mlmodelc
[429/528] Copying UxModel.mlmodelc
[429/528] Copying Localizable.strings
[435/528] Copying Info.plist
[435/528] Copying Localizable.strings
[435/528] Copying PrivacyInfo.xcprivacy
[438/528] Write sources
[444/528] Copying Stripe3DS2.xcassets
[445/528] Copying StripeiOS.xcassets
[446/528] Copying StripePaymentsUI.xcassets
[447/528] Copying StripePaymentSheet.xcassets
[448/528] Write swift-version--7754E27361AE5C74.txt
In file included from /Users/admin/builder/spi-builder-workspace/Stripe3DS2/Stripe3DS2/include/STDSTextFieldCustomization.m:9:
/Users/admin/builder/spi-builder-workspace/Stripe3DS2/Stripe3DS2/include/STDSTextFieldCustomization.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
    9 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[449/528] Compiling STDSTextFieldCustomization.m
[449/528] Compiling STDSStripe3DS2Error.m
[449/528] Compiling STDSSelectionCustomization.m
[449/528] Compiling STDSTransaction.m
[449/528] Compiling STDSRuntimeException.m
[449/528] Compiling STDSWarning.m
[449/528] Compiling STDSThreeDS2Service.m
[449/528] Compiling Stripe3DS2 resource_bundle_accessor.m
[449/528] Compiling STDSSwiftTryCatch.m
In file included from /Users/admin/builder/spi-builder-workspace/Stripe3DS2/Stripe3DS2/include/STDSUICustomization.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Stripe3DS2/Stripe3DS2/include/STDSUICustomization.h:10:
/Users/admin/builder/spi-builder-workspace/Stripe3DS2/Stripe3DS2/include/STDSCustomization.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[449/528] Compiling STDSUICustomization.m
BUILD FAILURE 6.0 macosSpm