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 2.0.1 (9944ba), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 19:36:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 2.0.1
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
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 9944ba9 Add experimental CocoaPods specs
Cloned https://github.com/s1ddok/Cpng.git
Revision (git rev-parse @):
9944ba970f3051bfa4dfe1b8a97263a7a17e2ebf
SUCCESS checkout https://github.com/s1ddok/Cpng.git at 2.0.1
========================================
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-2":/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/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"
      |          ^~~~~~~~
2 errors generated.
[0/20] Compiling filter_neon_intrinsics.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"
      |          ^~~~~~~~
2 errors generated.
[0/20] Compiling pngpread.c
In file included from /host/spi-builder-workspace/Cpng/pngwutil.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/pngwutil.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/20] Compiling pngwutil.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/20] Compiling pngmem.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"
      |          ^~~~~~~~
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.
      |  ^
In file included from /host/spi-builder-workspace/Cpng/pngget.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/20] Compiling png.c
[0/20] Compiling pngget.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/20] Compiling pngerror.c
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"
      |          ^~~~~~~~
[0/20] Compiling arm_init.c
BUILD FAILURE 6.2 wasm