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 BitcoinKit, reference v1.1.0 (5f1fe9), with Swift 6.1 for Wasm on 27 May 2025 14:49:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/yenom/BitcoinKit.git
Reference: v1.1.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/yenom/BitcoinKit
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 5f1fe92 :rocket: Update posepc version to 1.1.0
Cloned https://github.com/yenom/BitcoinKit.git
Revision (git rev-parse @):
5f1fe9253071aeb845fa1cc40a338f32c6e34a66
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at v1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yenom/BitcoinKit.git
https://github.com/yenom/BitcoinKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "copenssl",
      "requirement" : {
        "exact" : [
          "1.0.0-rc.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/copenssl.git"
    },
    {
      "identity" : "secp256k1.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Boilertalk/secp256k1.swift"
    },
    {
      "identity" : "random",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "1.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/random.git"
    }
  ],
  "manifest_display_name" : "BitcoinKit",
  "name" : "BitcoinKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BitcoinKit",
      "targets" : [
        "BitcoinKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BitcoinKitTests",
      "module_type" : "SwiftTarget",
      "name" : "BitcoinKitTests",
      "path" : "Tests/BitcoinKitTests",
      "sources" : [
        "BitcoinKitTests.swift",
        "Core/Address/AddressFactoryTests.swift",
        "Core/Address/AddressTests.swift",
        "Core/Address/Base58Tests.swift",
        "Core/Address/Bech32Tests.swift",
        "Core/Address/CashAddrTests.swift",
        "Core/Address/LegacyAddressTests.swift",
        "Core/BigNumberTests.swift",
        "Core/BloomFilterTests.swift",
        "Core/CryptoTests.swift",
        "Core/DecodePointFromCompressedKeyTests.swift",
        "Core/Keys/HDKeyChainTests.swift",
        "Core/Keys/HDPrivateKeyTests.swift",
        "Core/Keys/PrivateKeyTests.swift",
        "Core/MnemonicTests.swift",
        "Core/MurmurHashTests.swift",
        "Core/PaymentURITests.swift",
        "Core/PointMultiplicationTests.swift",
        "Core/ProofOfWorkTests.swift",
        "Core/SerializationTests.swift",
        "Core/UInt256+BitcoinTests.swift",
        "Core/UInt256Tests.swift",
        "Core/UInt32MathTests.swift",
        "Messages/BlockMessageTests.swift",
        "Messages/MessageSerializerTests.swift",
        "MockHelperTests.swift",
        "Script/OpCodeFactoryTests.swift",
        "Script/OpCodeTests.swift",
        "Script/ScriptMachineTests.swift",
        "Script/ScriptTests.swift",
        "TransactionTests.swift",
        "Wallet/BCHSignatureHashHelperTests.swift",
        "Wallet/BTCSignatureHashHelperTests.swift",
        "Wallet/FeeCalculatorTests.swift",
        "Wallet/HDWalletTests.swift",
        "Wallet/TransactionBuilderTests.swift",
        "Wallet/TransactionPlannerTests.swift",
        "Wallet/TransactionSignerTests.swift",
        "Wallet/UnspentTransactionOutputSelectorTests.swift"
      ],
      "target_dependencies" : [
        "BitcoinKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BitcoinKitPrivate",
      "module_type" : "SwiftTarget",
      "name" : "BitcoinKitPrivate",
      "path" : "Sources/BitcoinKitPrivate",
      "product_dependencies" : [
        "COpenSSL",
        "secp256k1"
      ],
      "product_memberships" : [
        "BitcoinKit"
      ],
      "sources" : [
        "BitcoinKit.Private.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BitcoinKit",
      "module_type" : "SwiftTarget",
      "name" : "BitcoinKit",
      "path" : "Sources/BitcoinKit",
      "product_dependencies" : [
        "secp256k1",
        "Random"
      ],
      "product_memberships" : [
        "BitcoinKit"
      ],
      "sources" : [
        "Core/Address/Address.swift",
        "Core/Address/AddressError.swift",
        "Core/Address/BitcoinAddress+Cashaddr.swift",
        "Core/Address/BitcoinAddress+HashSize.swift",
        "Core/Address/BitcoinAddress+HashType.swift",
        "Core/Address/BitcoinAddress+Legacy.swift",
        "Core/Address/BitcoinAddress+VersionByte.swift",
        "Core/Address/BitcoinAddress+deprecated.swift",
        "Core/Address/BitcoinAddress.swift",
        "Core/Address/BitcoinScheme.swift",
        "Core/Address/Encoding/Base58.swift",
        "Core/Address/Encoding/Base58Check.swift",
        "Core/Address/Encoding/Bech32.swift",
        "Core/Address/Encoding/Encoding.swift",
        "Core/BigNumber.swift",
        "Core/BitcoinKitPrivateSwift.swift",
        "Core/BlockChain.swift",
        "Core/BlockStore.swift",
        "Core/BloomFilter.swift",
        "Core/ByteStream.swift",
        "Core/CoinType.swift",
        "Core/Crypto.swift",
        "Core/Helpers.swift",
        "Core/Keys/HDKeychain.swift",
        "Core/Keys/HDPrivateKey.swift",
        "Core/Keys/HDPublicKey.swift",
        "Core/Keys/PrivateKey.swift",
        "Core/Keys/PublicKey+Address.swift",
        "Core/Keys/PublicKey.swift",
        "Core/Math.swift",
        "Core/MerkleTree.swift",
        "Core/Mnemonic/BitArray.swift",
        "Core/Mnemonic/Mnemonic+Checksum+Validate.swift",
        "Core/Mnemonic/Mnemonic+Error.swift",
        "Core/Mnemonic/Mnemonic+Generate.swift",
        "Core/Mnemonic/Mnemonic+Language.swift",
        "Core/Mnemonic/Mnemonic+Strength.swift",
        "Core/Mnemonic/Mnemonic+Wordlist.swift",
        "Core/Mnemonic/Mnemonic.swift",
        "Core/Mnemonic/UInt11.swift",
        "Core/Mnemonic/WordList/WordList+English.swift",
        "Core/Mnemonic/WordList/WordList+French.swift",
        "Core/Mnemonic/WordList/WordList+Italian.swift",
        "Core/Mnemonic/WordList/WordList+Japanese.swift",
        "Core/Mnemonic/WordList/WordList+Korean.swift",
        "Core/Mnemonic/WordList/WordList+SimplifiedChinese.swift",
        "Core/Mnemonic/WordList/WordList+Spanish.swift",
        "Core/Mnemonic/WordList/WordList+TraditionalChinese.swift",
        "Core/Mnemonic/WordList/WordList.swift",
        "Core/MurmurHash.swift",
        "Core/Network.swift",
        "Core/PaymentURI.swift",
        "Core/PointOnCurve.swift",
        "Core/ProofOfWork.swift",
        "Core/QR/QRCodeConvertible.swift",
        "Core/QR/QRCodeGenerator.swift",
        "Core/Scalar32Bytes.swift",
        "Core/SecureGenerateBytes/SecureGenerateBytes.swift",
        "Core/SecureGenerateBytes/Status.swift",
        "Core/Serialization.swift",
        "Core/UInt256+Bitcoin.swift",
        "Core/UInt256.swift",
        "Core/UInt32+Utility.swift",
        "Core/UnitsAndLimits.swift",
        "Core/UnspentTransaction.swift",
        "Deprecated/AddressFactory.swift",
        "Deprecated/AddressType.swift",
        "Deprecated/Cashaddr.swift",
        "Deprecated/LegacyAddress.swift",
        "Deprecated/Transaction+SignatureHash.swift",
        "Deprecated/TransactionSignatureSerializer.swift",
        "Deprecated/UnsignedTransaction.swift",
        "Extensions/Data_Extensions.swift",
        "Extensions/FixedWidthInteger_Extensions.swift",
        "Extensions/RangeReplaceableCollection_Extensions.swift",
        "LinuxSupport.swift",
        "Messages/AddressMessage.swift",
        "Messages/BlockMessage.swift",
        "Messages/FilterLoadMessage.swift",
        "Messages/GetBlocksMessage.swift",
        "Messages/GetDataMessage.swift",
        "Messages/GetHeadersMessage.swift",
        "Messages/HeadersMessage.swift",
        "Messages/InventoryItem.swift",
        "Messages/InventoryMessage.swift",
        "Messages/MerkleBlockMessage.swift",
        "Messages/Message.swift",
        "Messages/NetworkAddress.swift",
        "Messages/PingMessage.swift",
        "Messages/PongMessage.swift",
        "Messages/RejectMessage.swift",
        "Messages/ServiceFlags.swift",
        "Messages/Transaction.swift",
        "Messages/TransactionInput.swift",
        "Messages/TransactionOutPoint.swift",
        "Messages/TransactionOutput.swift",
        "Messages/TransactionWitness.swift",
        "Messages/VarInt.swift",
        "Messages/VarString.swift",
        "Messages/VerackMessage.swift",
        "Messages/VersionMessage.swift",
        "Mock/MockHelper.swift",
        "Mock/MockKey.swift",
        "Mock/MockUnlockScriptBuilder.swift",
        "Networking/Peer.swift",
        "Networking/PeerGroup.swift",
        "Scripts/OP_CODE/Arithmetic/OP_0NOTEQUAL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_1ADD.swift",
        "Scripts/OP_CODE/Arithmetic/OP_1SUB.swift",
        "Scripts/OP_CODE/Arithmetic/OP_2DIV.swift",
        "Scripts/OP_CODE/Arithmetic/OP_2MUL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_ABS.swift",
        "Scripts/OP_CODE/Arithmetic/OP_ADD.swift",
        "Scripts/OP_CODE/Arithmetic/OP_BOOLAND.swift",
        "Scripts/OP_CODE/Arithmetic/OP_BOOLOR.swift",
        "Scripts/OP_CODE/Arithmetic/OP_DIV.swift",
        "Scripts/OP_CODE/Arithmetic/OP_GREATERTHAN.swift",
        "Scripts/OP_CODE/Arithmetic/OP_GREATERTHANOREQUAL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_LESSTHAN.swift",
        "Scripts/OP_CODE/Arithmetic/OP_LESSTHANOREQUAL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_LSHIFT.swift",
        "Scripts/OP_CODE/Arithmetic/OP_MAX.swift",
        "Scripts/OP_CODE/Arithmetic/OP_MIN.swift",
        "Scripts/OP_CODE/Arithmetic/OP_MOD.swift",
        "Scripts/OP_CODE/Arithmetic/OP_MUL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_NEGATE.swift",
        "Scripts/OP_CODE/Arithmetic/OP_NOT.swift",
        "Scripts/OP_CODE/Arithmetic/OP_NUMEQUAL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_NUMEQUALVERIFY.swift",
        "Scripts/OP_CODE/Arithmetic/OP_NUMNOTEQUAL.swift",
        "Scripts/OP_CODE/Arithmetic/OP_RSHIFT.swift",
        "Scripts/OP_CODE/Arithmetic/OP_SUB.swift",
        "Scripts/OP_CODE/Arithmetic/OP_WITHIN.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_AND.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_EQUAL.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_EQUALVERIFY.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_INVERT.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_OR.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_RESERVED1.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_RESERVED2.swift",
        "Scripts/OP_CODE/Bitwise Logic/OP_XOR.swift",
        "Scripts/OP_CODE/Crypto/OP_CHECKMULTISIG.swift",
        "Scripts/OP_CODE/Crypto/OP_CHECKMULTISIGVERIFY.swift",
        "Scripts/OP_CODE/Crypto/OP_CHECKSIG.swift",
        "Scripts/OP_CODE/Crypto/OP_CHECKSIGVERIFY.swift",
        "Scripts/OP_CODE/Crypto/OP_CODESEPARATOR.swift",
        "Scripts/OP_CODE/Crypto/OP_HASH160.swift",
        "Scripts/OP_CODE/Crypto/OP_HASH256.swift",
        "Scripts/OP_CODE/Crypto/OP_RIPEMD160.swift",
        "Scripts/OP_CODE/Crypto/OP_SHA1.swift",
        "Scripts/OP_CODE/Crypto/OP_SHA256.swift",
        "Scripts/OP_CODE/Flow Control/OP_ELSE.swift",
        "Scripts/OP_CODE/Flow Control/OP_ENDIF.swift",
        "Scripts/OP_CODE/Flow Control/OP_IF.swift",
        "Scripts/OP_CODE/Flow Control/OP_NOP.swift",
        "Scripts/OP_CODE/Flow Control/OP_NOTIF.swift",
        "Scripts/OP_CODE/Flow Control/OP_RETURN.swift",
        "Scripts/OP_CODE/Flow Control/OP_VER.swift",
        "Scripts/OP_CODE/Flow Control/OP_VERIF.swift",
        "Scripts/OP_CODE/Flow Control/OP_VERIFY.swift",
        "Scripts/OP_CODE/Flow Control/OP_VERNOTIF.swift",
        "Scripts/OP_CODE/Lock Time/OP_CHECKLOCKTIMEVERIFY.swift",
        "Scripts/OP_CODE/Lock Time/OP_CHECKSEQUENCEVERIFY.swift",
        "Scripts/OP_CODE/OP_EXAMPLE.swift",
        "Scripts/OP_CODE/Pseudo Words/OP_INVALIDOPCODE.swift",
        "Scripts/OP_CODE/Pseudo Words/OP_PUBKEY.swift",
        "Scripts/OP_CODE/Pseudo Words/OP_PUBKEYHASH.swift",
        "Scripts/OP_CODE/Push Data/OP_0.swift",
        "Scripts/OP_CODE/Push Data/OP_1NEGATE.swift",
        "Scripts/OP_CODE/Push Data/OP_N.swift",
        "Scripts/OP_CODE/Push Data/OP_PUSHDATA.swift",
        "Scripts/OP_CODE/Push Data/OP_RESERVED.swift",
        "Scripts/OP_CODE/Reserved Words/OP_NOPN.swift",
        "Scripts/OP_CODE/Splice/OP_BIN2NUM.swift",
        "Scripts/OP_CODE/Splice/OP_CAT.swift",
        "Scripts/OP_CODE/Splice/OP_NUM2BIN.swift",
        "Scripts/OP_CODE/Splice/OP_SIZE.swift",
        "Scripts/OP_CODE/Splice/OP_SPLIT.swift",
        "Scripts/OP_CODE/Stack/OP_2DROP.swift",
        "Scripts/OP_CODE/Stack/OP_2DUP.swift",
        "Scripts/OP_CODE/Stack/OP_2OVER.swift",
        "Scripts/OP_CODE/Stack/OP_2ROT.swift",
        "Scripts/OP_CODE/Stack/OP_2SWAP.swift",
        "Scripts/OP_CODE/Stack/OP_3DUP.swift",
        "Scripts/OP_CODE/Stack/OP_DEPTH.swift",
        "Scripts/OP_CODE/Stack/OP_DROP.swift",
        "Scripts/OP_CODE/Stack/OP_DUP.swift",
        "Scripts/OP_CODE/Stack/OP_FROMALTSTACK.swift",
        "Scripts/OP_CODE/Stack/OP_IFDUP.swift",
        "Scripts/OP_CODE/Stack/OP_NIP.swift",
        "Scripts/OP_CODE/Stack/OP_OVER.swift",
        "Scripts/OP_CODE/Stack/OP_PICK.swift",
        "Scripts/OP_CODE/Stack/OP_ROLL.swift",
        "Scripts/OP_CODE/Stack/OP_ROT.swift",
        "Scripts/OP_CODE/Stack/OP_SWAP.swift",
        "Scripts/OP_CODE/Stack/OP_TOTALSTACK.swift",
        "Scripts/OP_CODE/Stack/OP_TUCK.swift",
        "Scripts/OpCodeFactory.swift",
        "Scripts/OpCodeProtocol.swift",
        "Scripts/Opcode.swift",
        "Scripts/Script.swift",
        "Scripts/ScriptChunk.swift",
        "Scripts/ScriptChunkHelper.swift",
        "Scripts/ScriptExecutionContext.swift",
        "Scripts/ScriptFactory.swift",
        "Scripts/ScriptMachine.swift",
        "Wallet/BCHSignatureHashHelper.swift",
        "Wallet/BTCSignatureHashHelper.swift",
        "Wallet/FeeCalculator.swift",
        "Wallet/HDWallet.swift",
        "Wallet/SighashType.swift",
        "Wallet/SignatureHashHelper.swift",
        "Wallet/TransactionBuilder.swift",
        "Wallet/TransactionPlan.swift",
        "Wallet/TransactionPlanner.swift",
        "Wallet/TransactionSigner.swift",
        "Wallet/UnspentTransactionSelector.swift"
      ],
      "target_dependencies" : [
        "BitcoinKitPrivate"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Boilertalk/secp256k1.swift
Fetching https://github.com/vapor-community/copenssl.git
Fetching https://github.com/vapor-community/random.git
[1/148] Fetching random
[77/928] Fetching random, secp256k1.swift
[857/962] Fetching random, secp256k1.swift, copenssl
Fetched https://github.com/vapor-community/copenssl.git from cache (1.37s)
Fetched https://github.com/vapor-community/random.git from cache (1.37s)
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (1.38s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (3.54s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.16s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.74s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/debugging.git from cache (0.39s)
Fetched https://github.com/vapor/bits.git from cache (0.39s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.04s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.54s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.7 (0.51s)
Computing version for https://github.com/vapor-community/copenssl.git
Computed https://github.com/vapor-community/copenssl.git at 1.0.0-rc.1 (0.54s)
Creating working copy for https://github.com/Boilertalk/secp256k1.swift
Working copy of https://github.com/Boilertalk/secp256k1.swift resolved at 0.1.7
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor-community/random.git
Working copy of https://github.com/vapor-community/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/copenssl.git
Working copy of https://github.com/vapor-community/copenssl.git resolved at 1.0.0-rc.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/12] Write sources
[8/12] Compiling lax_der_parsing.c
[9/12] Compiling lax_der_privatekey_parsing.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
[11/34] Compiling secp256k1.c
[13/36] Emitting module secp256k1
[14/36] Compiling secp256k1 Exporter.swift
[16/37] Emitting module Debugging
[17/37] Compiling Debugging Debuggable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/38] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[19/38] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[20/38] Compiling Bits Aliases.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[21/38] Compiling Bits Base64Encoder.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[22/38] Compiling Bits Byte+Alphabet.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/38] Emitting module Bits
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[24/38] Compiling Bits Byte+ControlCharacters.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[25/38] Compiling Bits Byte+Convenience.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[26/38] Compiling Bits Byte+PatternMatching.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/25] Emitting module secp256k1
[3/25] Compiling secp256k1 Exporter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/26] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[5/26] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | 	@_exported import Glibc
3 | #else
4 | 	@_exported import Darwin.C
  |                    `- error: no such module 'Darwin.C'
5 | #endif
6 |
[6/26] Compiling Bits Aliases.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[7/26] Compiling Bits Base64Encoder.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[8/26] Compiling Bits Byte+Alphabet.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/26] Emitting module Bits
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[10/26] Compiling Bits Byte+ControlCharacters.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[11/26] Compiling Bits Byte+Convenience.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[12/26] Compiling Bits Byte+PatternMatching.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[14/28] Compiling Bits Operators.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[15/28] Compiling Bits String+BytesConvertible.swift
/host/spi-builder-workspace/.build/checkouts/bits/Sources/Bits/Byte+Random.swift:4:23: error: no such module 'Darwin.C'
 2 |     @_exported import Glibc
 3 | #else
 4 |     @_exported import Darwin.C
   |                       `- error: no such module 'Darwin.C'
 5 | #endif
 6 |
[16/28] Emitting module Debugging
BUILD FAILURE 6.1 wasm