Build Information
Failed to build SwiftBlend2D, reference master (df2a56), with Swift 6.4 for Wasm on 20 Sep 2026 22:54:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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: 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/LuizZak/swift-blend2d
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at df2a566 Fixing build on macOS
Cloned https://github.com/LuizZak/swift-blend2d.git
Revision (git rev-parse @):
df2a566c5bbf406f5a28b0fca87b318195fd0d99
SUCCESS checkout https://github.com/LuizZak/swift-blend2d.git at master
========================================
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-0":/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.50s)
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 / 231] blend2d
[41 / 231] blend2d
[42 / 231] blend2d
[44 / 231] blend2d
[46 / 231] blend2d
[49 / 231] blend2d
[50 / 231] blend2d
[53 / 231] blend2d
[55 / 231] blend2d
[62 / 231] blend2d
[65 / 231] blend2d
[67 / 231] blend2d
[70 / 231] blend2d
[73 / 231] blend2d
[77 / 231] blend2d
[80 / 231] blend2d
[84 / 231] blend2d
[88 / 231] blend2d
[90 / 231] blend2d
[93 / 231] blend2d
[96 / 231] blend2d
[98 / 231] blend2d
[101 / 231] blend2d
[104 / 231] blend2d
[109 / 231] blend2d
[110 / 231] blend2d
[113 / 231] blend2d
[115 / 231] blend2d
[119 / 231] blend2d
[120 / 231] blend2d
[124 / 231] blend2d
[128 / 231] blend2d
[131 / 231] blend2d
[132 / 231] blend2d
[136 / 231] blend2d
[139 / 231] blend2d
In file included from /host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:18:
[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/blend2d/blend2d/filesystem.cpp:954:18: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
954 | [0;34mint[0m mmapProt = PROT_READ;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:955:19: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_SHARED'[0m
955 | [0;34mint[0m mmapFlags = MAP_SHARED;[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:958:16: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'mmap'[0m
958 | [0;34mvoid[0m* data = mmap([0;32mnullptr[0m, size, mmapProt, mmapFlags, [0;34mint[0m(file.handle), [0;32m0[0m);[0m
| [0;1;32m ^~~~
[0m[1m/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:976:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'munmap'[0m
976 | [0;34mint[0m unmapStatus = munmap(_data, _size);[0m
| [0;1;32m ^~~~~~
[0m5 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/blend2d-t.build/Objects-normal/wasm32/filesystem.o /host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.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/blend2d-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/blend2d-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/blend2d-t.build/Objects-normal/wasm32/filesystem.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/blend2d-t.build/Objects-normal/wasm32/filesystem.dia -c /host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftBlend2D.build/Debug-webassembly-wasm32/blend2d-t.build/Objects-normal/wasm32/filesystem.o
error: Build failed
BUILD FAILURE 6.4 wasm