Build Information
Failed to build RxRealm, reference v5.1.0 (267cc8
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 12:54:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RxSwiftCommunity/RxRealm.git
Reference: v5.1.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/RxSwiftCommunity/RxRealm
* tag v5.1.0 -> FETCH_HEAD
HEAD is now at 267cc8b Bump version to v5.1.0
Cloned https://github.com/RxSwiftCommunity/RxRealm.git
Revision (git rev-parse @):
267cc8b587a5d5c74b57105050f9838cf20e2541
SUCCESS checkout https://github.com/RxSwiftCommunity/RxRealm.git at v5.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/RxSwiftCommunity/RxRealm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/realm/realm-swift.git
[1/52710] Fetching rxswift
[49549/184069] Fetching rxswift, realm-swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.70s)
[126105/131359] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (10.77s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (11.19s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.5 (1.67s)
Fetching https://github.com/realm/realm-core.git
[1/252487] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (16.91s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (17.91s)
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 14.14.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 10.54.5
Building for debugging...
[0/304] Compiling Bid bid128_2_str_tables.c
[1/304] Compiling Bid bid128.c
[2/304] Compiling Bid bid128_mul.c
[3/304] Compiling Bid bid32_to_bid128.c
[3/304] Write swift-version-24593BA9C3E375BF.txt
[5/304] Compiling mathlimits.cc
[6/304] Compiling mathutil.cc
[7/304] Compiling s2geometry s2loop.cc
[8/304] Compiling s2geometry s2pointregion.cc
[9/304] Compiling s2geometry s2r2rect.cc
[10/304] Compiling s2geometry s2region.cc
[11/304] Compiling s2geometry s2polyline.cc
[12/304] Compiling s2geometry s2latlng.cc
[13/304] Compiling s2geometry s2polygon.cc
[14/304] Compiling s2geometry s2polygonbuilder.cc
[15/304] Compiling s2geometry s2cell.cc
[16/304] Compiling s2geometry s2latlngrect.cc
[17/304] Copying PrivacyInfo.xcprivacy
[20/304] Write sources
[21/426] Compiling s2geometry s2cellid.cc
[22/427] Write sources
[25/429] Copying PrivacyInfo.xcprivacy
[27/431] Write sources
[28/431] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/RealmCoreResources.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[29/448] Compiling RealmCoreResources resource_bundle_accessor.m
[29/448] Compiling s2geometry s2cap.cc
[29/448] Compiling s2geometry s2.cc
[29/448] Compiling s2geometry s1angle.cc
[29/448] Compiling s2geometry s2edgeutil.cc
[29/448] Compiling s2geometry s1interval.cc
[29/448] Compiling s2geometry s2edgeindex.cc
BUILD FAILURE 6.2 wasm