The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Branch with Swift 5.9 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.3
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 cc56659 Update stale.yml
Cloned https://github.com/BranchMetrics/mac-branch-deep-linking.git
Revision (git rev-parse @):
cc5665963492c8df5af2ff50c66aed8f790aa3cb
SUCCESS checkout https://github.com/BranchMetrics/mac-branch-deep-linking.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCWireFormat.m
In file included from /host/spi-builder-workspace/Branch/BNCNetworkAPIService.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCNetworkAPIService.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:15:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[0/30] Compiling Branch BNCNetworkAPIService.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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCLocalization.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BNCNetworkInformation.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BNCEncoder.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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCDevice.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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
[0/30] Compiling Branch BNCLog.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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCKeyChain.m
[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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSData+Branch.m
[0/30] Compiling Branch BranchLinkProperties.m
[0/30] Compiling Branch BranchQRCode.m
[0/30] Compiling Branch BranchMutableDictionary.m
[0/30] Compiling Branch BranchSession.m
[0/30] Compiling Branch BranchUniversalObject.m
[0/30] Compiling Branch NSString+Branch.m
[0/30] Compiling Branch BranchMainClass.m
BUILD FAILURE 5.9 linux

Build Machine: Linux 1