The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Brotli, reference main (66b204), with Swift 6.4 for Android on 24 Sep 2026 17:12:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EvgenijLutz/Brotli.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/EvgenijLutz/Brotli
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 66b2040 Re-sign the frameworks
Cloned https://github.com/EvgenijLutz/Brotli.git
Revision (git rev-parse @):
66b204011861bebb3c066b9e892f95aec2b773ce
SUCCESS checkout https://github.com/EvgenijLutz/Brotli.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/EvgenijLutz/Brotli.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Constructing description]
[Pre-planning 1 / 394]
[Starting]
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:14:51: error: expected ')'
   14 | typedef void (* BrotliCallback)(void* fn_nullable userInfo);
      |                                                   ^
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:14:32: note: to match this '('
   14 | typedef void (* BrotliCallback)(void* fn_nullable userInfo);
      |                                ^
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:15:59: error: expected ')'
   15 | typedef void (* BrotliProgressCallback)(void* fn_nullable userInfo, float progress);
      |                                                           ^
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:15:40: note: to match this '('
   15 | typedef void (* BrotliProgressCallback)(void* fn_nullable userInfo, float progress);
      |                                        ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:18:35: error: expected ';' at end of declaration list
   18 |     BrotliEncoderState* fn_nonnull _state;
      |                                   ^
      |                                   ;
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:20:5: error: friends can only be classes or functions
   20 |     FN_FRIEND_SWIFT_INTERFACE(BrotliCompressor)
      |     ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:157:14: note: expanded from macro 'FN_FRIEND_SWIFT_INTERFACE'
  157 | friend name* fn_nullable name##Retain(name* fn_nullable obj) SWIFT_RETURNS_UNRETAINED; \
      |              ^
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:41:21: note: expanded from macro 'fn_nullable'
   41 | #define fn_nullable __nullable
      |                     ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:20:5: error: expected ';' at end of declaration list
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:157:26: note: expanded from macro 'FN_FRIEND_SWIFT_INTERFACE'
  157 | friend name* fn_nullable name##Retain(name* fn_nullable obj) SWIFT_RETURNS_UNRETAINED; \
      |                          ^
