Build Information
Failed to build MetricsReporter, reference v2.0.1 (49b0d7), with Swift 6.2 for Wasm on 11 Oct 2026 22:56:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rudderlabs/metrics-reporter-ios.git
Reference: v2.0.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/rudderlabs/metrics-reporter-ios
* tag v2.0.1 -> FETCH_HEAD
HEAD is now at 49b0d7b chore(release): pulling release/2.0.1 into master
Cloned https://github.com/rudderlabs/metrics-reporter-ios.git
Revision (git rev-parse @):
49b0d7b8f5fefd95da210f6c92fc8a6a9daf0dfd
SUCCESS checkout https://github.com/rudderlabs/metrics-reporter-ios.git at v2.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rudderlabs/metrics-reporter-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/rudderlabs/rudder-ios-kit
Fetching https://github.com/rudderlabs/crash-reporter-ios
[1/351] Fetching rudder-ios-kit
[352/33579] Fetching rudder-ios-kit, crash-reporter-ios
Fetched https://github.com/rudderlabs/rudder-ios-kit from cache (1.30s)
Fetched https://github.com/rudderlabs/crash-reporter-ios from cache (1.31s)
Computing version for https://github.com/rudderlabs/crash-reporter-ios
Computed https://github.com/rudderlabs/crash-reporter-ios at 1.0.1 (1.52s)
Computing version for https://github.com/rudderlabs/rudder-ios-kit
Computed https://github.com/rudderlabs/rudder-ios-kit at 1.4.0 (0.17s)
Creating working copy for https://github.com/rudderlabs/crash-reporter-ios
Working copy of https://github.com/rudderlabs/crash-reporter-ios resolved at 1.0.1
Creating working copy for https://github.com/rudderlabs/rudder-ios-kit
Working copy of https://github.com/rudderlabs/rudder-ios-kit resolved at 1.4.0
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Helpers/RSCrashReporterCollections.m:22:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Helpers/RSCrashReporterCollections.h:22:9: fatal error: 'Foundation/Foundation.h' file not found
22 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/83] Compiling RSCrashReporterCollections.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Tools/RSC_KSLogger.c:27:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/KSCrash/Source/KSCrash/Recording/Tools/RSC_KSLogger.h:141:10: fatal error: 'sys/cdefs.h' file not found
141 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[0/83] Compiling RSC_KSLogger.c
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Payload/RSCrashReporterThread.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Payload/RSCrashReporterThread+Private.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Helpers/RSCDefines.h:11:10: fatal error: 'TargetConditionals.h' file not found
11 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSCrashReporterThread.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Delivery/RSCEventUploader.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Delivery/RSCEventUploader.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCNotificationBreadcrumbs.m:9:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCNotificationBreadcrumbs.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/include/RSCrashReporter/RSCrashReporterBreadcrumb.h:26:9: fatal error: 'Foundation/Foundation.h' file not found
26 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSCNotificationBreadcrumbs.m
[0/83] Compiling RSCEventUploader.m
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Client/RSCrashReporterClient.m:27:
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Client/RSCrashReporterClient+Private.h:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Helpers/RSCDefines.h:11:10: fatal error: 'TargetConditionals.h' file not found
11 | #include <TargetConditionals.h>
| ^~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSCrashReporterClient.m
[0/83] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCrashReporterBreadcrumbs.m:9:
/host/spi-builder-workspace/.build/checkouts/crash-reporter-ios/RSCrashReporter/Breadcrumbs/RSCrashReporterBreadcrumbs.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/83] Compiling RSCrashReporterBreadcrumbs.m
BUILD FAILURE 6.2 wasm