Build Information
Failed to build RealmExtensions, reference master (0707ec), with Swift 6.1 for Wasm on 27 Jan 2026 19:53:48 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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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 (16.70s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.3 (17.55s)
Fetching https://github.com/realm/realm-core.git
[1/252489] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (38.53s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.0 (40.86s)
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
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
Building for debugging...
[0/221] Write sources
[1/221] Compiling Bid bid_decimal_globals.c
[2/221] Compiling Bid bid_decimal_data.c
[3/221] Compiling Bid bid_convert_data.c
[4/221] Compiling Bid bid_from_int.c
[5/221] Compiling Bid bid_round.c
[6/221] Compiling mathlimits.cc
[7/221] Compiling Bid bid_binarydecimal.c
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
[8/221] Write swift-version-24593BA9C3E375BF.txt
[8/221] Compiling s2geometry s2polygon.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:23: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
70 | using Impl = std::unique_lock<std::mutex>;
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/alloc_slab.hpp:29:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:40: error: no member named 'mutex' in namespace 'std'
70 | using Impl = std::unique_lock<std::mutex>;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:18: error: expected a type
70 | using Impl = std::unique_lock<std::mutex>;
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:70:23: error: expected ';' after alias declaration
70 | using Impl = std::unique_lock<std::mutex>;
| ^
| ;
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:104:5: error: unknown type name 'Impl'
104 | Impl& native_handle()
| ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/checked_mutex.hpp:110:5: error: unknown type name 'Impl'
110 | Impl m_impl;
| ^
[8/221] Compiling alloc.cpp
[8/221] Compiling s2geometry s2polygonbuilder.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
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>
| ^~~~~~~~~~~
[8/221] Compiling s2geometry s2region.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...
[0/213] Write sources
[0/213] Copying PrivacyInfo.xcprivacy
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.
[3/213] Write swift-version-24593BA9C3E375BF.txt
[4/213] 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.
[4/213] Compiling mathutil.cc
[4/213] Compiling s2geometry s2loop.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>
| ^~~~~~~~~~~
[4/213] Compiling s2geometry s2pointregion.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>
| ^~~~~~~~~~~
[4/213] Compiling s2geometry s2r2rect.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polygonbuilder.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polygonbuilder.h:21:
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>
| ^~~~~~~~~~~
[4/213] Compiling s2geometry s2polygonbuilder.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>
| ^~~~~~~~~~~
[4/213] Compiling s2geometry s2polygon.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>
| ^~~~~~~~~~~
[4/213] Compiling s2geometry s2polyline.cc
BUILD FAILURE 6.1 wasm