Build Information
Failed to build Branch, reference 1.5.0 (061c8d), with Swift 6.3 for Linux on 14 Apr 2026 14:48:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/mac-branch-deep-linking.git
Reference: 1.5.0
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
* tag 1.5.0 -> FETCH_HEAD
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 1.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/BranchMetrics/mac-branch-deep-linking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Branch/BNCWireFormat.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCWireFormat.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/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
[0/30] Compiling Branch BNCWireFormat.m
In file included from /host/spi-builder-workspace/Branch/BranchCommerce.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchCommerce.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 BranchCommerce.m
In file included from /host/spi-builder-workspace/Branch/Branch.m:11:
In file included from /host/spi-builder-workspace/Branch/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 Branch.m
In file included from /host/spi-builder-workspace/Branch/BNCURLBlackList.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCURLBlackList.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 BNCURLBlackList.m
[0/30] Compiling Branch NSString+Branch.m
In file included from /host/spi-builder-workspace/Branch/BNCNetworkInformation.m:11:
/host/spi-builder-workspace/Branch/BNCNetworkInformation.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
11 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BNCNetworkInformation.m
In file included from /host/spi-builder-workspace/Branch/BNCUserAgentCollector.m:9:
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:9:1: error: use of '@import' when modules are disabled
9 | @import Foundation;
| ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:11:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
11 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:13:36: error: cannot find interface declaration for 'NSObject', superclass of 'BNCUserAgentCollector'
13 | @interface BNCUserAgentCollector : NSObject
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:17:40: error: unknown type name 'NSString'
17 | @property (nonatomic, copy, readwrite) NSString *userAgent;
| ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:17:1: error: property with 'copy' attribute must be of object type
17 | @property (nonatomic, copy, readwrite) NSString *userAgent;
| ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:19:47: error: unknown type name 'NSString'
19 | - (void)loadUserAgentWithCompletion:(void (^)(NSString * _Nullable userAgent))completion;
| ^
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:15:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
15 | + (BNCUserAgentCollector *)instance;
| ^
[0/30] Compiling Branch BNCUserAgentCollector.m
BUILD FAILURE 6.3 linux