The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Branch with Swift 5.8 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.28.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/mac-branch-deep-linking.git
Reference: v1.4.1
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               v1.4.1     -> FETCH_HEAD
HEAD is now at 99a1683 Merge pull request #39 from BranchMetrics/Release-1.4.1
Cloned https://github.com/BranchMetrics/mac-branch-deep-linking.git
Revision (git rev-parse @):
99a1683954cff956af0d8e6e4af5406660bf0bfc
SUCCESS checkout https://github.com/BranchMetrics/mac-branch-deep-linking.git at v1.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Branch/BNCUserAgentCollector.m:9:
/host/spi-builder-workspace/Branch/BNCUserAgentCollector.h:9:9: fatal error: module 'Foundation' not found
@import Foundation;
 ~~~~~~~^~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BNCUserAgentCollector.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
/host/spi-builder-workspace/Branch/BranchQRCode.m:9:9: fatal error: 'LinkPresentation/LPLinkMetadata.h' file not found
#import <LinkPresentation/LPLinkMetadata.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BranchQRCode.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/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/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/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
[0/1] Planning build
Building for debugging...
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
#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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSData+Branch.m
[0/30] Compiling Branch BranchMutableDictionary.m
[0/30] Compiling Branch BranchLinkProperties.m
[0/30] Compiling Branch BranchUniversalObject.m
[0/30] Compiling Branch BranchMainClass.m
[0/30] Compiling Branch BranchSession.m
/host/spi-builder-workspace/Branch/BranchQRCode.m:9:9: fatal error: 'LinkPresentation/LPLinkMetadata.h' file not found
#import <LinkPresentation/LPLinkMetadata.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BranchQRCode.m
[0/30] Compiling Branch NSString+Branch.m
BUILD FAILURE 5.8 linux

Build Machine: Linux 1