Build Information
Failed to build bls-eth-swift, reference main (20c027), with Swift 6.2 for Android on 22 Jun 2025 07:13:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MyEtherWallet/bls-eth-swift.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 20c0275 Merge branch 'develop'
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 @):
20c02757c3e01a5ff4d999c8e0816e760a9efa5a
SUCCESS checkout https://github.com/MyEtherWallet/bls-eth-swift.git at main
========================================
Build
========================================
Selected platform: android
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Downloading binary artifact https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip
[907/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 (2.20s)
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 android