The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EthereumABI, reference master (6f4edb), with Swift 6.1 for Wasm on 27 May 2025 20:59:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/shamatar/EthereumABI.git
Reference: master
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/shamatar/EthereumABI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6f4edb9 fix changed signature
Cloned https://github.com/shamatar/EthereumABI.git
Revision (git rev-parse @):
6f4edb9fb3b46d7cdf5d6c4a304a88f014188733
SUCCESS checkout https://github.com/shamatar/EthereumABI.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shamatar/EthereumABI.git
https://github.com/shamatar/EthereumABI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    },
    {
      "identity" : "ethereumaddress",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shamatar/EthereumAddress.git"
    }
  ],
  "manifest_display_name" : "EthereumABI",
  "name" : "EthereumABI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "EthereumABI",
      "targets" : [
        "EthereumABI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "EthereumABI",
      "module_type" : "SwiftTarget",
      "name" : "EthereumABI",
      "path" : "EthereumABI",
      "product_dependencies" : [
        "CryptoSwift",
        "BigInt",
        "EthereumAddress"
      ],
      "product_memberships" : [
        "EthereumABI"
      ],
      "sources" : [
        "Classes/ABI.swift",
        "Classes/ABIDecoding.swift",
        "Classes/ABIElements.swift",
        "Classes/ABIEncoding.swift",
        "Classes/ABIExtensions.swift",
        "Classes/ABIParameterTypes.swift",
        "Classes/ABIParsing.swift",
        "Classes/ABITypeParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/shamatar/EthereumAddress.git
[1/210] Fetching ethereumaddress
[211/4986] Fetching ethereumaddress, bigint
[2313/17927] Fetching ethereumaddress, bigint, cryptoswift
Fetched https://github.com/shamatar/EthereumAddress.git from cache (1.56s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.57s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.58s)
Computing version for https://github.com/shamatar/EthereumAddress.git
Computed https://github.com/shamatar/EthereumAddress.git at 1.3.0 (2.43s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (2.31s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.26s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (0.72s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.56s)
Creating working copy for https://github.com/shamatar/EthereumAddress.git
Working copy of https://github.com/shamatar/EthereumAddress.git resolved at 1.3.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.0
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/81] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[8/90] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[9/90] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[10/90] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[11/90] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[12/90] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[13/90] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[14/90] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[15/90] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[16/90] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[17/90] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[18/90] Compiling SipHash SipHasher.swift
[19/90] Compiling SipHash SipHashable.swift
[20/90] Compiling SipHash Primitive Types.swift
[21/90] Compiling SipHash RandomUInt64.swift
[22/90] Emitting module SipHash
[23/91] Wrapping AST for SipHash for debugging
[24/91] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[25/91] Linking libSipHash.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/76] Compiling SipHash RandomUInt64.swift
[3/76] Emitting module SipHash
[4/76] Compiling SipHash Primitive Types.swift
[5/76] Compiling SipHash SipHashable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/76] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:22:8: error: no such module 'Glibc'
 20 | import Darwin
 21 | #else
 22 | import Glibc
    |        `- error: no such module 'Glibc'
 23 | #endif
 24 |
[7/85] Compiling SipHash SipHasher.swift
[8/85] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[9/85] Linking libSipHash.wasm
BUILD FAILURE 6.1 wasm