Build Information
Failed to build RealmExtensions, reference v4.0.1 (0707ec), with Swift 6.1 for Wasm on 27 Jan 2026 19:51:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DigitalSolutionsPest/RealmExtensions.git
Reference: v4.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/DigitalSolutionsPest/RealmExtensions
* tag v4.0.1 -> FETCH_HEAD
HEAD is now at 0707ec2 Fix stack overflow when chaining many RealmTransactions
Cloned https://github.com/DigitalSolutionsPest/RealmExtensions.git
Revision (git rev-parse @):
0707ec293cabefd647fcdca531c0aed1f3a3cc28
SUCCESS checkout https://github.com/DigitalSolutionsPest/RealmExtensions.git at v4.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/DigitalSolutionsPest/RealmExtensions.git
https://github.com/DigitalSolutionsPest/RealmExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "realm-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "20.0.1",
"upper_bound" : "21.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/realm-swift.git"
}
],
"manifest_display_name" : "RealmExtensions",
"name" : "RealmExtensions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "RealmExtensions",
"targets" : [
"RealmExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RealmExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "RealmExtensionsTests",
"path" : "Tests/RealmExtensionsTests",
"sources" : [
"RealmTestCase.swift",
"RealmTransactionTests.swift",
"UnmangedTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"RealmExtensions"
],
"type" : "test"
},
{
"c99name" : "RealmExtensions",
"module_type" : "SwiftTarget",
"name" : "RealmExtensions",
"path" : "Sources/RealmExtensions",
"product_dependencies" : [
"RealmSwift"
],
"product_memberships" : [
"RealmExtensions"
],
"sources" : [
"ChainWrite.swift",
"ObjectChangeExtensions.swift",
"RealmCollectionChangeExtensions.swift",
"RealmTransaction.swift",
"RealmTransactionComposition.swift",
"Unmanaged.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/realm/realm-swift.git
[1/131657] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (13.56s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.3 (14.31s)
Fetching https://github.com/realm/realm-core.git
[1/252489] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (25.86s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.0 (26.93s)
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 20.1.0
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 20.0.3
Building for debugging...
[0/221] Write sources
[1/221] Compiling Bid bid128_2_str_tables.c
[2/221] Compiling Bid bid128_compare.c
[3/221] Compiling Bid bid128.c
[4/221] Compiling Bid bid128_add.c
[5/221] Compiling mathlimits.cc
[6/221] Write swift-version-24593BA9C3E375BF.txt
[7/221] Compiling Bid bid128_div.c
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2region.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2region.h:6:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[8/221] Compiling s2geometry s2region.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.cc:11:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[8/221] Compiling mathutil.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2r2rect.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2r2rect.h:7:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[8/221] Compiling s2geometry s2r2rect.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2pointregion.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2pointregion.h:6:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[8/221] Compiling s2geometry s2pointregion.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polyline.cc:10:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[8/221] Compiling s2geometry s2polyline.cc
[8/221] Compiling s2geometry s2polygonbuilder.cc
[8/221] Compiling s2geometry s2loop.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polygon.cc:10:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[8/221] Compiling s2geometry s2polygon.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.cc:11:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/214] Compiling mathutil.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polygon.cc:10:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[0/214] Compiling s2geometry s2polygon.cc
[0/214] Compiling s2geometry s2polygonbuilder.cc
[0/214] Compiling s2geometry s2pointregion.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2loop.cc:16:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
40 | #include <pthread.h>
| ^~~~~~~~~~~
[0/214] Compiling s2geometry s2loop.cc
[0/214] Compiling s2geometry s2region.cc
[0/214] Compiling s2geometry s2r2rect.cc
[0/214] Compiling s2geometry s2polyline.cc
BUILD FAILURE 6.1 wasm