The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cstb, reference main (a47f4e), with Swift 6.1 for macOS (SPM) on 14 Feb 2026 06:56:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/troughton/Cstb.git
https://github.com/troughton/Cstb.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cstb",
  "name" : "Cstb",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "stb_c_lexer",
      "targets" : [
        "stb_c_lexer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_connected_components",
      "targets" : [
        "stb_connected_components"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_divide",
      "targets" : [
        "stb_divide"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_ds",
      "targets" : [
        "stb_ds"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_dxt",
      "targets" : [
        "stb_dxt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_easy_font",
      "targets" : [
        "stb_easy_font"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_herringbone_wang_tile",
      "targets" : [
        "stb_herringbone_wang_tile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_hexwave",
      "targets" : [
        "stb_hexwave"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_image",
      "targets" : [
        "stb_image"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_image_resize",
      "targets" : [
        "stb_image_resize"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_image_write",
      "targets" : [
        "stb_image_write"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_include",
      "targets" : [
        "stb_include"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_perlin",
      "targets" : [
        "stb_perlin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_rect_pack",
      "targets" : [
        "stb_rect_pack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_truetype",
      "targets" : [
        "stb_truetype"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_vorbis",
      "targets" : [
        "stb_vorbis"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "stb_voxel_render",
      "targets" : [
        "stb_voxel_render"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "miniz",
      "targets" : [
        "miniz"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "tinyexr",
      "targets" : [
        "tinyexr"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "tinyexr",
      "module_type" : "ClangTarget",
      "name" : "tinyexr",
      "path" : "Sources/tinyexr",
      "product_memberships" : [
        "tinyexr"
      ],
      "sources" : [
        "tinyexr.cc"
      ],
      "target_dependencies" : [
        "miniz"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_voxel_render",
      "module_type" : "ClangTarget",
      "name" : "stb_voxel_render",
      "path" : "Sources/stb_voxel_render",
      "product_memberships" : [
        "stb_voxel_render"
      ],
      "sources" : [
        "stb_voxel_render.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_vorbis",
      "module_type" : "ClangTarget",
      "name" : "stb_vorbis",
      "path" : "Sources/stb_vorbis",
      "product_memberships" : [
        "stb_vorbis"
      ],
      "sources" : [
        "stb_vorbis.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_truetype",
      "module_type" : "ClangTarget",
      "name" : "stb_truetype",
      "path" : "Sources/stb_truetype",
      "product_memberships" : [
        "stb_truetype"
      ],
      "sources" : [
        "stb_truetype.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_rect_pack",
      "module_type" : "ClangTarget",
      "name" : "stb_rect_pack",
      "path" : "Sources/stb_rect_pack",
      "product_memberships" : [
        "stb_rect_pack"
      ],
      "sources" : [
        "stb_rect_pack.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_perlin",
      "module_type" : "ClangTarget",
      "name" : "stb_perlin",
      "path" : "Sources/stb_perlin",
      "product_memberships" : [
        "stb_perlin"
      ],
      "sources" : [
        "stb_perlin.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_include",
      "module_type" : "ClangTarget",
      "name" : "stb_include",
      "path" : "Sources/stb_include",
      "product_memberships" : [
        "stb_include"
      ],
      "sources" : [
        "stb_include.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_image_write",
      "module_type" : "ClangTarget",
      "name" : "stb_image_write",
      "path" : "Sources/stb_image_write",
      "product_memberships" : [
        "stb_image_write"
      ],
      "sources" : [
        "stb_image_write.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_image_resize",
      "module_type" : "ClangTarget",
      "name" : "stb_image_resize",
      "path" : "Sources/stb_image_resize",
      "product_memberships" : [
        "stb_image_resize"
      ],
      "sources" : [
        "stb_image_resize.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_image",
      "module_type" : "ClangTarget",
      "name" : "stb_image",
      "path" : "Sources/stb_image",
      "product_memberships" : [
        "stb_image"
      ],
      "sources" : [
        "stb_image.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_hexwave",
      "module_type" : "ClangTarget",
      "name" : "stb_hexwave",
      "path" : "Sources/stb_hexwave",
      "product_memberships" : [
        "stb_hexwave"
      ],
      "sources" : [
        "stb_hexwave.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_herringbone_wang_tile",
      "module_type" : "ClangTarget",
      "name" : "stb_herringbone_wang_tile",
      "path" : "Sources/stb_herringbone_wang_tile",
      "product_memberships" : [
        "stb_herringbone_wang_tile"
      ],
      "sources" : [
        "stb_herringbone_wang_tile.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_easy_font",
      "module_type" : "ClangTarget",
      "name" : "stb_easy_font",
      "path" : "Sources/stb_easy_font",
      "product_memberships" : [
        "stb_easy_font"
      ],
      "sources" : [
        "stb_easy_font.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_dxt",
      "module_type" : "ClangTarget",
      "name" : "stb_dxt",
      "path" : "Sources/stb_dxt",
      "product_memberships" : [
        "stb_dxt"
      ],
      "sources" : [
        "stb_dxt.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_ds",
      "module_type" : "ClangTarget",
      "name" : "stb_ds",
      "path" : "Sources/stb_ds",
      "product_memberships" : [
        "stb_ds"
      ],
      "sources" : [
        "stb_ds.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_divide",
      "module_type" : "ClangTarget",
      "name" : "stb_divide",
      "path" : "Sources/stb_divide",
      "product_memberships" : [
        "stb_divide"
      ],
      "sources" : [
        "stb_divide.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_connected_components",
      "module_type" : "ClangTarget",
      "name" : "stb_connected_components",
      "path" : "Sources/stb_connected_components",
      "product_memberships" : [
        "stb_connected_components"
      ],
      "sources" : [
        "stb_connected_components.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "stb_c_lexer",
      "module_type" : "ClangTarget",
      "name" : "stb_c_lexer",
      "path" : "Sources/stb_c_lexer",
      "product_memberships" : [
        "stb_c_lexer"
      ],
      "sources" : [
        "stb_c_lexer.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "miniz",
      "module_type" : "ClangTarget",
      "name" : "miniz",
      "path" : "Sources/miniz",
      "product_memberships" : [
        "miniz",
        "tinyexr"
      ],
      "sources" : [
        "miniz.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/19] Compiling stb_divide stb_divide.c
[1/19] Compiling stb_easy_font stb_easy_font.c
[2/19] Compiling stb_c_lexer stb_c_lexer.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.
[3/19] Compiling stb_herringbone_wang_tile stb_herringbone_wang_tile.c
[3/19] Compiling stb_hexwave stb_hexwave.c
[3/19] Compiling stb_image_write stb_image_write.c
[3/19] Compiling stb_ds stb_ds.c
[3/19] Compiling tinyexr tinyexr.cc
[3/19] Compiling stb_vorbis stb_vorbis.c
[3/19] Compiling stb_voxel_render stb_voxel_render.c
[3/19] Compiling stb_connected_components stb_connected_components.c
[3/19] Compiling miniz miniz.c
[3/19] Compiling stb_include stb_include.c
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/16] Compiling stb_rect_pack stb_rect_pack.c
[1/16] Compiling stb_image_resize stb_image_resize.c
[2/16] Compiling stb_include stb_include.c
[2/16] Compiling stb_perlin stb_perlin.c
[4/16] Compiling stb_hexwave stb_hexwave.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.
[5/16] Compiling stb_herringbone_wang_tile stb_herringbone_wang_tile.c
[5/16] Compiling stb_connected_components stb_connected_components.c
[5/16] Compiling stb_dxt stb_dxt.c
[5/16] Compiling stb_ds stb_ds.c
[5/16] Compiling stb_vorbis stb_vorbis.c
[5/16] Compiling stb_voxel_render stb_voxel_render.c
[5/16] Compiling tinyexr tinyexr.cc
[5/16] Compiling stb_image stb_image.c
[5/16] Compiling stb_image_write stb_image_write.c
[5/16] Compiling stb_truetype stb_truetype.c
BUILD FAILURE 6.1 macosSpm