Build Information
Failed to build Cstb, reference main (a47f4e), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 15:56:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/troughton/Cstb.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "cstb",
"name": "Cstb",
"url": "https://github.com/troughton/Cstb.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cstb",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/troughton/Cstb.git
[1/243] Fetching cstb
Fetched https://github.com/troughton/Cstb.git from cache (0.90s)
Creating working copy for https://github.com/troughton/Cstb.git
Working copy of https://github.com/troughton/Cstb.git resolved at main (a47f4ec)
warning: '.resolve-product-dependencies': dependency 'cstb' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/troughton/Cstb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/19] Compiling stb_divide stb_divide.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/stb_dxt/stb_dxt.c:2:
/Users/admin/builder/spi-builder-workspace/Sources/stb_dxt/include/stb_dxt.h:608:7: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
608 | memcpy(data, src, 4*16);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/stb_dxt/include/stb_dxt.h:608:7: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
1 error generated.
[1/19] Compiling stb_dxt stb_dxt.c
[1/19] Compiling stb_voxel_render stb_voxel_render.c
[1/19] Compiling stb_truetype stb_truetype.c
[1/19] Compiling tinyexr tinyexr.cc
/Users/admin/builder/spi-builder-workspace/Sources/stb_vorbis/stb_vorbis.c:987:75: warning: pointer comparison always evaluates to false [-Wtautological-compare]
987 | if (f->stream_start + loc >= f->stream_end || f->stream_start + loc < f->stream_start) {
| ^
[1/19] Compiling stb_vorbis stb_vorbis.c
[1/19] Compiling stb_rect_pack stb_rect_pack.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/stb_herringbone_wang_tile.c:2:
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:369:41: warning: declaration of 'struct stbhw__process' will not be visible outside of this function [-Wvisibility]
369 | typedef void stbhw__process_rect(struct stbhw__process *p, int xpos, int ypos,
| ^
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:401:43: warning: incompatible pointer types passing 'stbhw__process *' (aka 'struct stbhw__process *') to parameter of type 'struct stbhw__process *' [-Wincompatible-pointer-types]
401 | p->process_h_rect(p, xpos, ypos, a,b,c,d,e,f);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:425:43: warning: incompatible pointer types passing 'stbhw__process *' (aka 'struct stbhw__process *') to parameter of type 'struct stbhw__process *' [-Wincompatible-pointer-types]
425 | p->process_v_rect(p, xpos, ypos, a,b,c,d,e,f);
| ^
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:929:21: error: incompatible 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]
929 | p.process_h_rect = stbhw__parse_h_rect;
| ^ ~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:930:21: error: incompatible 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]
930 | p.process_v_rect = stbhw__parse_v_rect;
| ^ ~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1186:24: error: incompatible 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]
1186 | p.process_h_rect = stbhw__corner_process_h_rect;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1187:24: error: incompatible 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]
1187 | p.process_v_rect = stbhw__corner_process_v_rect;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1189:24: error: incompatible 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]
1189 | p.process_h_rect = stbhw__edge_process_h_rect;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/stb_herringbone_wang_tile/include/stb_herringbone_wang_tile.h:1190:24: error: incompatible 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]
1190 | p.process_v_rect = stbhw__edge_process_v_rect;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
[1/19] Compiling stb_herringbone_wang_tile stb_herringbone_wang_tile.c
[1/19] Compiling stb_ds stb_ds.c
[1/19] Compiling stb_easy_font stb_easy_font.c
[1/19] Compiling stb_hexwave stb_hexwave.c
BUILD FAILURE 6.3 macosSpm