The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftBlend2D, reference master (e3df6a), with Swift 6.2 for Wasm on 26 Nov 2025 03:00:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 e3df6a8 Updating README.md
Cloned https://github.com/LuizZak/swift-blend2d.git
Revision (git rev-parse @):
e3df6a86b2fadbb670579ace8bdf178b217cc1e3
SUCCESS checkout https://github.com/LuizZak/swift-blend2d.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/LuizZak/swift-blend2d.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/LuizZak/swift-libpng.git
[1/76] Fetching swift-libpng
Fetched https://github.com/LuizZak/swift-libpng.git from cache (0.20s)
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: you may be able to install libpng using your system-packager:
    apt-get install libpng-dev
warning: you may be able to install libpng using your system-packager:
    apt-get install libpng-dev
Building for debugging...
[0/192] Compiling a64func.cpp
[1/192] Compiling a64formatter.cpp
[2/192] Compiling a64emithelper.cpp
[3/192] Compiling constpool.cpp
[4/192] Write swift-version-24593BA9C3E375BF.txt
[5/192] Compiling cpuinfo.cpp
[6/192] Compiling trace.cpp
[7/192] Compiling codewriter.cpp
[8/192] Compiling emithelper.cpp
[9/192] Compiling uniqueidgenerator.cpp
[10/192] Compiling compiler.cpp
[11/192] Compiling unicode.cpp
[12/192] Compiling threadpool.cpp
[13/192] Compiling futex.cpp
[14/192] Compiling tables.cpp
[15/192] Compiling thread.cpp
[16/192] Compiling var.cpp
[17/192] Compiling scopedallocator.cpp
[18/192] Compiling zeroallocator.cpp
[19/192] Compiling simdx86_test_ssse3.cpp
[20/192] Compiling arenaallocator.cpp
[21/192] Compiling math.cpp
[22/192] Compiling simdx86_test_sse4_2.cpp
[23/192] Compiling arenahashmap.cpp
[24/192] Compiling simdx86_test_sse4_1.cpp
[25/192] Compiling simdx86_test_sse2.cpp
[26/192] Compiling simdx86_test_avx2.cpp
[26/192] Compiling simdx86_test_avx512.cpp
[28/192] Compiling simdx86_test_avx.cpp
[29/192] Compiling simdarm_test_asimd.cpp
[30/192] Compiling runtimescope.cpp
[31/192] Compiling string.cpp
[32/192] Compiling runtime.cpp
[33/192] Compiling workersynchronization.cpp
[34/192] Compiling random.cpp
[35/192] Compiling renderfetchdata.cpp
[36/192] Compiling interpolation_sse2.cpp
[37/192] Compiling workdata.cpp
[38/192] Compiling rendertargetinfo.cpp
[39/192] Compiling workermanager.cpp
[40/192] Compiling interpolation_avx2.cpp
[41/192] Compiling pixelconverter_ssse3.cpp
[42/192] Compiling funcs.cpp
[43/192] Compiling workerproc.cpp
[44/192] Compiling pixelconverter_sse2.cpp
[45/192] Compiling interpolation.cpp
[46/192] Compiling pixelconverter_avx2.cpp
[47/192] Compiling pipeprimitives.cpp
[48/192] Compiling pipepart.cpp
[49/192] Compiling piperuntime.cpp
[50/192] Compiling pipegenruntime.cpp
[51/192] Compiling pipefunction.cpp
[52/192] Compiling pipedefs.cpp
[53/192] Compiling pipecomposer.cpp
[54/192] Compiling pipecompiler_x86.cpp
[55/192] Compiling pixelconverter.cpp
[56/192] Compiling fillpart.cpp
[57/192] Compiling pipecompiler_a64.cpp
[58/192] Compiling fetchutilspixelgather.cpp
[59/192] Compiling pipecompiler_test_avx2fma.cpp
[60/192] Compiling pipecompiler_test_sse2.cpp
[61/192] Compiling fetchutilsinlineloops.cpp
[62/192] Compiling fetchutilspixelaccess.cpp
[63/192] Compiling fetchutilscoverage.cpp
[64/192] Compiling fetchpixelptrpart.cpp
[65/192] Compiling fetchsolidpart.cpp
[66/192] Compiling fetchpart.cpp
[67/192] Compiling compoppart.cpp
[68/192] Compiling fetchpatternpart.cpp
[69/192] Compiling fetchgradientpart.cpp
[70/192] Compiling pattern.cpp
[71/192] Compiling rastercontext.cpp
[72/192] Compiling otkern.cpp
[73/192] Compiling otname.cpp
[74/192] Compiling otmetrics.cpp
[75/192] Compiling pathstroke.cpp
[76/192] Compiling otglyfsimddata.cpp
[77/192] Compiling otglyf_sse4_2.cpp
[78/192] Compiling otglyf_asimd.cpp
[79/192] Compiling otglyf_avx2.cpp
[80/192] Compiling path.cpp
[81/192] Compiling otglyf.cpp
[82/192] Compiling otface.cpp
[83/192] Compiling otcore.cpp
[84/192] Compiling otcmap.cpp
[85/192] Compiling matrix_avx.cpp
[86/192] Compiling matrix_sse2.cpp
[87/192] Compiling matrix.cpp
[88/192] Compiling imageencoder.cpp
[89/192] Compiling imagescale.cpp
[90/192] Compiling object.cpp
[91/192] Compiling otcff.cpp
[92/192] Compiling imagedecoder.cpp
[93/192] Compiling otlayout.cpp
[94/192] Compiling gradient.cpp
[95/192] Compiling geometry.cpp
[96/192] Compiling imagecodec.cpp
[97/192] Compiling format.cpp
[98/192] Compiling image.cpp
[99/192] Compiling fonttagset.cpp
[100/192] Compiling glyphbuffer.cpp
[101/192] Compiling fonttagdatainfo.cpp
[102/192] Compiling fonttagdataids.cpp
[103/192] Compiling fontvariationsettings.cpp
[104/192] Compiling fontface.cpp
[105/192] Compiling fontmanager.cpp
[106/192] Compiling fontfeaturesettings.cpp
[107/192] Compiling fontdata.cpp
In file included from /host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:18:
/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, \
      |  ^
/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:954:18: error: use of undeclared identifier 'PROT_READ'
  954 |   int mmapProt = PROT_READ;
      |                  ^
/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:955:19: error: use of undeclared identifier 'MAP_SHARED'
  955 |   int mmapFlags = MAP_SHARED;
      |                   ^
/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:958:16: error: use of undeclared identifier 'mmap'
  958 |   void* data = mmap(nullptr, size, mmapProt, mmapFlags, int(file.handle), 0);
      |                ^
/host/spi-builder-workspace/Sources/blend2d/blend2d/filesystem.cpp:976:21: error: use of undeclared identifier 'munmap'
  976 |   int unmapStatus = munmap(_data, _size);
      |                     ^
5 errors generated.
[108/192] Compiling filesystem.cpp
[108/192] Compiling context.cpp
[108/192] Compiling deflatedecoder.cpp
[108/192] Compiling checksum.cpp
[108/192] Compiling deflateencoder.cpp
[108/192] Compiling font.cpp
[108/192] Compiling rastercontextops.cpp
[108/192] Compiling fixedpiperuntime.cpp
BUILD FAILURE 6.2 wasm