Build Information
Failed to build Adapty, reference master (a24d61), with Swift 6.2 for Wasm on 10 Oct 2026 16:33:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adaptyteam/AdaptySDK-iOS.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/adaptyteam/AdaptySDK-iOS
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a24d611 Merge branch 'hotfix/4.2.2'
Cloned https://github.com/adaptyteam/AdaptySDK-iOS.git
Revision (git rev-parse @):
a24d611b30bf3fa481f8344b2328defb9d4ad88f
SUCCESS checkout https://github.com/adaptyteam/AdaptySDK-iOS.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/adaptyteam/AdaptySDK-iOS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources.UIBuilder/UIBuilder/AGENTS.md
/host/spi-builder-workspace/Sources.UIBuilder/UIBuilder/CLAUDE.md
/host/spi-builder-workspace/Sources.UIBuilder/AGENTS.md
/host/spi-builder-workspace/Sources.UIBuilder/CLAUDE.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources.AdaptyUI/AGENTS.md
/host/spi-builder-workspace/Sources.AdaptyUI/CLAUDE.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources.DeveloperTools/CLAUDE.md
/host/spi-builder-workspace/Sources.DeveloperTools/AGENTS.md
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources.AdaptyPlugin/CLAUDE.md
/host/spi-builder-workspace/Sources.AdaptyPlugin/AGENTS.md
Building for debugging...
[0/12] Copying PrivacyInfo.xcprivacy
[0/12] Write sources
[9/12] Write swift-version-24593BA9C3E375BF.txt
[10/26] Compiling CSimdjson simdjson.cpp
In file included from /host/spi-builder-workspace/Sources.Codable/CSimdjson/SimdjsonBridge.cpp:2:
In file included from /host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:4688:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
In file included from /host/spi-builder-workspace/Sources.Codable/CSimdjson/SimdjsonBridge.cpp:2:
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5065:32: error: use of undeclared identifier 'PROT_READ'
5065 | mmap(NULL, total_size, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5065:43: error: use of undeclared identifier 'MAP_PRIVATE'
5065 | mmap(NULL, total_size, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5065:57: error: use of undeclared identifier 'MAP_ANONYMOUS'
5065 | mmap(NULL, total_size, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5066:21: error: use of undeclared identifier 'MAP_FAILED'
5066 | if (anon_map == MAP_FAILED) {
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5071:30: error: use of undeclared identifier 'PROT_READ'
5071 | mmap(anon_map, size, PROT_READ, MAP_SHARED | MAP_FIXED, fd, 0);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5071:41: error: use of undeclared identifier 'MAP_SHARED'
5071 | mmap(anon_map, size, PROT_READ, MAP_SHARED | MAP_FIXED, fd, 0);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5071:54: error: use of undeclared identifier 'MAP_FIXED'
5071 | mmap(anon_map, size, PROT_READ, MAP_SHARED | MAP_FIXED, fd, 0);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5072:21: error: use of undeclared identifier 'MAP_FAILED'
5072 | if (file_map == MAP_FAILED) {
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5073:7: error: use of undeclared identifier 'munmap'
5073 | munmap(anon_map, total_size);
| ^
/host/spi-builder-workspace/Sources.Codable/CSimdjson/simdjson.h:5083:5: error: use of undeclared identifier 'munmap'
5083 | munmap(const_cast<char *>(data), size + simdjson::SIMDJSON_PADDING);
| ^
11 errors generated.
[11/26] Compiling CSimdjson SimdjsonBridge.cpp
BUILD FAILURE 6.2 wasm