The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ably-cocoa-plugin-support, reference 2.0.0 (a290b8), with Swift 6.4 for Android on 24 Sep 2026 10:56:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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/ably/ably-cocoa-plugin-support.git
Reference: 2.0.0
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/ably/ably-cocoa-plugin-support
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at a290b89 Merge pull request #14 from ably/remove-methods-for-v2
Cloned https://github.com/ably/ably-cocoa-plugin-support.git
Revision (git rev-parse @):
a290b8942086ffb6e21e4805d9319143669d9414
SUCCESS checkout https://github.com/ably/ably-cocoa-plugin-support.git at 2.0.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ably/ably-cocoa-plugin-support.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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...
[Planning deferred tasks]
In file included from /host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:1:
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:3:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    3 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:11:1: error: expected function body after function declarator
   11 | NS_SWIFT_SENDABLE
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:26:1: error: missing context for method declaration
   26 | - (id<APPluginAPIProtocol>)fetchPluginAPI;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:28:1: error: expected method body
   28 | @end
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:1: error: missing context for method declaration
   39 | - (instancetype)init NS_UNAVAILABLE;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:22: error: expected method body
   39 | - (instancetype)init NS_UNAVAILABLE;
      |                      ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:41:1: error: '@end' must appear in an Objective-C context
   41 | @end
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:43:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   43 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: cannot find interface declaration for 'APDependencyStore'
    3 | @interface APDependencyStore ()
      |            ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: class extension has no primary class
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: cannot find interface declaration for 'APDependencyStore'
    9 | @implementation APDependencyStore
      |                 ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:13:12: error: unknown type name 'dispatch_once_t'
   13 |     static dispatch_once_t onceToken;
      |            ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:14:5: error: call to undeclared function 'dispatch_once'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   14 |     dispatch_once(&onceToken, ^{
      |     ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:15:46: warning: class method '+alloc' not found (return type defaults to 'id') [-Wobjc-method-access]
   15 |         sharedInstance = [[APDependencyStore alloc] init];
      |                                              ^~~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:15:53: warning: instance method '-init' not found (return type defaults to 'id') [-Wobjc-method-access]
   15 |         sharedInstance = [[APDependencyStore alloc] init];
      |                                                     ^~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:22:10: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   22 |     self.pluginAPI = pluginAPI;
      |          ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:26:46: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   26 |     id<APPluginAPIProtocol> pluginAPI = self.pluginAPI;
      |                                              ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:29:10: error: use of undeclared identifier 'NSException'
   29 |         [NSException raise:NSInternalInconsistencyException format:@"-fetchPluginAPI called before -registerPluginAPI:"];
      |          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: class 'APDependencyStore' defined without specifying a base class [-Wobjc-root-class]
    9 | @implementation APDependencyStore
      |                 ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:34: note: add a super class to fix this problem
    9 | @implementation APDependencyStore
      |                                  ^
4 warnings and 16 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/ably-cocoa-plugin-support.build/Debug-android-aarch64/_AblyPluginSupportPrivate-t.build/Objects-normal/aarch64/APDependencyStore.o /host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m normal aarch64 objective-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/ably-cocoa-plugin-support.build/Debug-android-aarch64/_AblyPluginSupportPrivate-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-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-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -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 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/ably-cocoa-plugin-support.build/Debug-android-aarch64/_AblyPluginSupportPrivate-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/ably-cocoa-plugin-support.build/Debug-android-aarch64/_AblyPluginSupportPrivate-t.build/Objects-normal/aarch64/APDependencyStore.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/ably-cocoa-plugin-support.build/Debug-android-aarch64/_AblyPluginSupportPrivate-t.build/Objects-normal/aarch64/APDependencyStore.dia -c /host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ably-cocoa-plugin-support.build/Debug-android-aarch64/_AblyPluginSupportPrivate-t.build/Objects-normal/aarch64/APDependencyStore.o
error: Build failed
BUILD FAILURE 6.4 android