Build Information
Successful build of zstd, reference dev (0cdce5), with Swift 6.3 for Wasm on 25 Apr 2026 08:39:51 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/facebook/zstd.git
Reference: dev
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/facebook/zstd
* branch dev -> FETCH_HEAD
* [new branch] dev -> origin/dev
HEAD is now at 0cdce55 Merge pull request #4648 from eyupcanakman/fix/valgrind-test-no-arg
Cloned https://github.com/facebook/zstd.git
Revision (git rev-parse @):
0cdce55f2fbf02990df8681eedb76e32f804fcc8
SUCCESS checkout https://github.com/facebook/zstd.git at dev
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/facebook/zstd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/31] Compiling debug.c
[1/31] Compiling error_private.c
[2/31] Compiling entropy_common.c
[3/31] Compiling fse_decompress.c
[4/31] Compiling zstd_compress_sequences.c
[5/31] Compiling divsufsort.c
[6/31] Compiling huf_decompress_amd64.S
[7/31] Compiling zstd_ddict.c
/host/spi-builder-workspace/lib/dictBuilder/cover.c:800:5: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
800 | DISPLAYUPDATE(
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:115:10: note: expanded from macro 'DISPLAYUPDATE'
115 | if ((clock() - lastUpdateTime > refreshRate) || (displayLevel >= 4)) { \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:800:5: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
800 | DISPLAYUPDATE(
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:116:24: note: expanded from macro 'DISPLAYUPDATE'
116 | lastUpdateTime = clock(); \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:1310:7: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
1310 | DISPLAYUPDATE(lastUpdateTime, 2, "\r%u%% ",
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:115:10: note: expanded from macro 'DISPLAYUPDATE'
115 | if ((clock() - lastUpdateTime > refreshRate) || (displayLevel >= 4)) { \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:1310:7: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
1310 | DISPLAYUPDATE(lastUpdateTime, 2, "\r%u%% ",
| ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:116:24: note: expanded from macro 'DISPLAYUPDATE'
116 | lastUpdateTime = clock(); \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
4 warnings generated.
[8/31] Compiling cover.c
/host/spi-builder-workspace/lib/dictBuilder/zdict.c:81:60: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
81 | static clock_t ZDICT_clockSpan(clock_t nPrevious) { return clock() - nPrevious; }
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/zdict.c:536:13: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
536 | DISPLAYUPDATE(2, "\r%4.2f %% \r", (double)cursor / (double)bufferSize * 100.0);
| ^
/host/spi-builder-workspace/lib/dictBuilder/zdict.c:488:36: note: expanded from macro 'DISPLAYUPDATE'
488 | displayClock = clock(); \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
2 warnings generated.
[9/31] Compiling zdict.c
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:446:5: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
446 | DISPLAYUPDATE(
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:71:10: note: expanded from macro 'DISPLAYUPDATE'
71 | if ((clock() - lastUpdateTime > refreshRate) || (displayLevel >= 4)) { \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:446:5: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
446 | DISPLAYUPDATE(
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:72:24: note: expanded from macro 'DISPLAYUPDATE'
72 | lastUpdateTime = clock(); \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:740:9: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
740 | DISPLAYUPDATE(lastUpdateTime,
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:71:10: note: expanded from macro 'DISPLAYUPDATE'
71 | if ((clock() - lastUpdateTime > refreshRate) || (displayLevel >= 4)) { \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:740:9: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
740 | DISPLAYUPDATE(lastUpdateTime,
| ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:72:24: note: expanded from macro 'DISPLAYUPDATE'
72 | lastUpdateTime = clock(); \
| ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
4 warnings generated.
[10/31] Compiling fastcover.c
[11/31] Compiling zstd_decompress.c
[12/31] Compiling zstd_preSplit.c
[13/31] Compiling zstd_ldm.c
[14/31] Compiling zstd_decompress_block.c
[15/31] Compiling zstdmt_compress.c
[16/31] Compiling zstd_opt.c
[17/31] Compiling zstd_compress_literals.c
[18/31] Compiling zstd_compress_superblock.c
[19/31] Compiling huf_decompress.c
[20/31] Compiling hist.c
[21/31] Compiling fse_compress.c
[22/31] Compiling zstd_double_fast.c
[23/31] Compiling threading.c
[23/31] Compiling zstd_fast.c
[25/31] Compiling zstd_common.c
[26/31] Compiling xxhash.c
[27/31] Compiling pool.c
[28/31] Compiling huf_compress.c
[29/31] Compiling zstd_compress.c
[30/31] Compiling zstd_lazy.c
Build complete! (6.44s)
Build complete.
{
"c_language_standard" : "gnu11",
"cxx_language_standard" : "gnu++14",
"dependencies" : [
],
"manifest_display_name" : "zstd",
"name" : "zstd",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "libzstd",
"targets" : [
"libzstd"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "libzstd",
"module_type" : "ClangTarget",
"name" : "libzstd",
"path" : "lib",
"product_memberships" : [
"libzstd"
],
"sources" : [
"common/debug.c",
"common/entropy_common.c",
"common/error_private.c",
"common/fse_decompress.c",
"common/pool.c",
"common/threading.c",
"common/xxhash.c",
"common/zstd_common.c",
"compress/fse_compress.c",
"compress/hist.c",
"compress/huf_compress.c",
"compress/zstd_compress.c",
"compress/zstd_compress_literals.c",
"compress/zstd_compress_sequences.c",
"compress/zstd_compress_superblock.c",
"compress/zstd_double_fast.c",
"compress/zstd_fast.c",
"compress/zstd_lazy.c",
"compress/zstd_ldm.c",
"compress/zstd_opt.c",
"compress/zstd_preSplit.c",
"compress/zstdmt_compress.c",
"decompress/huf_decompress.c",
"decompress/huf_decompress_amd64.S",
"decompress/zstd_ddict.c",
"decompress/zstd_decompress.c",
"decompress/zstd_decompress_block.c",
"dictBuilder/cover.c",
"dictBuilder/divsufsort.c",
"dictBuilder/fastcover.c",
"dictBuilder/zdict.c"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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
Done.