The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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:         wasm
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-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.30s)
Fetching https://github.com/PoissonBallon/PathKit.git
[1/662] Fetching pathkit
Fetched https://github.com/PoissonBallon/PathKit.git from cache (0.30s)
Fetching https://github.com/zweigraf/Stencil.git
[1/1750] Fetching stencil
Fetched https://github.com/zweigraf/Stencil.git from cache (0.58s)
Fetching https://github.com/zweigraf/StencilSwiftKit.git
[1/1276] Fetching stencilswiftkit
Fetched https://github.com/zweigraf/StencilSwiftKit.git from cache (0.20s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/1021] Fetching spectre
[165/5797] Fetching spectre, bigint
[1309/20552] Fetching spectre, bigint, quick
[2772/33486] Fetching spectre, bigint, quick, cryptoswift
[20004/53070] Fetching spectre, bigint, quick, cryptoswift, nimble
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
[21734/52049] Fetching bigint, quick, cryptoswift, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.71s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.71s)
[6823/32518] Fetching cryptoswift, nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.69s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.69s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (2.14s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.49s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.0.3 (0.76s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (0.57s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.24s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.77s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.8.3 (0.48s)
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.0
Creating working copy for https://github.com/PoissonBallon/PathKit.git
Working copy of https://github.com/PoissonBallon/PathKit.git resolved at master (a73cc01)
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/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.8.3
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/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.0.3
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at e0cbee1bd73778c1076c675eaf660e97d09f3b32
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 SipHash Primitive Types.swift
[14/98] 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 |
[15/98] 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 |
[16/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 |
[17/98] Compiling SipHash SipHasher.swift
[18/98] Compiling SipHash SipHashable.swift
[19/98] Emitting module SipHash
[20/98] Compiling SipHash RandomUInt64.swift
[21/99] Compiling CryptoSwift Rabbit+Foundation.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 |
[22/99] Compiling CryptoSwift String+FoundationExtension.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 |
[23/99] 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 |
[24/99] 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 |
[25/99] 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 |
[26/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 |
[27/99] Wrapping AST for SipHash for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/99] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[29/99] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[30/99] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[31/99] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[32/99] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[33/99] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[34/99] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[35/99] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[36/99] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/99] Emitting module PathKit
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
<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-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/14] Write swift-version-24593BA9C3E375BF.txt
[2/87] Compiling SipHash RandomUInt64.swift
[3/87] Emitting module SipHash
[4/87] Compiling SipHash Primitive Types.swift
[5/87] 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 |
[6/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 |
[7/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 |
[8/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/88] 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 |
[14/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/88] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/Cryptors.swift:19:12: error: no such module 'Darwin'
17 |     import Glibc
18 | #else
19 |     import Darwin
   |            `- error: no such module 'Darwin'
20 | #endif
21 |
[16/88] Compiling SipHash SipHashable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/88] Emitting module PathKit
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
<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 wasm