The Swift Package Index logo.Swift Package Index

Build Information

Failed to build bls-eth-swift, reference 1.0.1 (d1e5e1), with Swift 6.2 for Wasm on 22 Jun 2025 07:13:19 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/MyEtherWallet/bls-eth-swift.git
Reference: 1.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/MyEtherWallet/bls-eth-swift
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at d1e5e19 Merge branch 'release/1.0.1'
Submodule path 'bls_framework/Sources/bls': checked out 'f53dadd5a51900f94b7aecff0063feada2f4bb30'
Submodule path 'bls_framework/Sources/bls/external/mcl': checked out '1c402095e2b8855af112f3fa4fb37c317ffec7a7'
Submodule path 'bls_framework/Sources/mcl': checked out '5fd1dc64ef2ef04014bfadcb3c2ad0c54edf794b'
Submodule 'bls_framework/Sources/bls' (https://github.com/herumi/bls.git) registered for path 'bls_framework/Sources/bls'
Submodule 'bls_framework/Sources/mcl' (https://github.com/herumi/mcl.git) registered for path 'bls_framework/Sources/mcl'
Cloning into '/host/spi-builder-workspace/bls_framework/Sources/bls'...
Cloning into '/host/spi-builder-workspace/bls_framework/Sources/mcl'...
Submodule 'mcl' (https://github.com/herumi/mcl.git) registered for path 'bls_framework/Sources/bls/external/mcl'
Cloning into '/host/spi-builder-workspace/bls_framework/Sources/bls/external/mcl'...
Cloned https://github.com/MyEtherWallet/bls-eth-swift.git
Revision (git rev-parse @):
d1e5e19f80aaee7c7ec8f28c92291abc5c0e840e
SUCCESS checkout https://github.com/MyEtherWallet/bls-eth-swift.git at 1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MyEtherWallet/bls-eth-swift.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
Downloading binary artifact https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip
[1369/15950716] Downloading https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip
Downloaded https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip (1.66s)
Building for debugging...
In file included from /host/spi-builder-workspace/bls_framework/Sources/BLSInterface.m:9:
/host/spi-builder-workspace/bls_framework/Sources/BLSInterface.h:9:1: error: use of '@import' when modules are disabled
    9 | @import Foundation;
      | ^
/host/spi-builder-workspace/bls_framework/Sources/BLSInterface.h:11:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
   11 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/bls_framework/Sources/BLSInterface.h:13:27: error: cannot find interface declaration for 'NSObject', superclass of 'BLSInterface'
   13 | @interface BLSInterface : NSObject
      | ~~~~~~~~~~~~~~~~~~~~~~~   ^
/host/spi-builder-workspace/bls_framework/Sources/BLSInterface.h:14:4: error: expected a type
   14 | + (BOOL) blsInitWithError:(NSError **)error;
      |    ^
/host/spi-builder-workspace/bls_framework/Sources/BLSInterface.h:14:28: error: expected a type
   14 | + (BOOL) blsInitWithError:(NSError **)error;
      |                            ^
/host/spi-builder-workspace/bls_framework/Sources/BLSInterface.m:12:9: fatal error: 'bls_framework/bn_c384_256.h' file not found
   12 | #import <bls_framework/bn_c384_256.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
[0/1] Compiling bls-eth-swift BLSInterface.m
BUILD FAILURE 6.2 wasm