Build Information
Failed to build PayHereSDK, reference 4.0.2 (dd60b3), with Swift 6.1 for Wasm on 29 Sep 2026 22:44:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Reference: 4.0.2
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/PayHereLK/payhere-mobilesdk-ios
* tag 4.0.2 -> FETCH_HEAD
HEAD is now at dd60b3d Hide unavailable payment method sections
Cloned https://github.com/PayHereLK/payhere-mobilesdk-ios.git
Revision (git rev-parse @):
dd60b3d3084e072b4cda05bb7506504e345274f5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/PayHereLK/payhere-mobilesdk-ios.git at 4.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
https://github.com/PayHereLK/payhere-mobilesdk-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/tristanhimmelman/ObjectMapper.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/6342] Fetching objectmapper
[6343/39285] Fetching objectmapper, alamofire
[6673/65332] Fetching objectmapper, alamofire, sdwebimage
Fetched https://github.com/tristanhimmelman/ObjectMapper.git from cache (2.34s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.36s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.38s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (2.62s)
Computing version for https://github.com/tristanhimmelman/ObjectMapper.git
Computed https://github.com/tristanhimmelman/ObjectMapper.git at 4.4.3 (0.25s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.25s)
Creating working copy for https://github.com/tristanhimmelman/ObjectMapper.git
Working copy of https://github.com/tristanhimmelman/ObjectMapper.git resolved at 4.4.3
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
warning: 'objectmapper': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Info.plist
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/90] Copying PayOptionCollectionViewCell.xib
[0/90] Copying PHBottomSheetTableViewSectioHeader.xib
[0/90] Copying HeaderCollectionReusableView.xib
[0/90] Write sources
[0/90] Copying HPayBold.ttf
[0/90] Copying HPay.ttf
[0/90] Copying PrivacyInfo.xcprivacy
[0/90] Copying PaymentOptionTableViewCell.xib
[0/90] Copying PrivacyInfo.xcprivacy
[0/90] Copying PayHere.storyboard
[0/90] Copying PrivacyInfo.xcprivacy
[0/90] Copying PayWithHelaPayTableViewCell.xib
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling SDImageAssetManager.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling SDWeakProxy.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling UIColor+SDHexString.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling SDInternalMacros.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[14/90] Compiling SDImageCachesManagerOperation.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[14/90] Compiling SDFileAttributeHelper.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[14/90] Compiling SDImageFramePool.m
[14/90] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'objectmapper': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Info.plist
/host/spi-builder-workspace/.build/checkouts/ObjectMapper/Sources/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling SDWebImage resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/76] Compiling SDImageFramePool.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling SDImageAssetManager.m
[0/76] Compiling SDInternalMacros.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1[0/76] Compiling SDImageCachesManagerOperation.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SDWebImage.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/76] Compiling UIColor+SDHexString.m
[0/76] Compiling SDWeakProxy.m
[0/76] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm