Build Information
Failed to build ably-pubsub-cocoa, reference 2.0.0 (c897be), with Swift 6.4 for Wasm on 7 Nov 2026 08:56:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-pubsub-cocoa.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-pubsub-cocoa
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at c897bec Merge pull request #2341 from ably/release/2.0.0
Submodule path 'Test/AblyTests/ably-common': checked out '783496f4dd1110d0175a7ced60de826e1aba40cc'
Submodule 'ably-common' (https://github.com/ably/ably-common.git) registered for path 'Test/AblyTests/ably-common'
Cloning into '/host/spi-builder-workspace/Test/AblyTests/ably-common'...
Cloned https://github.com/ably/ably-pubsub-cocoa.git
Revision (git rev-parse @):
c897becb1b0c644a9c67db89e7b247a083b6c540
SUCCESS checkout https://github.com/ably/ably-pubsub-cocoa.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ably/ably-pubsub-cocoa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/quick/nimble
[1/506] Fetching msgpack-objective-c
[179/1135] Fetching msgpack-objective-c, delta-codec-cocoa
[1136/21137] Fetching msgpack-objective-c, delta-codec-cocoa, nimble
Fetched https://github.com/ably/delta-codec-cocoa (1.09s)
Fetched https://github.com/rvi/msgpack-objective-C (1.09s)
Fetched https://github.com/quick/nimble (1.09s)
Computing version for https://github.com/quick/nimble
Computed https://github.com/quick/nimble at 11.2.2 (2.03s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.42s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.5 (0.61s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.18s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.17s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.40s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.58s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/rvi/msgpack-objective-C
Working copy of https://github.com/rvi/msgpack-objective-C resolved at 0.4.0
Creating working copy for https://github.com/ably/delta-codec-cocoa
Working copy of https://github.com/ably/delta-codec-cocoa resolved at 1.3.5
Creating working copy for https://github.com/quick/nimble
Working copy of https://github.com/quick/nimble resolved at 11.2.2
warning: 'spi-builder-workspace': ignoring target 'AblyTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'AblyTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 392]
[Planning deferred tasks]
[52 / 262] msgpack-product
In file included from /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNumber+MessagePack.m:9:
[1m/host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNumber+MessagePack.h:9:9: [0m[0;1;31mfatal error: [0m[1m'Foundation/Foundation.h' file not found[0m
9 | #import <Foundation/Foundation.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNumber+MessagePack.o /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNumber+MessagePack.m normal wasm32 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/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 -w -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 /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNumber+MessagePack.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNumber+MessagePack.dia -c /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNumber+MessagePack.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNumber+MessagePack.o
In file included from /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSString+MessagePack.m:9:
[1m/host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSString+MessagePack.h:9:9: [0m[0;1;31mfatal error: [0m[1m'Foundation/Foundation.h' file not found[0m
9 | #import <Foundation/Foundation.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSString+MessagePack.o /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSString+MessagePack.m normal wasm32 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/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 -w -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 /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSString+MessagePack.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSString+MessagePack.dia -c /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSString+MessagePack.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSString+MessagePack.o
In file included from /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNull+MessagePack.m:9:
[1m/host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNull+MessagePack.h:9:9: [0m[0;1;31mfatal error: [0m[1m'Foundation/Foundation.h' file not found[0m
9 | #import <Foundation/Foundation.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNull+MessagePack.o /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNull+MessagePack.m normal wasm32 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/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target wasm32-unknown-wasip1 -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 -w -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 /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNull+MessagePack.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNull+MessagePack.dia -c /host/spi-builder-workspace/.build/checkouts/msgpack-objective-C/Pod/Classes/NSNull+MessagePack.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/msgpack.build/Debug-webassembly-wasm32/msgpack-t.build/Objects-normal/wasm32/NSNull+MessagePack.o
error: Build failed
BUILD FAILURE 6.4 wasm