The Swift Package Index logo.Swift Package Index

Build Information

Failed to build bls-eth-swift, reference main (20c027), with Swift 6.1 for Android on 29 May 2025 19:53:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/MyEtherWallet/bls-eth-swift.git
https://github.com/MyEtherWallet/bls-eth-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "bls-eth-swift",
  "name" : "bls-eth-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "bls-eth-swift",
      "targets" : [
        "bls_framework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "bls_framework",
      "module_type" : "BinaryTarget",
      "name" : "bls_framework",
      "path" : "remote/archive/bls_framework.xcframework.zip",
      "product_memberships" : [
        "bls-eth-swift"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "bls_eth_swift",
      "module_type" : "ClangTarget",
      "name" : "bls-eth-swift",
      "path" : "bls_framework/Sources",
      "sources" : [
        "BLSInterface.m"
      ],
      "target_dependencies" : [
        "bls_framework"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Downloading binary artifact https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip
[892/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.09s)
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
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.1 android