The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Cpng, reference master (48cdf7), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 19:36:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/s1ddok/Cpng.git
Reference: master
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/s1ddok/Cpng
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 48cdf7d Merge pull request #1 from vi4m/fix/macos-installation
Cloned https://github.com/s1ddok/Cpng.git
Revision (git rev-parse @):
48cdf7dbf6db6776b2a118fc6ebd22faaea9f746
SUCCESS checkout https://github.com/s1ddok/Cpng.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/s1ddok/Cpng.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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
Building for debugging...
In file included from /host/spi-builder-workspace/Cpng/arm_init.c:17:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/arm_init.c:17:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
2 errors generated.
[0/19] Compiling arm_init.c
In file included from /host/spi-builder-workspace/Cpng/pngmem.c:20:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/pngmem.c:20:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
2 errors generated.
[0/19] Compiling pngmem.c
In file included from /host/spi-builder-workspace/Cpng/pngrio.c:21:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/pngrio.c:21:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
2 errors generated.
[0/19] Compiling pngrio.c
In file included from /host/spi-builder-workspace/Cpng/pngget.c:15:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
[0/19] Compiling pngget.c
In file included from /host/spi-builder-workspace/Cpng/filter_neon_intrinsics.c:15:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/filter_neon_intrinsics.c:15:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
[0/19] Compiling filter_neon_intrinsics.c
In file included from /host/spi-builder-workspace/Cpng/png.c:14:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/png.c:14:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
[0/19] Compiling png.c
In file included from /host/spi-builder-workspace/Cpng/pngpread.c:14:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/pngpread.c:14:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
[0/19] Compiling pngpread.c
In file included from /host/spi-builder-workspace/Cpng/pngerror.c:19:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Cpng/include/png.h:364:
In file included from /host/spi-builder-workspace/Cpng/include/pngconf.h:50:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/pngerror.c:19:
In file included from /host/spi-builder-workspace/Cpng/include/pngpriv.h:842:
/host/spi-builder-workspace/Cpng/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
[0/19] Compiling pngerror.c
BUILD FAILURE 6.2 wasm