The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 1.3.0
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
 * tag               1.3.0      -> FETCH_HEAD
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 1.3.0
========================================
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-4606859-2":/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/attaswift/BigInt.git
Fetching https://github.com/shamatar/EthereumAddress.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
[2/13151] Fetching cryptoswift, ethereumaddress
[136/17927] Fetching cryptoswift, ethereumaddress, bigint
Fetched https://github.com/shamatar/EthereumAddress.git from cache (1.55s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.56s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.59s)
Computing version for https://github.com/shamatar/EthereumAddress.git
Computed https://github.com/shamatar/EthereumAddress.git at 1.3.0 (2.26s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (2.45s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.25s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (0.82s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.60s)
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/shamatar/EthereumAddress.git
Working copy of https://github.com/shamatar/EthereumAddress.git resolved at 1.3.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] Emitting module SipHash
[9/90] Compiling SipHash SipHasher.swift
[10/90] Compiling SipHash Primitive Types.swift
[11/90] Compiling SipHash SipHashable.swift
[12/90] Compiling SipHash RandomUInt64.swift
[13/91] Compiling CryptoSwift AEAD.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/91] Compiling CryptoSwift AEADChaCha20Poly1305.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/91] Compiling CryptoSwift AES.Cryptors.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/91] Compiling CryptoSwift AES.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/91] Compiling CryptoSwift Array+Extension.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/91] Compiling CryptoSwift Authenticator.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 |
[19/91] Compiling CryptoSwift BatchedCollection.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 |
[20/91] Compiling CryptoSwift Bit.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 |
[21/91] Compiling CryptoSwift BlockCipher.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 |
[22/91] Compiling CryptoSwift BlockDecryptor.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 |
[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-4606859-2":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/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 |
[3/85] Compiling SipHash SipHashable.swift
[4/85] Compiling SipHash RandomUInt64.swift
[5/85] Compiling SipHash SipHasher.swift
[6/85] Compiling SipHash Primitive Types.swift
[7/85] Emitting module SipHash
[8/85] Write Objects.LinkFileList
[10/85] Compiling CryptoSwift NoPadding.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/85] Compiling CryptoSwift Operators.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/85] Compiling CryptoSwift PBKDF1.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/85] Compiling CryptoSwift PBKDF2.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/85] Compiling CryptoSwift PKCS5.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/85] Compiling CryptoSwift PKCS7.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/85] Compiling CryptoSwift PKCS7Padding.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/85] Compiling CryptoSwift Padding.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/85] Compiling CryptoSwift Poly1305.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 |
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[18/85] Linking libSipHash.wasm
BUILD FAILURE 6.1 wasm