Build Information
Failed to build SwiftWebview, reference 0.1.1 (82b785), with Swift 6.3 for Wasm on 13 Apr 2026 19:14:53 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakenvac/SwiftWebview.git
Reference: 0.1.1
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/jakenvac/SwiftWebview
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 82b785c updates webview to the latest commits
Cloned https://github.com/jakenvac/SwiftWebview.git
Revision (git rev-parse @):
82b785c010738794066fa3aeaaa5793cc6d2bede
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jakenvac/SwiftWebview.git at 0.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/jakenvac/SwiftWebview.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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/Sources/cWebview/include/webview.cc:1:
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:199:2: error: "please, specify webview backend"
199 | #error "please, specify webview backend"
| ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2174:24: error: expected class name
2174 | class webview : public browser_engine {
| ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2177:9: error: member initializer 'browser_engine' does not name a non-static data member or base class
2177 | : browser_engine(debug, wnd) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2181:7: error: use of undeclared identifier 'browser_engine'
2181 | browser_engine::navigate("about:blank");
| ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2184:5: error: use of undeclared identifier 'browser_engine'
2184 | browser_engine::navigate(url);
| ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2231:5: error: use of undeclared identifier 'init'; did you mean 'int'?
2231 | init(js);
| ^~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2232:5: error: use of undeclared identifier 'eval'
2232 | eval(js);
| ^~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2239:7: error: use of undeclared identifier 'init'; did you mean 'int'?
2239 | init(js);
| ^~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2240:7: error: use of undeclared identifier 'eval'
2240 | eval(js);
| ^~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2248:9: error: use of undeclared identifier 'eval'
2248 | eval("window._rpc[" + seq + "].resolve(" + result +
| ^~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2251:9: error: use of undeclared identifier 'eval'
2251 | eval("window._rpc[" + seq + "].reject(" + result +
| ^~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2246:5: error: use of undeclared identifier 'dispatch'
2246 | dispatch([seq, status, result, this]() {
| ^~~~~~~~
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2276:11: error: no member named 'window' in 'webview::webview'
2276 | if (!w->window()) {
| ~ ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2288:39: error: no member named 'run' in 'webview::webview'
2288 | static_cast<webview::webview *>(w)->run();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2292:39: error: no member named 'terminate' in 'webview::webview'
2292 | static_cast<webview::webview *>(w)->terminate();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2297:39: error: no member named 'dispatch' in 'webview::webview'
2297 | static_cast<webview::webview *>(w)->dispatch([=]() { fn(w, arg); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2301:46: error: no member named 'window' in 'webview::webview'
2301 | return static_cast<webview::webview *>(w)->window();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2305:39: error: no member named 'set_title' in 'webview::webview'
2305 | static_cast<webview::webview *>(w)->set_title(title);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/cWebview/include/webview.h:2310:39: error: no member named 'set_size' in 'webview::webview'
2310 | static_cast<webview::webview *>(w)->set_size(width, height, hints);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1/3] Compiling webview.cc
[1/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm