The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Branch, reference 1.5.0 (061c8d), with Swift 6.1 for Wasm on 29 May 2025 09:53:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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
[0/30] Compiling Branch BNCWireFormat.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/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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BNCKeyChain.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:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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[0/30] Compiling Branch BNCUserAgentCollector.m
[0/30] Compiling Branch BNCNetworkAPIService.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.
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:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch NSString+Branch.m
In file included from /host/spi-builder-workspace/Branch/BranchSession.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchSession.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 BranchSession.m
[0/30] Compiling Branch BranchLinkProperties.m
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
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling Branch BranchMutableDictionary.m
[0/30] Compiling Branch NSData+Branch.m
/host/spi-builder-workspace/Branch/BranchQRCode.m:9:9: fatal error: 'LinkPresentation/LPLinkMetadata.h' file not found
    9 | #import <LinkPresentation/LPLinkMetadata.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/30] Compiling Branch BranchQRCode.m
In file included from /host/spi-builder-workspace/Branch/BranchUniversalObject.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchUniversalObject.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 BranchUniversalObject.m
In file included from /host/spi-builder-workspace/Branch/BranchMainClass.m:11:
In file included from /host/spi-builder-workspace/Branch/BranchMainClass.h:11:
/host/spi-builder-workspace/Branch/BranchHeader.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
   17 | #import <Foundation/[0/30] Compiling Branch BranchMainClass.m
BUILD FAILURE 6.1 wasm