The Swift Package Index logo.Swift Package Index

Build Information

Failed to build libgit2, reference 1.9.2 (52287b), with Swift 6.3 for Wasm on 17 Apr 2026 16:51:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibrahimcetin/libgit2.git
Reference: 1.9.2
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/ibrahimcetin/libgit2
 * tag               1.9.2      -> FETCH_HEAD
HEAD is now at 52287b0 Update GIT_SSH and GIT_SSH_EXEC definitions in Package.swift to support specific platforms
Updating files:  90% (10782/11941)
Updating files:  91% (10867/11941)
Updating files:  92% (10986/11941)
Updating files:  93% (11106/11941)
Updating files:  94% (11225/11941)
Updating files:  95% (11344/11941)
Updating files:  96% (11464/11941)
Updating files:  97% (11583/11941)
Updating files:  98% (11703/11941)
Updating files:  99% (11822/11941)
Updating files: 100% (11941/11941)
Updating files: 100% (11941/11941), done.
Cloned https://github.com/ibrahimcetin/libgit2.git
Revision (git rev-parse @):
52287b0914f300f916b58fec80e13d8dd8f6824f
SUCCESS checkout https://github.com/ibrahimcetin/libgit2.git at 1.9.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ibrahimcetin/libgit2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/214] Compiling realpath.c
[1/214] Compiling zstream.c
[2/214] Compiling varint.c
[3/214] Compiling utf8.c
[4/214] Compiling wildmatch.c
/host/spi-builder-workspace/src/util/vector.c:69:34: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
   69 |                 GIT_ERROR_CHECK_ALLOC_MULTIPLY(&bytes, src->length, sizeof(void *));
      |                                                ^~~~~~
/host/spi-builder-workspace/src/util/git2_util.h:169:34: note: expanded from macro 'GIT_ERROR_CHECK_ALLOC_MULTIPLY'
  169 |         if (GIT_MULTIPLY_SIZET_OVERFLOW(out, nelem, elsize)) { return -1; }
      |                                         ^~~
/host/spi-builder-workspace/src/util/git2_util.h:146:32: note: expanded from macro 'GIT_MULTIPLY_SIZET_OVERFLOW'
  146 |         (git__multiply_sizet_overflow(out, nelem, elsize) ? (git_error_set_oom(), 1) : 0)
      |                                       ^~~
/host/spi-builder-workspace/src/util/integer.h:60:40: note: expanded from macro 'git__multiply_sizet_overflow'
   60 |      __builtin_umul_overflow(one, two, out)
      |                                        ^~~
/host/spi-builder-workspace/src/util/vector.c:349:28: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
  349 |         GIT_ERROR_CHECK_ALLOC_ADD(&new_length, v->length, insert_len);
      |                                   ^~~~~~~~~~~
/host/spi-builder-workspace/src/util/git2_util.h:150:29: note: expanded from macro 'GIT_ERROR_CHECK_ALLOC_ADD'
  150 |         if (GIT_ADD_SIZET_OVERFLOW(out, one, two)) { return -1; }
      |                                    ^~~
/host/spi-builder-workspace/src/util/git2_util.h:142:27: note: expanded from macro 'GIT_ADD_SIZET_OVERFLOW'
  142 |         (git__add_sizet_overflow(out, one, two) ? (git_error_set_oom(), 1) : 0)
      |                                  ^~~
/host/spi-builder-workspace/src/util/integer.h:58:40: note: expanded from macro 'git__add_sizet_overflow'
   58 |      __builtin_uadd_overflow(one, two, out)
      |                                        ^~~
/host/spi-builder-workspace/src/util/vector.c:369:30: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
  369 |         if (git__add_sizet_overflow(&end_idx, idx, remove_len))
      |                                     ^~~~~~~~
/host/spi-builder-workspace/src/util/integer.h:58:40: note: expanded from macro 'git__add_sizet_overflow'
   58 |      __builtin_uadd_overflow(one, two, out)
      |                                        ^~~
3 warnings generated.
[5/214] Compiling vector.c
/host/spi-builder-workspace/src/util/unix/process.c:11:10: fatal error: 'sys/wait.h' file not found
   11 | #include <sys/wait.h>
      |          ^~~~~~~~~~~~
1 error generated.
[6/214] Compiling process.c
[6/214] Compiling util.c
[6/214] Compiling strlist.c
[6/214] Compiling str.c
[6/214] Compiling thread.c
[6/214] Compiling sortedcache.c
[6/214] Compiling tsort.c
[6/214] Compiling map.c
BUILD FAILURE 6.3 wasm