Build Information
Failed to build Branch, reference 1.5.0 (061c8d
), with Swift 6.1 for Linux on 28 Apr 2025 19:59:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
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/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/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
In file included from /host/spi-builder-workspace/Branch/BranchHeader.m: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 BranchHeader.m
[0/30] Compiling Branch NSString+Branch.m
In file included from /host/spi-builder-workspace/Branch/BNCLog.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCLog.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 BNCLog.m
In file included from /host/spi-builder-workspace/Branch/BranchEvent.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchEvent.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 BranchEvent.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
[0/30] Compiling Branch BranchMutableDictionary.m
[0/30] Compiling Branch BranchQRCode.m
[0/30] Compiling Branch BranchLinkProperties.m
[0/30] Compiling Branch BranchMainClass.m
[0/30] Compiling Branch BranchUniversalObject.m
[0/30] Compiling Branch BranchSession.m
[0/30] Compiling Branch NSString+Branch.m
BUILD FAILURE 6.1 linux