The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ably-cocoa-plugin-support, reference main (cec94e), with Swift 6.2 (beta) for Wasm on 23 Aug 2025 09:24:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-cocoa-plugin-support.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/ably/ably-cocoa-plugin-support
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cec94ed Initial commit
Cloned https://github.com/ably/ably-cocoa-plugin-support.git
Revision (git rev-parse @):
cec94ed123d60e39e3f8df665c30a57482d37612
SUCCESS checkout https://github.com/ably/ably-cocoa-plugin-support.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
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-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
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.
[0/1] Compiling _AblyPluginSupportPrivate APDependencyStore.m
BUILD FAILURE 6.2 wasm