Build Information
Failed to build Cstb, reference main (a47f4e), with Swift 6.4 for Linux on 24 Sep 2026 03:31:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/troughton/Cstb.git
Reference: main
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/troughton/Cstb
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a47f4ec Update stb_image to 2.28
Cloned https://github.com/troughton/Cstb.git
Revision (git rev-parse @):
a47f4ecf3a139ac2f53ed27a984853c9f98097f1
SUCCESS checkout https://github.com/troughton/Cstb.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/troughton/Cstb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1129]
[Constructing 483 / 2055]
[54 / 163] stb_include
In file included from /host/spi-builder-workspace/Sources/stb_include/stb_include.c:2:
[1m/host/spi-builder-workspace/Sources/stb_include/include/stb_include.h:208:13: [0m[0;1;35mwarning: [0m[1mignoring return value of function declared with pure attribute [-Wunused-value][0m
208 | strcmp(temp, [0;32m"INJECT"[0m);[0m
| [0;1;32m ^~~~~~ ~~~~~~~~~~~~~~
[0m1 warning generated.
[120 / 163] stb_rect_pack-product
In file included from /host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/stb_herringbone_wang_tile.c:2:
[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:369:41: [0m[0;1;35mwarning: [0m[1mdeclaration of 'struct stbhw__process' will not be visible outside of this function [-Wvisibility][0m
369 | [0;34mtypedef[0m [0;34mvoid[0m stbhw__process_rect([0;34mstruct[0m stbhw__process *p, [0;34mint[0m xpos, [0;34mint[0m ypos,[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:401:43: [0m[0;1;35mwarning: [0m[1mincompatible pointer types passing 'stbhw__process *' (aka 'struct stbhw__process *') to parameter of type 'struct stbhw__process *' [-Wincompatible-pointer-types][0m
401 | p->process_h_rect(p, xpos, ypos, a,b,c,d,e,f);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:425:43: [0m[0;1;35mwarning: [0m[1mincompatible pointer types passing 'stbhw__process *' (aka 'struct stbhw__process *') to parameter of type 'struct stbhw__process *' [-Wincompatible-pointer-types][0m
425 | p->process_v_rect(p, xpos, ypos, a,b,c,d,e,f);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:929:21: [0m[0;1;31merror: [0m[1mincompatible function pointer types assigning to 'stbhw__process_rect *' (aka 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)') from 'void (stbhw__process *, int, int, int, int, int, int, int, int)' (aka 'void (struct stbhw__process *, int, int, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types][0m
929 | p.process_h_rect = stbhw__parse_h_rect;[0m
| [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:930:21: [0m[0;1;31merror: [0m[1mincompatible function pointer types assigning to 'stbhw__process_rect *' (aka 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)') from 'void (stbhw__process *, int, int, int, int, int, int, int, int)' (aka 'void (struct stbhw__process *, int, int, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types][0m
930 | p.process_v_rect = stbhw__parse_v_rect;[0m
| [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1186:24: [0m[0;1;31merror: [0m[1mincompatible function pointer types assigning to 'stbhw__process_rect *' (aka 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)') from 'void (stbhw__process *, int, int, int, int, int, int, int, int)' (aka 'void (struct stbhw__process *, int, int, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types][0m
1186 | p.process_h_rect = stbhw__corner_process_h_rect;[0m
| [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1187:24: [0m[0;1;31merror: [0m[1mincompatible function pointer types assigning to 'stbhw__process_rect *' (aka 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)') from 'void (stbhw__process *, int, int, int, int, int, int, int, int)' (aka 'void (struct stbhw__process *, int, int, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types][0m
1187 | p.process_v_rect = stbhw__corner_process_v_rect;[0m
| [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1189:24: [0m[0;1;31merror: [0m[1mincompatible function pointer types assigning to 'stbhw__process_rect *' (aka 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)') from 'void (stbhw__process *, int, int, int, int, int, int, int, int)' (aka 'void (struct stbhw__process *, int, int, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types][0m
1189 | p.process_h_rect = stbhw__edge_process_h_rect;[0m
| [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1190:24: [0m[0;1;31merror: [0m[1mincompatible function pointer types assigning to 'stbhw__process_rect *' (aka 'void (*)(struct stbhw__process *, int, int, int, int, int, int, int, int)') from 'void (stbhw__process *, int, int, int, int, int, int, int, int)' (aka 'void (struct stbhw__process *, int, int, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types][0m
1190 | p.process_v_rect = stbhw__edge_process_v_rect;[0m
| [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m3 warnings and 6 errors generated.
[126 / 163] stb_voxel_render-product
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cstb.build/Debug-linux-x86_64/stb_herringbone_wang_tile-t.build/Objects-normal/x86_64/stb_herringbone_wang_tile.o /host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/stb_herringbone_wang_tile.c normal x86_64 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/Cstb.build/Debug-linux-x86_64/stb_herringbone_wang_tile-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target x86_64-unknown-linux-gnu -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-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 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Cstb.build/Debug-linux-x86_64/stb_herringbone_wang_tile-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cstb.build/Debug-linux-x86_64/stb_herringbone_wang_tile-t.build/Objects-normal/x86_64/stb_herringbone_wang_tile.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cstb.build/Debug-linux-x86_64/stb_herringbone_wang_tile-t.build/Objects-normal/x86_64/stb_herringbone_wang_tile.dia -c /host/spi-builder-workspace/Sources/stb_herringbone_wang_tile/stb_herringbone_wang_tile.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Cstb.build/Debug-linux-x86_64/stb_herringbone_wang_tile-t.build/Objects-normal/x86_64/stb_herringbone_wang_tile.o
error: Build failed
BUILD FAILURE 6.4 linux