The Swift Package Index logo.Swift Package Index

Build Information

Successful build of zstd, reference v1.5.7 (f8745d), with Swift 6.1 for Wasm on 30 May 2025 10:00:05 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/facebook/zstd.git
Reference: v1.5.7
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
 * tag               v1.5.7     -> FETCH_HEAD
HEAD is now at f8745da Merge pull request #4298 from facebook/dev
Cloned https://github.com/facebook/zstd.git
Revision (git rev-parse @):
f8745da6ff1ad1e7bab384bd1f9d742439278e99
SUCCESS checkout https://github.com/facebook/zstd.git at v1.5.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/facebook/zstd.git
https://github.com/facebook/zstd.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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...
[0/31] Compiling error_private.c
[1/31] Compiling debug.c
[2/31] Compiling entropy_common.c
[3/31] Compiling fse_decompress.c
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:449: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]
  449 |     DISPLAYUPDATE(
      |     ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:83:31: note: expanded from macro 'DISPLAYUPDATE'
   83 | #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
      |                               ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:77:10: note: expanded from macro 'LOCALDISPLAYUPDATE'
   77 |     if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) {             \
      |          ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:449: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]
  449 |     DISPLAYUPDATE(
      |     ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:83:31: note: expanded from macro 'DISPLAYUPDATE'
   83 | #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
      |                               ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:78:16: note: expanded from macro 'LOCALDISPLAYUPDATE'
   78 |       g_time = clock();                                                        \
      |                ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:742: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]
  742 |         LOCALDISPLAYUPDATE(displayLevel, 2, "\r%u%%       ",
      |         ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:77:10: note: expanded from macro 'LOCALDISPLAYUPDATE'
   77 |     if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) {             \
      |          ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:742: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]
  742 |         LOCALDISPLAYUPDATE(displayLevel, 2, "\r%u%%       ",
      |         ^
/host/spi-builder-workspace/lib/dictBuilder/fastcover.c:78:16: note: expanded from macro 'LOCALDISPLAYUPDATE'
   78 |       g_time = clock();                                                        \
      |                ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
4 warnings generated.
[4/31] Compiling fastcover.c
[5/31] Compiling huf_decompress_amd64.S
[6/31] Compiling zstd_ddict.c
[7/31] Compiling divsufsort.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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/zdict.c:532: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]
  532 |             DISPLAYUPDATE(2, "\r%4.2f %% \r", (double)cursor / (double)bufferSize * 100.0);
      |             ^
/host/spi-builder-workspace/lib/dictBuilder/zdict.c:484:36: note: expanded from macro 'DISPLAYUPDATE'
  484 |                     displayClock = clock();                        \
      |                                    ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
2 warnings generated.
[8/31] Compiling zdict.c
[9/31] Compiling zstd_preSplit.c
/host/spi-builder-workspace/lib/dictBuilder/cover.c:771: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]
  771 |     DISPLAYUPDATE(
      |     ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:96:31: note: expanded from macro 'DISPLAYUPDATE'
   96 | #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
      |                               ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:90:10: note: expanded from macro 'LOCALDISPLAYUPDATE'
   90 |     if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) {           \
      |          ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:771: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]
  771 |     DISPLAYUPDATE(
      |     ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:96:31: note: expanded from macro 'DISPLAYUPDATE'
   96 | #define DISPLAYUPDATE(l, ...) LOCALDISPLAYUPDATE(g_displayLevel, l, __VA_ARGS__)
      |                               ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:91:16: note: expanded from macro 'LOCALDISPLAYUPDATE'
   91 |       g_time = clock();                                                        \
      |                ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:1279: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]
 1279 |       LOCALDISPLAYUPDATE(displayLevel, 2, "\r%u%%       ",
      |       ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:90:10: note: expanded from macro 'LOCALDISPLAYUPDATE'
   90 |     if ((clock() - g_time > g_refreshRate) || (displayLevel >= 4)) {           \
      |          ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:1279: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]
 1279 |       LOCALDISPLAYUPDATE(displayLevel, 2, "\r%u%%       ",
      |       ^
/host/spi-builder-workspace/lib/dictBuilder/cover.c:91:16: note: expanded from macro 'LOCALDISPLAYUPDATE'
   91 |       g_time = clock();                                                        \
      |                ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
4 warnings generated.
[10/31] Compiling cover.c
[11/31] Compiling zstdmt_compress.c
[12/31] Compiling zstd_decompress.c
[13/31] Compiling zstd_ldm.c
[14/31] Compiling zstd_compress_sequences.c
[15/31] Compiling huf_decompress.c
[16/31] Compiling zstd_compress_superblock.c
[17/31] Compiling zstd_opt.c
[18/31] Compiling zstd_decompress_block.c
[19/31] Compiling hist.c
[20/31] Compiling zstd_fast.c
[21/31] Compiling zstd_compress_literals.c
[22/31] Compiling threading.c
[23/31] Compiling fse_compress.c
[24/31] Compiling zstd_common.c
[25/31] Compiling zstd_double_fast.c
[26/31] Compiling xxhash.c
[27/31] Compiling huf_compress.c
[28/31] Compiling pool.c
[29/31] Compiling zstd_compress.c
[30/31] Compiling zstd_lazy.c
Build complete! (7.50s)
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.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
Done.