Build Information
Failed to build SwiftSDF, reference 1.0.0 (211a97), with Swift 6.1 for Wasm on 28 Jun 2026 17:49:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeroOneZeroR/SwiftSDF.git
Reference: 1.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/ZeroOneZeroR/SwiftSDF
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 211a978 Add more OS support and fine tune the demo app and the README
Cloned https://github.com/ZeroOneZeroR/SwiftSDF.git
Revision (git rev-parse @):
211a97840000c1cfda66a68d92c806b5fa2b3318
SUCCESS checkout https://github.com/ZeroOneZeroR/SwiftSDF.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ZeroOneZeroR/SwiftSDF.git
https://github.com/ZeroOneZeroR/SwiftSDF.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.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
Building for debugging...
[0/112] Compiling DistanceMapping.cpp
[1/112] Compiling save-bmp.cpp
[2/112] Write sources
[3/112] Compiling equation-solver.cpp
[3/112] Compiling EdgeHolder.cpp
[5/112] Compiling render-sdf.cpp
[6/112] Compiling SkOSFile_win.cpp
[7/112] Write swift-version-24593BA9C3E375BF.txt
[8/112] Compiling SkDebug_stdio.cpp
/host/spi-builder-workspace/Sources/SDFCore/skia-pathops/src/ports/SkMemory_malloc.cpp:17:10: fatal error: 'malloc/malloc.h' file not found
17 | #include <malloc/malloc.h>
| ^~~~~~~~~~~~~~~~~
1 error generated.
[9/112] Compiling SkMemory_malloc.cpp
[9/112] Compiling SkOSFile_posix.cpp
In file included from /host/spi-builder-workspace/Sources/SDFCore/SDFGeneratorCore.cpp:8:
/host/spi-builder-workspace/Sources/SDFCore/SDFGeneratorCore.h:11:10: fatal error: 'CoreGraphics/CoreGraphics.h' file not found
11 | #include <CoreGraphics/CoreGraphics.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/112] Compiling SDFCore SDFGeneratorCore.cpp
[9/112] Compiling Contour.cpp
[9/112] Compiling SkOSFile_stdio.cpp
[9/112] Compiling SDFCore SDFShapeAnalyzer.cpp
[9/112] Compiling SkReduceOrder.cpp
In file included from /host/spi-builder-workspace/Sources/SDFFoundation/SDFGenerator.mm:8:
/host/spi-builder-workspace/Sources/SDFFoundation/SDFGenerator.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
11 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/112] Compiling SDFFoundation SDFGenerator.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.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...
/host/spi-builder-workspace/Sources/SDFCore/skia-pathops/src/ports/SkMemory_malloc.cpp:17:10: fatal error: 'malloc/malloc.h' file not found
17 | #include <malloc/malloc.h>
| ^~~~~~~~~~~~~~~~~
1 error generated.
[0/104] Compiling SkMemory_malloc.cpp
[0/104] Compiling SkPathOpsTypes.cpp
[0/104] Compiling SkPathWriter.cpp
In file included from /host/spi-builder-workspace/Sources/SDFFoundation/SDFGenerator.mm:8:
/host/spi-builder-workspace/Sources/SDFFoundation/SDFGenerator.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
11 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/104] Compiling SDFFoundation SDFGenerator.mm
[0/104] Compiling SkReduceOrder.cpp
[0/104] Compiling SkOSFile_stdio.cpp
[0/104] Compiling SkOSFile_posix.cpp
[0/104] Compiling SkPathOpsWinding.cpp
BUILD FAILURE 6.1 wasm