The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSDF, reference 1.0.0 (211a97), with Swift 6.1 for Linux on 28 Jun 2026 17:46:56 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/112] Compiling DistanceMapping.cpp
[1/112] Compiling EdgeHolder.cpp
[1/112] Write sources
[3/112] Write swift-version-24593BA9C3E375BF.txt
[4/112] Compiling SkOSFile_win.cpp
[5/112] Compiling Contour.cpp
/host/spi-builder-workspace/Sources/SDFCore/SDFShapeAnalyzer.cpp:38:11: error: unknown type name 'uint32_t'
   38 | constexpr uint32_t kComplexShapeSegmentThreshold = 48;
      |           ^
/host/spi-builder-workspace/Sources/SDFCore/SDFShapeAnalyzer.cpp:47:11: error: unknown type name 'uint32_t'
   47 | constexpr uint32_t kComplexShapeContourThreshold = 5;
      |           ^
/host/spi-builder-workspace/Sources/SDFCore/SDFShapeAnalyzer.cpp:72:5: error: unknown type name 'uint32_t'
   72 |     uint32_t contourCount = static_cast<uint32_t>(shape.contours.size());
      |     ^
/host/spi-builder-workspace/Sources/SDFCore/SDFShapeAnalyzer.cpp:72:41: error: unknown type name 'uint32_t'
   72 |     uint32_t contourCount = static_cast<uint32_t>(shape.contours.size());
      |                                         ^
/host/spi-builder-workspace/Sources/SDFCore/SDFShapeAnalyzer.cpp:77:5: error: unknown type name 'uint32_t'
   77 |     uint32_t totalSegments = 0;
      |     ^
/host/spi-builder-workspace/Sources/SDFCore/SDFShapeAnalyzer.cpp:79:38: error: unknown type name 'uint32_t'
   79 |         totalSegments += static_cast<uint32_t>(contour.edges.size());
      |                                      ^
6 errors generated.
[6/112] Compiling SDFCore SDFShapeAnalyzer.cpp
[6/112] Compiling SkOSFile_stdio.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[6/112] Compiling SkOSFile_posix.cpp
[6/112] Compiling SDFFoundation SDFGenerator.mm
[6/112] Compiling SkPathIter.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>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6/112] Compiling SDFCore SDFGeneratorCore.cpp
[6/112] Compiling edge-segments.cpp
[6/112] Compiling SkFloatingPoint.cpp
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/107] Compiling SkDebug_stdio.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/107] Compiling SDFFoundation SDFGenerator.mm
[1/107] Compiling SkMemory_malloc.cpp
[1/107] Compiling SkOSFile_stdio.cpp
[1/107] Compiling SkReduceOrder.cpp
[1/107] Compiling SkOSFile_posix.cpp
[1/107] Compiling SkPathWriter.cpp
[1/107] Compiling SkPathOpsWinding.cpp
[1/107] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux