Build Information
Failed to build SwiftUSD, reference main (d15cee
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 06:06:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi --target UsdView 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wabiverse/SwiftUSD.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/wabiverse/SwiftUSD
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d15cee0 scui: use correct/latest revision hash.
Updating files: 89% (7377/8206)
Updating files: 90% (7386/8206)
Updating files: 91% (7468/8206)
Updating files: 92% (7550/8206)
Updating files: 93% (7632/8206)
Updating files: 94% (7714/8206)
Updating files: 95% (7796/8206)
Updating files: 96% (7878/8206)
Updating files: 97% (7960/8206)
Updating files: 98% (8042/8206)
Updating files: 99% (8124/8206)
Updating files: 100% (8206/8206)
Updating files: 100% (8206/8206), done.
Cloned https://github.com/wabiverse/SwiftUSD.git
Revision (git rev-parse @):
d15cee012a52e457fe28c62bcaa1551ea6796209
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wabiverse/SwiftUSD.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/wabiverse/SwiftUSD.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi --target UsdView 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/wabiverse/swift-cross-ui
[1/13642] Fetching swift-cross-ui
Fetched https://github.com/wabiverse/swift-cross-ui from cache (1.43s)
warning: 'swift-cross-ui': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
Fetching https://github.com/wabiverse/MetaverseKit
[1/12388] Fetching metaversekit
Fetched https://github.com/wabiverse/MetaverseKit from cache (9.65s)
Fetching https://github.com/wabiverse/swift-windowsappsdk
[1/170] Fetching swift-windowsappsdk
Fetched https://github.com/wabiverse/swift-windowsappsdk from cache (0.57s)
Fetching https://github.com/thebrowsercompany/swift-windowsfoundation
[1/72] Fetching swift-windowsfoundation
Fetched https://github.com/thebrowsercompany/swift-windowsfoundation from cache (0.38s)
Fetching https://github.com/wabiverse/swift-winui
[1/109] Fetching swift-winui
Fetched https://github.com/wabiverse/swift-winui from cache (0.52s)
Fetching https://github.com/thebrowsercompany/swift-cwinrt
[1/436] Fetching swift-cwinrt
Fetched https://github.com/thebrowsercompany/swift-cwinrt from cache (0.91s)
Fetching https://github.com/thebrowsercompany/swift-uwp
[1/199] Fetching swift-uwp
Fetched https://github.com/thebrowsercompany/swift-uwp from cache (0.61s)
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/stackotter/swift-image-formats
Fetching https://github.com/stackotter/swift-macro-toolkit
[1/48] Fetching zlib
[49/944] Fetching zlib, swift-macro-toolkit
[945/998] Fetching zlib, swift-macro-toolkit, libwebp
[999/1028] Fetching zlib, swift-macro-toolkit, libwebp, libpng
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/the-swift-collective/libwebp from cache (0.60s)
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (0.60s)
Fetching https://github.com/mxcl/Version.git
Fetching https://github.com/onevcat/Rainbow.git
[60/202] Fetching zlib, libpng, swift-image-formats
[184/495] Fetching zlib, libpng, swift-image-formats, version
[240/1691] Fetching zlib, libpng, swift-image-formats, version, rainbow
Fetched https://github.com/the-swift-collective/zlib from cache (1.13s)
[1266/1643] Fetching libpng, swift-image-formats, version, rainbow
Fetched https://github.com/the-swift-collective/libpng from cache (1.13s)
Fetched https://github.com/stackotter/swift-image-formats from cache (1.13s)
[1322/1489] Fetching version, rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetched https://github.com/onevcat/Rainbow.git from cache (0.73s)
Fetched https://github.com/mxcl/Version.git from cache (0.74s)
Fetching https://github.com/wabiverse/icu.git
[1/3836] Fetching swift-log
[462/5918] Fetching swift-log, swift-docc-plugin
[960/76844] Fetching swift-log, swift-docc-plugin, swift-syntax
[1230/77874] Fetching swift-log, swift-docc-plugin, swift-syntax, icu
[3792/93254] Fetching swift-log, swift-docc-plugin, swift-syntax, icu, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.50s)
[24929/89418] Fetching swift-docc-plugin, swift-syntax, icu, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.51s)
[22878/87336] Fetching swift-syntax, icu, swift-argument-parser
Fetched https://github.com/wabiverse/icu.git from cache (1.69s)
[24601/86306] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.20s)
[12058/70926] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (11.31s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (12.93s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.94s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.28s)
Computing version for https://github.com/wabiverse/icu.git
Computed https://github.com/wabiverse/icu.git at 76.1.2 (0.82s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.97s)
Computing version for https://github.com/stackotter/swift-image-formats
Computed https://github.com/stackotter/swift-image-formats at 0.3.3 (0.91s)
Fetching https://github.com/stackotter/jpeg
[1/3111] Fetching jpeg
Fetched https://github.com/stackotter/jpeg from cache (5.01s)
Computing version for https://github.com/stackotter/jpeg
Computed https://github.com/stackotter/jpeg at 1.0.2 (6.03s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (0.79s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (1.08s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.91s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.2.0 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.77s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.03s)
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.2.0
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.6.1
Creating working copy for https://github.com/stackotter/jpeg
Working copy of https://github.com/stackotter/jpeg resolved at 1.0.2
Creating working copy for https://github.com/wabiverse/icu.git
Working copy of https://github.com/wabiverse/icu.git resolved at 76.1.2
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/wabiverse/swift-winui
Working copy of https://github.com/wabiverse/swift-winui resolved at main (0529457)
Creating working copy for https://github.com/wabiverse/swift-cross-ui
Working copy of https://github.com/wabiverse/swift-cross-ui resolved at 1a887c2 (1a887c2)
Creating working copy for https://github.com/wabiverse/swift-windowsappsdk
Working copy of https://github.com/wabiverse/swift-windowsappsdk resolved at main (36e2f6c)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/wabiverse/MetaverseKit
Working copy of https://github.com/wabiverse/MetaverseKit resolved at 6e909df (6e909df)
Creating working copy for https://github.com/thebrowsercompany/swift-uwp
Working copy of https://github.com/thebrowsercompany/swift-uwp resolved at main (4fe2fa0)
Creating working copy for https://github.com/thebrowsercompany/swift-windowsfoundation
Working copy of https://github.com/thebrowsercompany/swift-windowsfoundation resolved at main (dbe1456)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/thebrowsercompany/swift-cwinrt
Working copy of https://github.com/thebrowsercompany/swift-cwinrt resolved at main (3e3d5a0)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/stackotter/swift-image-formats
Working copy of https://github.com/stackotter/swift-image-formats resolved at 0.3.3
warning: 'swift-cross-ui': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
warning: 'spi-builder-workspace': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/wabiverse/swift-cross-ui->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'swift-macro-toolkit': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/wabiverse/swift-cross-ui->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'spi-builder-workspace': dependency 'version' is not used by any target
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev clang
warning: you may be able to install gtk4 using your system-packager:
apt-get install libgtk-4-dev clang
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
warning: you may be able to install gtk+-3.0 using your system-packager:
apt-get install libgtk-3-dev clang
warning: you may be able to install gtk4 using your system-packager:
apt-get install libgtk-4-dev clang
Building for debugging...
[0/1811] Write sources
[19/1811] Compiling _SwiftSyntaxCShims dummy.c
[20/1811] Compiling sharpyuv_sse2.c
[21/1811] Compiling sharpyuv_neon.c
[22/1811] Compiling sharpyuv_csp.c
[23/1811] Compiling sharpyuv_dsp.c
[24/1811] Compiling sharpyuv_gamma.c
[25/1811] Write swift-version-24593BA9C3E375BF.txt
[26/1811] Compiling sharpyuv_cpu.c
[27/1811] Compiling wicdec.c
[28/1811] Compiling pngdec.c
[29/1811] Compiling sharpyuv.c
[29/1811] Compiling metadata.c
[31/1811] Compiling tiffdec.c
[32/1811] Compiling webpdec.c
[33/1812] Compiling pnmdec.c
[34/1813] Compiling jpegdec.c
[35/1813] Compiling imageio_util.c
[36/1815] Compiling image_dec.c
[37/1817] Compiling image_enc.c
[38/1817] Compiling ZLibC zutil.c
[39/1817] Compiling ZLibC uncompr.c
[40/1817] Compiling ZLibC inftrees.c
[41/1817] Compiling ZLibC inffast.c
[42/1817] Compiling ZLibC infback.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
78 | writ = write(state->fd, strm->next_in, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:78:20: note: did you mean 'fwrite'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:103:8: note: 'fwrite' declared here
103 | size_t fwrite(const void *__restrict, size_t, size_t, FILE *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:108:24: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
108 | writ = write(state->fd, state->x.next, put);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
627 | if (close(state->fd) == -1)
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzwrite.c:627:9: note: did you mean 'fclose'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:85:5: note: 'fclose' declared here
85 | int fclose(FILE *);
| ^
3 errors generated.
[43/1817] Compiling ZLibC gzwrite.c
[44/1817] Emitting module SwiftSyntax510
[45/1817] Emitting module SwiftSyntax600
[45/1817] Compiling ZLibC gzlib.c
[45/1817] Compiling ZLibC trees.c
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
22 | ret = read(state->fd, buf + *have, get);
| ^
/host/spi-builder-workspace/.build/checkouts/zlib/zlib/gzread.c:22:15: note: did you mean 'fread'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:102:8: note: 'fread' declared here
102 | size_t fread(void *__restrict, size_t, size_t, FILE *__restrict);
| ^
[45/1817] Compiling ZLibC gzread.c
[45/1817] Compiling ZLibC inflate.c
BUILD FAILURE 6.2 wasm