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 SwiftyHaru, reference dev (bcc8a3), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 18:08:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/WeirdMath/SwiftyHaru.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/WeirdMath/SwiftyHaru
 * branch            dev        -> FETCH_HEAD
 * [new branch]      dev        -> origin/dev
HEAD is now at bcc8a3c Fix CocoaPods build
Cloned https://github.com/WeirdMath/SwiftyHaru.git
Revision (git rev-parse @):
bcc8a3caeac078550b779783928f16828935fd41
SUCCESS checkout https://github.com/WeirdMath/SwiftyHaru.git at dev
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/WeirdMath/SwiftyHaru.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/13227] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.89s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (2.38s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.36s)
[1/70882] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (7.47s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.54s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (4.92s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.52s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/75] Compiling CLibHaru hpdf_boolean.c
[1/75] Compiling CLibHaru hpdf_destination.c
[1/75] Compiling CLibHaru hpdf_doc_png.c
[2/75] Write sources
[4/75] Compiling CLibHaru hpdf_dummy.c
[5/75] Compiling CLibHaru hpdf_catalog.c
[6/75] Compiling CLibHaru hpdf_dict.c
[7/75] Compiling CLibHaru hpdf_encoder.c
[8/75] Compiling CLibHaru hpdf_doc.c
[9/75] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CLibPNG/pngwutil.c:14:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/png.h:371:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/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/Sources/CLibPNG/pngwutil.c:14:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:823:
/host/spi-builder-workspace/Sources/CLibPNG/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
2 errors generated.
[10/75] Compiling CLibPNG pngwutil.c
[10/75] Compiling CLibPNG pngset.c
In file included from /host/spi-builder-workspace/Sources/CLibPNG/pngwrite.c:14:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/png.h:371:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/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/Sources/CLibPNG/pngwrite.c:14:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:823:
/host/spi-builder-workspace/Sources/CLibPNG/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
[10/75] Compiling CLibPNG pngwrite.c
[10/75] Compiling CLibPNG pngrutil.c
[10/75] Compiling CLibPNG pngrtran.c
In file included from /host/spi-builder-workspace/Sources/CLibPNG/pngwio.c:21:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/png.h:371:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/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/Sources/CLibPNG/pngwio.c:21:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:823:
/host/spi-builder-workspace/Sources/CLibPNG/include/pngstruct.h:30:10: fatal error: 'zlib.h' file not found
   30 | #include "zlib.h"
      |          ^~~~~~~~
[10/75] Compiling CLibPNG pngwio.c
[10/75] Compiling CLibPNG pngtrans.c
In file included from /host/spi-builder-workspace/Sources/CLibPNG/pngwtran.c:14:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/pngpriv.h:326:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/include/png.h:371:
In file included from /host/spi-builder-workspace/Sources/CLibPNG/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.
      |  ^
[10/75] Compiling CLibPNG pngwtran.c
BUILD FAILURE 6.2 wasm