Build Information
Failed to build MushafImad, reference 2.0.0 (a0c263), with Swift 6.1 for Wasm on 20 Jul 2026 12:50:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibo2001/MushafImad.git
Reference: 2.0.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/ibo2001/MushafImad
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at a0c263e docs: mark eye tracking as experimental
Cloned https://github.com/ibo2001/MushafImad.git
Revision (git rev-parse @):
a0c263e2e46c9779561141f45ab64f236d2c4739
SUCCESS checkout https://github.com/ibo2001/MushafImad.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ibo2001/MushafImad.git
https://github.com/ibo2001/MushafImad.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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.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 saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/realm/realm-swift.git
[1/131801] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (5.38s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 20.0.5 (6.35s)
Fetching https://github.com/realm/realm-core.git
[1/252551] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (9.17s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 20.1.5 (9.48s)
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.5
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.5
Building for debugging...
[0/254] Write sources
[1/254] Compiling Bid bid128_quantize.c
[2/254] Compiling Bid bid128_mul.c
[3/254] Compiling Bid bid128_string.c
[3/254] Compiling Bid bid32_to_bid128.c
[4/254] Compiling Bid bid128_to_int64.c
[5/254] Write swift-version-24593BA9C3E375BF.txt
[7/254] Compiling mathlimits.cc
[8/254] Compiling Bid bid128_div.c
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.
[9/254] Compiling s2geometry s2r2rect.cc
[9/254] Compiling s2geometry s2loop.cc
[9/254] Compiling mathutil.cc
[9/254] Compiling s2geometry s2region.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>
| ^~~~~~~~~~~
[9/254] Compiling s2geometry s2polyline.cc
[9/254] Compiling s2geometry s2polygonbuilder.cc
[9/254] Compiling s2geometry s2polygon.cc
[9/254] Compiling s2geometry s2pointregion.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/245] Write sources
[0/245] Copying PrivacyInfo.xcprivacy
[0/245] Copying reciters_manifest.json
[0/245] Copying PrivacyInfo.xcprivacy
[5/245] Copying read_9.json
[5/245] Copying read_67.json
[5/245] Copying read_62.json
[5/245] Copying read_60.json
[5/245] Copying read_78.json
[5/245] Copying read_74.json
[5/245] Copying read_53.json
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.
[12/246] 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>
| ^~~~~~~~~~~
[12/246] Compiling s2geometry s2r2rect.cc
[12/246] 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>
| ^~~~~~~~~~~
[12/246] Compiling s2geometry s2polyline.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>
| ^~~~~~~~~~~
[12/246] Compiling s2geometry s2polygon.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>
| ^~~~~~~~~~~
[12/246] Compiling s2geometry s2region.cc
[12/246] 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>
| ^~~~~~~~~~~
[12/246] Compiling s2geometry s2pointregion.cc
BUILD FAILURE 6.1 wasm