Build Information
Failed to build RealmSwiftMacro, reference main (b98237), with Swift 6.2 for Wasm on 5 Dec 2025 08:08:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/RealmSwiftMacro.git
Reference: main
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/fummicc1/RealmSwiftMacro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b982377 Fix data-race issue (#7)
Cloned https://github.com/fummicc1/RealmSwiftMacro.git
Revision (git rev-parse @):
b9823777b9a41c60e853e10157fb76c9889422ed
SUCCESS checkout https://github.com/fummicc1/RealmSwiftMacro.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/fummicc1/RealmSwiftMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/realm/realm-swift
[1/131649] Fetching realm-swift
[130913/204664] Fetching realm-swift, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (22.54s)
Fetched https://github.com/realm/realm-swift from cache (22.73s)
Computing version for https://github.com/realm/realm-swift
Computed https://github.com/realm/realm-swift at 10.54.6 (27.91s)
Fetching https://github.com/realm/realm-core.git
[1/252494] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (23.46s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 602.0.0 (24.28s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (0.73s)
Creating working copy for https://github.com/realm/realm-swift
Working copy of https://github.com/realm/realm-swift resolved at 10.54.6
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.59s)
Building for debugging...
[0/307] Compiling Bid bid_decimal_globals.c
[1/307] Compiling Bid bid128_2_str_tables.c
[1/307] Write sources
[3/307] Compiling Bid bid128.c
[4/307] Compiling Bid bid_from_int.c
[5/307] Compiling Bid bid128_compare.c
[6/307] Compiling Bid bid128_add.c
[7/307] Compiling Bid bid128_div.c
[8/307] Compiling mathlimits.cc
[9/307] Compiling Bid bid_binarydecimal.c
[10/307] Compiling s2geometry s2region.cc
[11/307] Compiling s2geometry s2r2rect.cc
[12/307] Write swift-version-24593BA9C3E375BF.txt
[13/307] Compiling mathutil.cc
[14/310] Compiling s2geometry s2polyline.cc
[15/310] Compiling s2geometry s2polygon.cc
[16/310] Compiling s2geometry s2polygonbuilder.cc
[17/310] Compiling s2geometry s2pointregion.cc
[18/310] Compiling s2geometry s2latlngrect.cc
[19/310] Compiling s2geometry s2latlng.cc
[20/310] Compiling s2geometry s2loop.cc
[21/310] Compiling s2geometry s2edgeutil.cc
[22/310] Compiling s2geometry s2cellid.cc
[23/310] Copying PrivacyInfo.xcprivacy
[25/310] Write sources
[28/310] Copying PrivacyInfo.xcprivacy
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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/310] Compiling RealmCoreResources resource_bundle_accessor.m
[29/310] Compiling s2geometry s1angle.cc
[29/310] Compiling s2geometry s1interval.cc
[29/310] Compiling s2geometry s2cell.cc
[29/310] Compiling s2geometry s2edgeindex.cc
[29/310] Compiling s2geometry s2.cc
[29/310] Compiling s2geometry s2cap.cc
BUILD FAILURE 6.2 wasm