The Swift Package Index logo.Swift Package Index

Build Information

Failed to build malloc-interposer, reference main (f47939), with Swift 6.3 for Android on 16 Oct 2026 10:36:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/malloc-interposer.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/ordo-one/malloc-interposer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f479398 feat(patch): trigger release
Cloned https://github.com/ordo-one/malloc-interposer.git
Revision (git rev-parse @):
f479398f73b14dbd1d25f4e01fd667171ddc9f18
SUCCESS checkout https://github.com/ordo-one/malloc-interposer.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ordo-one/malloc-interposer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:ec170ed262d75c9e928493cd00a486dad2d4f04db1b55d884efec7db42d0226b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/11] Write sources
[1/11] Compiling interposer-darwin.c
[2/11] Compiling AllocationHookTestSupport AllocationHookTestSupport.c
In file included from /host/spi-builder-workspace/Tests/InterposerCrashProbe/main.c:42:
/host/spi-builder-workspace/Sources/MallocInterposerC/include/interposer.h:258:8: error: conflicting types for 'malloc_usable_size'
  258 | size_t malloc_usable_size(void *ptr);
      |        ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/malloc.h:117:8: note: previous declaration is here
  117 | size_t malloc_usable_size(const void* _Nullable __ptr);
      |        ^
1 error generated.
[3/11] Compiling InterposerCrashProbe main.c
In file included from /host/spi-builder-workspace/Sources/MallocInterposerC/src/interposer-unix.c:47:
/host/spi-builder-workspace/Sources/MallocInterposerC/include/interposer.h:258:8: error: conflicting types for 'malloc_usable_size'
  258 | size_t malloc_usable_size(void *ptr);
      |        ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/malloc.h:117:8: note: previous declaration is here
  117 | size_t malloc_usable_size(const void* _Nullable __ptr);
      |        ^
[3/11] Compiling interposer-unix.c
[3/11] Write swift-version-272D24FF697CF451.txt
BUILD FAILURE 6.3 android