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 Branch, reference master (061c8d), with Swift 6.1 for Android on 29 May 2025 09:53:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/BranchMetrics/mac-branch-deep-linking.git
Reference: master
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/BranchMetrics/mac-branch-deep-linking
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 061c8d2 Release 1.5.0 (#44)
Cloned https://github.com/BranchMetrics/mac-branch-deep-linking.git
Revision (git rev-parse @):
061c8d2b857967a533bf27f72d7152b7bfcf8c90
SUCCESS checkout https://github.com/BranchMetrics/mac-branch-deep-linking.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BranchMetrics/mac-branch-deep-linking.git
https://github.com/BranchMetrics/mac-branch-deep-linking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Branch",
  "name" : "Branch",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "Branch",
      "targets" : [
        "Branch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Branch",
      "module_type" : "ClangTarget",
      "name" : "Branch",
      "path" : "Branch",
      "product_memberships" : [
        "Branch"
      ],
      "sources" : [
        "BNCApplication.m",
        "BNCDevice.m",
        "BNCEncoder.m",
        "BNCKeyChain.m",
        "BNCLocalization.m",
        "BNCLog.m",
        "BNCNetworkAPIService.m",
        "BNCNetworkInformation.m",
        "BNCNetworkService.m",
        "BNCPersistence.m",
        "BNCQRCodeCache.m",
        "BNCSettings.m",
        "BNCThreads.m",
        "BNCURLBlackList.m",
        "BNCUserAgentCollector.m",
        "BNCWireFormat.m",
        "Branch.m",
        "BranchCommerce.m",
        "BranchDelegate.m",
        "BranchError.m",
        "BranchEvent.m",
        "BranchHeader.m",
        "BranchLinkProperties.m",
        "BranchMainClass.m",
        "BranchMutableDictionary.m",
        "BranchQRCode.m",
        "BranchSession.m",
        "BranchUniversalObject.m",
        "NSData+Branch.m",
        "NSString+Branch.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
In file included from /host/spi-builder-workspace/Branch/BNCKeyChain.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCKeyChain.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCKeyChain.m
In file included from /host/spi-builder-workspace/Branch/BNCLocalization.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCLocalization.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCLocalization.m
In file included from /host/spi-builder-workspace/Branch/BNCApplication.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCApplication.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCApplication.m
[0/30] Compiling Branch BranchUniversalObject.m
In file included from /host/spi-builder-workspace/Branch/BNCDevice.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCDevice.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCDevice.m
In file included from /host/spi-builder-workspace/Branch/NSString+Branch.m:11:
In file included from /host/spi-builder-workspace/Branch/NSString+Branch.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSString+Branch.m
In file included from /host/spi-builder-workspace/Branch/BNCEncoder.m:11:
/host/spi-builder-workspace/Branch/BNCEncoder.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCEncoder.m
[0/30] Compiling Branch NSData+Branch.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Branch/NSData+Branch.m:11:
/host/spi-builder-workspace/Branch/NSData+Branch.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSData+Branch.m
In file included from /host/spi-builder-workspace/Branch/BranchSession.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchSession.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Branch/BranchMutableDictionary.m:11:
/host/spi-builder-workspace/Branch/BranchMutableDictionary.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BranchSession.m
[0/30] Compiling Branch BranchMutableDictionary.m
In file included from /host/spi-builder-workspace/Branch/BranchUniversalObject.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchUniversalObject.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BranchUniversalObject.m
/host/spi-builder-workspace/Branch/BranchQRCode.m:9:9: fatal error: 'LinkPresentation/LPLinkMetadata.h' file not found
    9 | #import <LinkPresentation/LPLinkMetadata.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BranchQRCode.m
In file included from /host/spi-builder-workspace/Branch/NSString+Branch.m:11:
In file included from /host/spi-builder-workspace/Branch/NSString+Branch.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Branch/BranchMainClass.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchMainClass.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BranchMainClass.m
[0/30] Compiling Branch NSString+Branch.m
[0/30] Compiling Branch BranchLinkProperties.m
BUILD FAILURE 6.1 android