The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bivrost, reference 0.0.4 (339701), with Swift 6.1 for Android on 27 May 2025 07:29:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/gnosis/bivrost-swift.git
Reference: 0.0.4
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/gnosis/bivrost-swift
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 339701f Small fixes. (#11)
Cloned https://github.com/gnosis/bivrost-swift.git
Revision (git rev-parse @):
339701fea3d070e07cb89b8b9a594a63aef18966
SUCCESS checkout https://github.com/gnosis/bivrost-swift.git at 0.0.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gnosis/bivrost-swift.git
https://github.com/gnosis/bivrost-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "0.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.2",
            "upper_bound" : "7.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "1.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "commander",
      "requirement" : {
        "revision" : [
          "e0cbee1bd73778c1076c675eaf660e97d09f3b32"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PoissonBallon/PathKit.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zweigraf/Stencil.git"
    },
    {
      "identity" : "stencilswiftkit",
      "requirement" : {
        "revision" : [
          "82a0099e5c446348692a2ba40ffbba980c6b8898"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zweigraf/StencilSwiftKit.git"
    }
  ],
  "manifest_display_name" : "Bivrost",
  "name" : "Bivrost",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "bivrost",
      "targets" : [
        "Bivrost"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BivrostKit",
      "targets" : [
        "BivrostKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BivrostHelper",
      "targets" : [
        "BivrostHelper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "BivrostKitTests",
      "module_type" : "SwiftTarget",
      "name" : "BivrostKitTests",
      "path" : "Tests/BivrostKitTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Assets.swift",
        "ContractParserSpec.swift",
        "ContractTemplateModelSpec.swift",
        "ElementJsonParserSpec.swift",
        "ParameterParserSpec.swift"
      ],
      "target_dependencies" : [
        "BivrostKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BivrostKit",
      "module_type" : "SwiftTarget",
      "name" : "BivrostKit",
      "path" : "Sources/BivrostKit",
      "product_dependencies" : [
        "CryptoSwift",
        "BigInt",
        "Stencil",
        "StencilSwiftKit",
        "PathKit"
      ],
      "product_memberships" : [
        "bivrost",
        "BivrostKit"
      ],
      "sources" : [
        "BivrostKit.swift",
        "Generating/AuxWriter.swift",
        "Generating/ContractGenerator.swift",
        "Generating/ContractTemplateModel.swift",
        "Generating/ContractWriter.swift",
        "Generating/FileTool.swift",
        "Generating/SequenceExtension.swift",
        "Generating/Templates/ArrayXTemplate.swift",
        "Generating/Templates/BytesXTemplate.swift",
        "Generating/Templates/ContractTemplate.swift",
        "Generating/Templates/IntXTemplate.swift",
        "Generating/Templates/Templates.swift",
        "Generating/Templates/UIntXTemplate.swift",
        "Generating/TypeGenerator.swift",
        "Generating/TypeWriter.swift",
        "Parsing/AbiValidating.swift",
        "Parsing/Contract.swift",
        "Parsing/ContractParser.swift",
        "Parsing/ElementJsonParser.swift",
        "Parsing/JsonKey.swift",
        "Parsing/ParameterParser.swift",
        "Parsing/ParsingError.swift",
        "Parsing/StringExtension.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BivrostHelperTests",
      "module_type" : "SwiftTarget",
      "name" : "BivrostHelperTests",
      "path" : "Tests/BivrostHelperTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Assets.swift",
        "BaseDecoderSpec.swift",
        "SolidityTypesSpec.swift"
      ],
      "target_dependencies" : [
        "BivrostHelper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BivrostHelper",
      "module_type" : "SwiftTarget",
      "name" : "BivrostHelper",
      "path" : "Sources/BivrostHelper",
      "product_dependencies" : [
        "BigInt"
      ],
      "product_memberships" : [
        "BivrostHelper"
      ],
      "sources" : [
        "BivrostError.swift",
        "Coding/BaseDecoder.swift",
        "Coding/BaseEncoder.swift",
        "Extensions/BigIntExtension.swift",
        "Extensions/DataExtension.swift",
        "Extensions/StringExtension.swift",
        "Generated Types/ArrayX-Generated.swift",
        "Generated Types/BytesX-Generated.swift",
        "Generated Types/IntX-Generated.swift",
        "Generated Types/UIntX-Generated.swift",
        "Protocols/DynamicType.swift",
        "Protocols/SolidityCodable.swift",
        "Protocols/SolidityFunction.swift",
        "Protocols/StaticType.swift",
        "Types/Address.swift",
        "Types/ArrayX.swift",
        "Types/Bool.swift",
        "Types/Bytes.swift",
        "Types/BytesX.swift",
        "Types/Function.swift",
        "Types/IntX.swift",
        "Types/Solidity.swift",
        "Types/String.swift",
        "Types/UIntX.swift",
        "Types/VariableArray.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Bivrost",
      "module_type" : "SwiftTarget",
      "name" : "Bivrost",
      "path" : "Sources/Bivrost",
      "product_dependencies" : [
        "Commander",
        "PathKit"
      ],
      "product_memberships" : [
        "bivrost"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "BivrostKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.23s)
Fetching https://github.com/PoissonBallon/PathKit.git
[1/662] Fetching pathkit
Fetched https://github.com/PoissonBallon/PathKit.git from cache (0.26s)
Fetching https://github.com/zweigraf/Stencil.git
[1/1750] Fetching stencil
Fetched https://github.com/zweigraf/Stencil.git from cache (0.27s)
Fetching https://github.com/zweigraf/StencilSwiftKit.git
[1/1276] Fetching stencilswiftkit
Fetched https://github.com/zweigraf/StencilSwiftKit.git from cache (0.24s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Quick/Nimble.git
[1/1021] Fetching spectre
[573/5797] Fetching spectre, bigint
[1405/18731] Fetching spectre, bigint, cryptoswift
[2128/33486] Fetching spectre, bigint, cryptoswift, quick
[15886/53070] Fetching spectre, bigint, cryptoswift, quick, nimble
Fetched https://github.com/kylef/Spectre.git from cache (1.51s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.51s)
Fetched https://github.com/Quick/Quick.git from cache (1.52s)
Fetched https://github.com/Quick/Nimble.git from cache (1.53s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.73s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (3.27s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.48s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.0.3 (0.47s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (0.51s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.69s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (1.25s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.8.3 (0.68s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.8.3
Creating working copy for https://github.com/zweigraf/StencilSwiftKit.git
Working copy of https://github.com/zweigraf/StencilSwiftKit.git resolved at 82a0099e5c446348692a2ba40ffbba980c6b8898
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.0.3
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.8.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
Creating working copy for https://github.com/zweigraf/Stencil.git
Working copy of https://github.com/zweigraf/Stencil.git resolved at master (2bcdbd3)
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at e0cbee1bd73778c1076c675eaf660e97d09f3b32
Creating working copy for https://github.com/PoissonBallon/PathKit.git
Working copy of https://github.com/PoissonBallon/PathKit.git resolved at master (a73cc01)
Building for debugging...
[0/24] Write sources
[10/24] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/97] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[13/98] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[14/98] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[15/98] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[16/98] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[17/98] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[18/98] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[19/98] Compiling SipHash Primitive Types.swift
[20/98] Compiling SipHash SipHashable.swift
[21/98] Compiling SipHash RandomUInt64.swift
[22/98] Emitting module SipHash
[23/98] Compiling SipHash SipHasher.swift
[24/99] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[25/99] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[26/99] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/14] Write swift-version-24593BA9C3E375BF.txt
[2/87] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[3/88] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[4/88] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[5/88] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[6/88] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[7/88] Emitting module SipHash
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/88] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[9/88] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[10/88] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[11/88] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[12/88] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: error: no such module 'Darwin'
 2 |   import Glibc
 3 | #else
 4 |   import Darwin
   |          `- error: no such module 'Darwin'
 5 | #endif
 6 |
[13/88] Compiling SipHash Primitive Types.swift
[14/88] Compiling SipHash RandomUInt64.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.1 android