Build Information
Failed to build AblyDeltaCodec, reference main (51499a
), with Swift 6.1 for Wasm on 28 May 2025 09:00:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/delta-codec-cocoa.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/delta-codec-cocoa
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 51499ac Merge pull request #26 from ably/release/1.3.4
Submodule path 'xdelta': checked out 'd502ba5739c9ca2d89c9f809d7c3a457f51bf788'
Submodule 'xdelta' (https://github.com/ably-forks/xdelta) registered for path 'xdelta'
Cloning into '/host/spi-builder-workspace/xdelta'...
Cloned https://github.com/ably/delta-codec-cocoa.git
Revision (git rev-parse @):
51499acb9d525b7767206ced9b37896afc1520e6
SUCCESS checkout https://github.com/ably/delta-codec-cocoa.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ably/delta-codec-cocoa.git
https://github.com/ably/delta-codec-cocoa.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++1z",
"dependencies" : [
],
"manifest_display_name" : "AblyDeltaCodec",
"name" : "AblyDeltaCodec",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "AblyDeltaCodec",
"targets" : [
"AblyDeltaCodec"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AblyDeltaCodec",
"module_type" : "ClangTarget",
"name" : "AblyDeltaCodec",
"path" : ".",
"product_memberships" : [
"AblyDeltaCodec"
],
"sources" : [
"source/ARTDeltaCodec.mm",
"xdelta/xdelta3/xdelta3.c"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/source/ARTDeltaCodec.mm:9:
/host/spi-builder-workspace/source/ARTDeltaCodec.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling ARTDeltaCodec.mm
In file included from /host/spi-builder-workspace/xdelta/xdelta3/xdelta3.c:654:
/host/spi-builder-workspace/xdelta/xdelta3/xdelta3.c:1061:10: warning: result of comparison of constant 9223372036854775808 with expression of type 'usize_t' (aka 'unsigned long') is always false [-Wtautological-constant-out-of-range-compare]
1061 | if (sz > USIZE_T_MAXBLKSZ)
| ~~ ^ ~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/xdelta/xdelta3/xdelta3.c:1063:14: warning: implicit conversion from 'unsigned long long' to 'usize_t' (aka 'unsigned long') changes value from 9223372036854775808 to 0 [-Wconstant-conversion]
1063 | return USIZE_T_MAXBLKSZ;
| ~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/xdelta/xdelta3/xdelta3-internal.h:329:33: note: expanded from macro 'USIZE_T_MAXBLKSZ'
329 | #define USIZE_T_MAXBLKSZ 0x8000000000000000ULL
| ^~~~~~~~~~~~~~~~~~~~~
[0/2] Compiling xdelta3.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/source/ARTDeltaCodec.mm:9:
/host/spi-builder-workspace/source/ARTDeltaCodec.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
9 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling ARTDeltaCodec.mm
[0/2] Compiling xdelta3.c
BUILD FAILURE 6.1 wasm