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 Bivrost, reference master (ed97ba), with Swift 6.1 for Wasm on 27 May 2025 07:29:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/gnosis/bivrost-swift.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/gnosis/bivrost-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ed97ba8 json format of abi is updated. (#14)
Cloned https://github.com/gnosis/bivrost-swift.git
Revision (git rev-parse @):
ed97ba8583f7d874ace48e241b4d930e6c4e2286
SUCCESS checkout https://github.com/gnosis/bivrost-swift.git at master
========================================
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-4606859-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: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.26s)
Fetching https://github.com/zweigraf/Stencil.git
[1/1750] Fetching stencil
Fetched https://github.com/zweigraf/Stencil.git from cache (0.30s)
Fetching https://github.com/zweigraf/StencilSwiftKit.git
[1/1276] Fetching stencilswiftkit
Fetched https://github.com/zweigraf/StencilSwiftKit.git from cache (1.27s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/Quick/Quick.git
[1/12934] Fetching cryptoswift
[2/27689] Fetching cryptoswift, quick
[279/32465] Fetching cryptoswift, quick, bigint
[1158/33486] Fetching cryptoswift, quick, bigint, spectre
[2581/53070] Fetching cryptoswift, quick, bigint, spectre, nimble
Fetched https://github.com/kylef/Spectre.git from cache (2.04s)
Fetched https://github.com/attaswift/BigInt.git from cache (2.05s)
Fetched https://github.com/Quick/Quick.git from cache (2.06s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (2.08s)
Fetched https://github.com/Quick/Nimble.git from cache (2.08s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (3.32s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (1.11s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.0.3 (0.75s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (0.83s)
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.88s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.8.3 (0.96s)
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/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.8.3
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/zweigraf/StencilSwiftKit.git
Working copy of https://github.com/zweigraf/StencilSwiftKit.git resolved at 82a0099e5c446348692a2ba40ffbba980c6b8898
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)
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.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/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Building for debugging...
[0/24] Write sources
[10/24] Write swift-version-24593BA9C3E375BF.txt
[12/97] Compiling SipHash SipHasher.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/97] 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 |
[14/105] 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 |
[15/105] 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 |
[16/106] 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/106] 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 |
[18/106] 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 |
[19/106] 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 |
[20/106] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/106] 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 |
[22/106] 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 |
[23/106] Compiling SipHash RandomUInt64.swift
[24/106] Compiling SipHash SipHashable.swift
[25/106] Compiling SipHash Primitive Types.swift
[26/106] Emitting module SipHash
[28/107] 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)
[29/107] 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'
[29/107] Wrapping AST for SipHash for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: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 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 |
[3/87] 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 |
[4/88] Emitting module SipHash
[5/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 |
[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 SipHash Primitive Types.swift
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 BlockMode.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 BlockModeOptions.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 SipHash SipHashable.swift
[12/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)
[13/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 |
[14/96] 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 |
[15/96] 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 |
[16/96] Compiling SipHash RandomUInt64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/96] 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