The Swift Package Index logo.Swift Package Index

Build Information

Failed to build bls-eth-swift, reference 1.0.1 (d1e5e1), with Swift 6.1 for Wasm on 29 May 2025 19:53:37 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: 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.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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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.94s)
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 wasm