Build Information
Failed to build Branch with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.39.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: 5.9
Building package at path: $workDir
https://github.com/BranchMetrics/mac-branch-deep-linking.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
~~~~~~~^~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSString+Branch.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/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/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/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/BNCThreads.m:11:
In file included from /host/spi-builder-workspace/Branch/BNCThreads.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 BNCThreads.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:15:9: fatal error: module 'Foundation' not found
@import Foundation;
~~~~~~~^~~~~~~~~~
[0/30] Compiling Branch BNCURLBlackList.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
BUILD FAILURE 5.9 linux