<scratch space>:10:1: note: expanded from here
   10 | BrotliCompressorRetain
      | ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:20:5: error: expected ')'
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:158:45: note: expanded from macro 'FN_FRIEND_SWIFT_INTERFACE'
  158 | friend void name##Release(name* fn_nullable obj);
      |                                             ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:20:5: note: to match this '('
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:158:26: note: expanded from macro 'FN_FRIEND_SWIFT_INTERFACE'
  158 | friend void name##Release(name* fn_nullable obj);
      |                          ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:22:53: error: expected ')'
   22 |     BrotliCompressor(BrotliEncoderState* fn_nonnull state);
      |                                                     ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:22:21: note: to match this '('
   22 |     BrotliCompressor(BrotliEncoderState* fn_nonnull state);
      |                     ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:26:30: error: redefinition of '__nonnull' as different kind of symbol
   26 |     static BrotliCompressor* fn_nonnull create() SWIFT_NAME(init()) SWIFT_RETURNS_RETAINED;
      |                              ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:45:20: note: expanded from macro 'fn_nonnull'
   45 | #define fn_nonnull __nonnull
      |                    ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:18:25: note: previous definition is here
   18 |     BrotliEncoderState* fn_nonnull _state;
      |                         ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:45:20: note: expanded from macro 'fn_nonnull'
   45 | #define fn_nonnull __nonnull
      |                    ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:26:40: error: expected ';' at end of declaration list
   26 |     static BrotliCompressor* fn_nonnull create() SWIFT_NAME(init()) SWIFT_RETURNS_RETAINED;
      |                                        ^
      |                                        ;
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:30:37: error: expected ')'
   30 |     void compress(void* fn_nullable userInfo, BrotliProgressCallback fn_nullable progressCallback);
      |                                     ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:30:18: note: to match this '('
   30 |     void compress(void* fn_nullable userInfo, BrotliProgressCallback fn_nullable progressCallback);
      |                  ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:11:67: error: expected ')'
   11 | BrotliCompressor::BrotliCompressor(BrotliEncoderState* fn_nonnull state):
      |                                                                   ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:11:35: note: to match this '('
   11 | BrotliCompressor::BrotliCompressor(BrotliEncoderState* fn_nonnull state):
      |                                   ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:13:8: error: use of undeclared identifier 'state'
   13 | _state(state) {
      |        ^~~~~
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:19:34: error: use of undeclared identifier '_state'
   19 |     BrotliEncoderDestroyInstance(_state);
      |                                  ^~~~~~
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:24:29: error: expected ';' after top level declarator
   24 | BrotliCompressor* fn_nonnull BrotliCompressor::create() SWIFT_RETURNS_RETAINED {
      |                             ^
      |                             ;
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:35:1: error: expected ';' after top level declarator
   35 | FN_IMPLEMENT_SWIFT_INTERFACE1(BrotliCompressor)
      | ^
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:128:19: note: expanded from macro 'FN_IMPLEMENT_SWIFT_INTERFACE1'
  128 | name* fn_nullable name##Retain(name* fn_nullable obj) { \
      |                   ^
<scratch space>:14:1: note: expanded from here
   14 | BrotliCompressorRetain
      | ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:35:1: error: expected ')'
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:135:38: note: expanded from macro 'FN_IMPLEMENT_SWIFT_INTERFACE1'
  135 | void name##Release(name* fn_nullable obj) { \
      |                                      ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:35:1: note: to match this '('
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:135:19: note: expanded from macro 'FN_IMPLEMENT_SWIFT_INTERFACE1'
  135 | void name##Release(name* fn_nullable obj) { \
      |                   ^
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:35:1: error: use of undeclared identifier 'obj'
   35 | FN_IMPLEMENT_SWIFT_INTERFACE1(BrotliCompressor)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:136:9: note: expanded from macro 'FN_IMPLEMENT_SWIFT_INTERFACE1'
  136 |     if (obj == nullptr) { \
      |         ^~~
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:35:1: error: use of undeclared identifier 'obj'
   35 | FN_IMPLEMENT_SWIFT_INTERFACE1(BrotliCompressor)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:139:9: note: expanded from macro 'FN_IMPLEMENT_SWIFT_INTERFACE1'
  139 |     if (obj->_referenceCounter.fetch_sub(1) == 1) { \
      |         ^~~
/host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:35:1: error: use of undeclared identifier 'obj'
   35 | FN_IMPLEMENT_SWIFT_INTERFACE1(BrotliCompressor)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp:8:
In file included from /host/spi-builder-workspace/Sources/BrotliEncodeC/include/BrotliEncodeC/BrotliCompressor.hpp:11:
In file included from /host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/BrotliCommon.hpp:11:
/host/spi-builder-workspace/Sources/BrotliCommon/include/BrotliCommon/Common.hpp:140:16: note: expanded from macro 'FN_IMPLEMENT_SWIFT_INTERFACE1'
  140 |         delete obj; \
      |                ^~~
19 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Brotli.build/Debug-android-aarch64/BrotliEncodeC-t.build/Objects-normal/aarch64/BrotliCompressor.o /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp normal aarch64 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Brotli.build/Debug-android-aarch64/BrotliEncodeC-t.build/Objects-normal/aarch64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x c++ -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -Wall @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Brotli.build/Debug-android-aarch64/BrotliEncodeC-t.build/Objects-normal/aarch64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Brotli.build/Debug-android-aarch64/BrotliEncodeC-t.build/Objects-normal/aarch64/BrotliCompressor.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Brotli.build/Debug-android-aarch64/BrotliEncodeC-t.build/Objects-normal/aarch64/BrotliCompressor.dia -c /host/spi-builder-workspace/Sources/BrotliEncodeC/BrotliCompressor.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Brotli.build/Debug-android-aarch64/BrotliEncodeC-t.build/Objects-normal/aarch64/BrotliCompressor.o
error: Build failed
BUILD FAILURE 6.4 android