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 Branch, reference master (bf5a70), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 23:53:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/branch.io.spm.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mihaelisaev/branch.io.spm
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bf5a705 Trying to reach headers
Cloned https://github.com/mihaelisaev/branch.io.spm.git
Revision (git rev-parse @):
bf5a70522bcf709dab6376eeede86845e8196f21
SUCCESS checkout https://github.com/mihaelisaev/branch.io.spm.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": "branch.io.spm",
      "name": "Branch",
      "url": "https://github.com/mihaelisaev/branch.io.spm.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/branch.io.spm",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mihaelisaev/branch.io.spm.git
[1/187] Fetching branch.io.spm
Fetched https://github.com/mihaelisaev/branch.io.spm.git from cache (0.73s)
Creating working copy for https://github.com/mihaelisaev/branch.io.spm.git
Working copy of https://github.com/mihaelisaev/branch.io.spm.git resolved at master (bf5a705)
warning: '.resolve-product-dependencies': dependency 'branch.io.spm' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mihaelisaev/branch.io.spm.git
https://github.com/mihaelisaev/branch.io.spm.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Branch",
  "name" : "Branch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Branch",
      "targets" : [
        "Branch"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Branch",
      "module_type" : "ClangTarget",
      "name" : "Branch",
      "path" : "Sources",
      "product_memberships" : [
        "Branch"
      ],
      "sources" : [
        "BNCAppleAdClient.m",
        "BNCAppleReceipt.m",
        "BNCAppleSearchAds.m",
        "BNCApplication.m",
        "BNCAvailability.m",
        "BNCCallbackMap.m",
        "BNCCommerceEvent.m",
        "BNCConfig.m",
        "BNCContentDiscoveryManager.m",
        "BNCCrashlyticsWrapper.m",
        "BNCDebug.m",
        "BNCDeepLinkViewControllerInstance.m",
        "BNCDeviceInfo.m",
        "BNCDeviceSystem.m",
        "BNCEncodingUtils.m",
        "BNCFacebookAppLinks.m",
        "BNCJSONUtility.m",
        "BNCKeyChain.m",
        "BNCLinkCache.m",
        "BNCLinkData.m",
        "BNCLocale.m",
        "BNCLocalization.m",
        "BNCLog.m",
        "BNCNetworkInterface.m",
        "BNCNetworkService.m",
        "BNCPreferenceHelper.m",
        "BNCReachability.m",
        "BNCServerInterface.m",
        "BNCServerRequest.m",
        "BNCServerRequestQueue.m",
        "BNCServerResponse.m",
        "BNCSpotlightService.m",
        "BNCSystemObserver.m",
        "BNCTelephony.m",
        "BNCThreads.m",
        "BNCTuneUtility.m",
        "BNCURLBlackList.m",
        "BNCUserAgentCollector.m",
        "Branch+Validator.m",
        "Branch.m",
        "BranchActivityItemProvider.m",
        "BranchCPIDRequest.m",
        "BranchCSSearchableItemAttributeSet.m",
        "BranchCloseRequest.m",
        "BranchConstants.m",
        "BranchContentDiscoverer.m",
        "BranchContentDiscoveryManifest.m",
        "BranchContentPathProperties.m",
        "BranchCreditHistoryRequest.m",
        "BranchCrossPlatformID.m",
        "BranchDelegate.m",
        "BranchEvent.m",
        "BranchInstallRequest.m",
        "BranchLATDRequest.m",
        "BranchLastAttributedTouchData.m",
        "BranchLinkProperties.m",
        "BranchLoadRewardsRequest.m",
        "BranchLogoutRequest.m",
        "BranchOpenRequest.m",
        "BranchRedeemRewardsRequest.m",
        "BranchRegisterViewRequest.m",
        "BranchSetIdentityRequest.m",
        "BranchShareLink.m",
        "BranchShortUrlRequest.m",
        "BranchShortUrlSyncRequest.m",
        "BranchSpotlightUrlRequest.m",
        "BranchUniversalObject.m",
        "BranchUserCompletedActionRequest.m",
        "NSError+Branch.m",
        "NSMutableDictionary+Branch.m",
        "NSString+Branch.m",
        "UIViewController+Branch.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/74] Compiling Branch BNCAvailability.m
[1/74] Compiling Branch BNCCallbackMap.m
[1/74] Compiling Branch BNCApplication.m
/Users/admin/builder/spi-builder-workspace/Sources/BNCReachability.m:79:18: error: 'kSCNetworkReachabilityFlagsIsWWAN' is unavailable: not available on macOS
   79 |     if ((flags & kSCNetworkReachabilityFlagsIsWWAN) == kSCNetworkReachabilityFlagsIsWWAN) {
      |                  ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkReachability.h:174:2: note: 'kSCNetworkReachabilityFlagsIsWWAN' has been explicitly marked unavailable here
  174 |         kSCNetworkReachabilityFlagsIsWWAN
      |         ^
/Users/admin/builder/spi-builder-workspace/Sources/BNCReachability.m:79:56: error: 'kSCNetworkReachabilityFlagsIsWWAN' is unavailable: not available on macOS
   79 |     if ((flags & kSCNetworkReachabilityFlagsIsWWAN) == kSCNetworkReachabilityFlagsIsWWAN) {
      |                                                        ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkReachability.h:174:2: note: 'kSCNetworkReachabilityFlagsIsWWAN' has been explicitly marked unavailable here
  174 |         kSCNetworkReachabilityFlagsIsWWAN
      |         ^
2 errors generated.
[3/74] Compiling Branch BNCReachability.m
[3/74] Compiling Branch NSMutableDictionary+Branch.m
[3/74] Compiling Branch NSString+Branch.m
[3/74] Compiling Branch BNCServerInterface.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/UIViewController+Branch.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/UIViewController+Branch.h:10:9: fatal error: module 'UIKit' not found
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[3/74] Compiling Branch UIViewController+Branch.m
[3/74] Compiling Branch BNCContentDiscoveryManager.m
[3/74] Compiling Branch BNCAppleAdClient.m
[3/74] Compiling Branch BNCConfig.m
[3/74] Compiling Branch BNCAppleReceipt.m
[3/74] Compiling Branch BNCAppleSearchAds.m
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/Sources/UIViewController+Branch.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/UIViewController+Branch.h:10:9: fatal error: module 'UIKit' not found
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
1 error generated.
[0/71] Compiling Branch UIViewController+Branch.m
[0/71] Compiling Branch BranchShortUrlRequest.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchUniversalObject.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[0/71] Compiling Branch BranchUniversalObject.m
[0/71] Compiling Branch BranchShortUrlSyncRequest.m
[0/71] Compiling Branch BranchSpotlightUrlRequest.m
[0/71] Compiling Branch NSMutableDictionary+Branch.m
[0/71] Compiling Branch NSError+Branch.m
[0/71] Compiling Branch BranchUserCompletedActionRequest.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchShareLink.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/include/BranchShareLink.h:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[0/71] Compiling Branch BranchShareLink.m
[0/71] Compiling Branch NSString+Branch.m
BUILD FAILURE 6.1 macosSpm