The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cstb, reference main (a47f4e), with Swift 6.2 for macOS (SPM) on 14 Feb 2026 06:54:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/troughton/Cstb.git
[1/243] Fetching cstb
Fetched https://github.com/troughton/Cstb.git from cache (1.04s)
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.2
Building package at path:  $PWD
https://github.com/troughton/Cstb.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.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_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;
      |                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 6 errors generated.
[1/19] Compiling stb_herringbone_wang_tile stb_herringbone_wang_tile.c
[1/19] Compiling miniz miniz.c
[1/19] Compiling stb_hexwave stb_hexwave.c
[1/19] Compiling stb_easy_font stb_easy_font.c
[1/19] Compiling stb_image stb_image.c
[1/19] Compiling stb_ds stb_ds.c
[1/19] Compiling stb_c_lexer stb_c_lexer.c
[1/19] Compiling tinyexr tinyexr.cc
[1/19] Compiling stb_dxt stb_dxt.c
[1/19] Compiling stb_connected_components stb_connected_components.c
BUILD FAILURE 6.2 macosSpm