Build Information
Failed to build SwiftBlend2D, reference 0.11.4 (855fe1), with Swift 6.4 for Wasm on 20 Sep 2026 22:54:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/swift-blend2d.git
Reference: 0.11.4
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/LuizZak/swift-blend2d
* tag 0.11.4 -> FETCH_HEAD
HEAD is now at 855fe13 Creating BLStyleConvertible type
Cloned https://github.com/LuizZak/swift-blend2d.git
Revision (git rev-parse @):
855fe139f972fea76afceba23a289846df03ec5d
SUCCESS checkout https://github.com/LuizZak/swift-blend2d.git at 0.11.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/LuizZak/swift-blend2d.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/LuizZak/swift-libpng.git
[1/76] Fetching swift-libpng
Fetched https://github.com/LuizZak/swift-libpng.git (0.48s)
Creating working copy for https://github.com/LuizZak/swift-libpng.git
Working copy of https://github.com/LuizZak/swift-libpng.git resolved at master (c059e4a)
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/SwiftBlend2DTests/SnapshotFailures': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/SwiftBlend2DTests/SnapshotFailures': File not found.
warning: 'swift-libpng': you may be able to install libpng using your system-packager:
apt-get install libpng-dev
Building for debugging...
[Pre-planning 1 / 184]
[Planning deferred tasks]
[37 / 228] asmjit
[43 / 228] asmjit
[46 / 228] asmjit
[53 / 228] asmjit
[54 / 228] asmjit
In file included from /host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:17:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: [0m[0;1;31merror: [0m[1m"WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"[0m
2 | #error [0;32m"WASI lacks a true mmap; to enable minimal mmap emulation, \[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:410:75: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
410 | [0;34mif[0m (Support::test(memoryFlags, MemoryFlags::kAccessRead)) protection |= PROT_READ;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:411:76: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
411 | [0;34mif[0m (Support::test(memoryFlags, MemoryFlags::kAccessWrite)) protection |= PROT_READ | PROT_WRITE;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:411:88: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_WRITE'[0m
411 | [0;34mif[0m (Support::test(memoryFlags, MemoryFlags::kAccessWrite)) protection |= PROT_READ | PROT_WRITE;[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:412:78: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
412 | [0;34mif[0m (Support::test(memoryFlags, MemoryFlags::kAccessExecute)) protection |= PROT_READ | PROT_EXEC;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:412:90: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_EXEC'[0m
412 | [0;34mif[0m (Support::test(memoryFlags, MemoryFlags::kAccessExecute)) protection |= PROT_READ | PROT_EXEC;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:619:17: [0m[0;1;31merror: [0m[1mno member named 'shm_open' in the global namespace[0m
619 | _fd = ::shm_open(_tmpName.data(), O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);[0m
| [0;1;32m ^~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:642:9: [0m[0;1;31merror: [0m[1mno member named 'shm_unlink' in the global namespace[0m
642 | ::shm_unlink(_tmpName.data());[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:677:46: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
677 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, vmInfo.pageSize, PROT_READ | PROT_EXEC, MAP_SHARED, anonMem.fd(), [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:677:58: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_EXEC'[0m
677 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, vmInfo.pageSize, PROT_READ | PROT_EXEC, MAP_SHARED, anonMem.fd(), [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:677:69: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_SHARED'[0m
677 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, vmInfo.pageSize, PROT_READ | PROT_EXEC, MAP_SHARED, anonMem.fd(), [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:678:14: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_FAILED'[0m
678 | [0;34mif[0m (ptr == MAP_FAILED) {[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:687:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'munmap'[0m
687 | munmap(ptr, vmInfo.pageSize);[0m
| [0;1;32m ^~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:737:41: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
737 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, pageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -[0;32m1[0m, [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:737:53: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_WRITE'[0m
737 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, pageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -[0;32m1[0m, [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:737:66: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_EXEC'[0m
737 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, pageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -[0;32m1[0m, [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:737:77: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_PRIVATE'[0m
737 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, pageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -[0;32m1[0m, [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:737:91: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_ANON'[0m
737 | [0;34mvoid[0m* ptr = mmap([0;32mnullptr[0m, pageSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -[0;32m1[0m, [0;32m0[0m);[0m
| [0;1;32m ^~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:76:27: [0m[0;1;36mnote: [0mexpanded from macro 'MAP_ANONYMOUS'[0m
76 | #define MAP_ANONYMOUS MAP_ANON[0m
| [0;1;32m ^~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp:739:16: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_FAILED'[0m
739 | [0;34mif[0m (ptr == MAP_FAILED) {[0m
| [0;1;32m ^~~~~~~~~~
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/asmjit-t.build/Objects-normal/wasm32/virtmem.o /host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/asmjit-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/asmjit-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/asmjit-t.build/Objects-normal/wasm32/virtmem.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/asmjit-t.build/Objects-normal/wasm32/virtmem.dia -c /host/spi-builder-workspace/Sources/asmjit/core/virtmem.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/asmjit-t.build/Objects-normal/wasm32/virtmem.o
error: Build failed
BUILD FAILURE 6.4 wasm