The Swift Package Index logo.Swift Package Index

Build Information

Successful build of zstd, reference dev (ca50a9), with Swift 6.4 for Wasm on 5 Oct 2026 04:05:18 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SchmiedmayerLab/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/SchmiedmayerLab/zstd
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at ca50a91 Update repository provenance documentation
Cloned https://github.com/SchmiedmayerLab/zstd.git
Revision (git rev-parse @):
ca50a913993f5e09b13a93b6ca93060e798160e8
SUCCESS checkout https://github.com/SchmiedmayerLab/zstd.git at dev
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/SchmiedmayerLab/zstd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 67]
[Planning deferred tasks]
/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)) {     \
      |          ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/fastcover.c:17:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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();                                                \
      |                        ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/fastcover.c:17:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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)) {     \
      |          ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/fastcover.c:17:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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();                                                \
      |                        ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/fastcover.c:17:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.
[23 / 47] libzstd
[26 / 47] libzstd
/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; }
      |                                                            ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/zdict.c:42:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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();                        \
      |                                    ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/zdict.c:42:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.
[28 / 47] libzstd
[31 / 47] libzstd
[33 / 47] libzstd
[37 / 47] libzstd
[40 / 47] libzstd
[43 / 47] libzstd
[45 / 47] libzstd
/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)) {     \
      |          ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/cover.c:40:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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();                                                \
      |                        ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/cover.c:40:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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)) {     \
      |          ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/cover.c:40:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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();                                                \
      |                        ^
In file included from /host/spi-builder-workspace/lib/dictBuilder/cover.c:40:
/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.
Build complete! (4.89 secs)
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.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Done.