The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Forging, reference 0.0.1 (b6d204), with Swift 6.1 for Wasm on 22 Nov 2025 23:00:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BCSuite/Forging.git
Reference: 0.0.1
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/BCSuite/Forging
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at b6d204f Update README.
Cloned https://github.com/BCSuite/Forging.git
Revision (git rev-parse @):
b6d204fb1f4ffe1504b36a9e68d70f6958a98ff4
SUCCESS checkout https://github.com/BCSuite/Forging.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BCSuite/Forging.git
https://github.com/BCSuite/Forging.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bip39.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tesseract-one/Bip39.swift.git"
    },
    {
      "identity" : "k1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Sajjon/K1"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.3.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    }
  ],
  "manifest_display_name" : "Forging",
  "name" : "Forging",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Forging",
      "targets" : [
        "Forging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ForgingTests",
      "module_type" : "SwiftTarget",
      "name" : "ForgingTests",
      "path" : "Tests/ForgingTests",
      "sources" : [
        "ForgingTests.swift"
      ],
      "target_dependencies" : [
        "Forging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Forging",
      "module_type" : "SwiftTarget",
      "name" : "Forging",
      "path" : "Sources/Forging",
      "product_dependencies" : [
        "Bip39",
        "K1",
        "BigInt"
      ],
      "product_memberships" : [
        "Forging"
      ],
      "sources" : [
        "BatchOperation/FGBatchJobsScheduler.swift",
        "BatchOperation/FGBatchSpace.swift",
        "BatchOperation/FGSingleTaskJobsCount.swift",
        "ChainDescription/FGChainDescribable.swift",
        "Codation/FGBase58Coder.swift",
        "Codation/FGBase58Decodable.swift",
        "Codation/FGBase58Encodable.swift",
        "Codation/FGBase58Space.swift",
        "Codation/FGWalletCodationWrapper.swift",
        "DataStream/FGDataStream.swift",
        "DataStream/FGJSONWalletFileReader.swift",
        "DataStream/FGStreamDataReadable.swift",
        "Derivation/FGBIP44Purpose.swift",
        "Derivation/FGDerivable.swift",
        "Derivation/FGDerivationErrorKind.swift",
        "Derivation/FGDerivationExtractor.swift",
        "Derivation/FGDerivationPathElements.swift",
        "Derivation/FGDerivationSpace.swift",
        "Derivation/FGDerivePathCoinRepresentation.swift",
        "Derivation/FGDerivePathPurposeRepresentation.swift",
        "Derivation/FGRawDerivationPathGeneratable.swift",
        "Derivation/FGSLIP0010Deriver.swift",
        "EVM/FGBaseChain.swift",
        "EVM/FGChainTaskResultAssembler+EVM.swift",
        "EVM/FGEIP55AddressGeneratable.swift",
        "EVM/FGEIP55Addressor.swift",
        "EVM/FGEVMAddressPairGenerator.swift",
        "EVM/FGEVMDerivationPathCoin.swift",
        "EVM/FGEVMDerivationPathGenerator.swift",
        "EVM/FGEVMDeriver.swift",
        "EVM/FGEVMSpace.swift",
        "EVM/FGEthereumChain.swift",
        "EVM/FGHDGenHandler+evm.swift",
        "EVM/FGHDImportHandler+evm.swift",
        "EVM/FGHDWalletUniGenerator+EVM.swift",
        "EVM/FGHDWalletUniImporter+EVM.swift",
        "EVM/FGNonHDGenHandler+evm.swift",
        "EVM/FGNonHDWalletUniGenerator+EVM.swift",
        "EVM/FGOptimismChain.swift",
        "EVM/FGSingleEVMNonHDWalletImporter.swift",
        "Error/FGError.swift",
        "Error/FGWalletErrorKind.swift",
        "Export/FGBatchWalletsExportable.swift",
        "Export/FGExportSpace.swift",
        "Export/FGFileExporter.swift",
        "Export/FGPasteboardExporter.swift",
        "Export/FGSingleWalletExportable.swift",
        "Export/FGWalletExportable.swift",
        "Extensions/Array+Hex.swift",
        "Extensions/ArraySlice+Hex.swift",
        "Extensions/Data+Hex.swift",
        "Extensions/UInt32+EndianBytes.swift",
        "Formatting/FGBatchWalletsFormatable.swift",
        "Formatting/FGSingleWalletFormatable.swift",
        "Formatting/FGWalletFormatable.swift",
        "Formatting/FGWalletJSONStringFormatter.swift",
        "Formatting/FGWalletRawFormatable.swift",
        "Formatting/FGWalletRawJSONFormatter.swift",
        "Formatting/FGWalletStringFormatable.swift",
        "Generation/FGBatchHDWalletGeneratable.swift",
        "Generation/FGBatchNonHDWalletGeneratable.swift",
        "Generation/FGGenerationSpace.swift",
        "Generation/FGHDGenHandler.swift",
        "Generation/FGHDWalletGeneratable.swift",
        "Generation/FGHDWalletUniGenerator+MultiChain.swift",
        "Generation/FGHDWalletUniGenerator.swift",
        "Generation/FGMultiChainHDWalletGenKind.swift",
        "Generation/FGMultiChainNonHDWalletGenKind.swift",
        "Generation/FGNonHDGenHandler.swift",
        "Generation/FGNonHDWalletGeneratable.swift",
        "Generation/FGNonHDWalletUniGenerator+MultiChain.swift",
        "Generation/FGNonHDWalletUniGenerator.swift",
        "Generation/FGSingleHDWalletGeneratable.swift",
        "Generation/FGSingleNonHDWalletGeneratable.swift",
        "Import/FGBatchHDWalletImportable.swift",
        "Import/FGBatchNonHDWalletImportable.swift",
        "Import/FGBatchNonHDWalletUniImporter.swift",
        "Import/FGHDImportHandler.swift",
        "Import/FGHDWalletImportable.swift",
        "Import/FGHDWalletUniImporter+MultiChain.swift",
        "Import/FGHDWalletUniImporter.swift",
        "Import/FGMultiChainHDWalletImportKind.swift",
        "Import/FGNonHDWalletImportable.swift",
        "Import/FGSingleHDWalletImportable.swift",
        "Import/FGSingleNonHDWalletImportable.swift",
        "Keccak256/FGKeccak256Ability.swift",
        "Keccak256/FGUncommonCryptoKeccak256.swift",
        "KeyPair/FGAddressPair.swift",
        "KeyPair/FGAddressPairGeneratable.swift",
        "Mnemonic/FGMnemonic12WordsSize.swift",
        "Mnemonic/FGMnemonic15WordsSize.swift",
        "Mnemonic/FGMnemonic18WordsSize.swift",
        "Mnemonic/FGMnemonic21WordsSize.swift",
        "Mnemonic/FGMnemonic24WordsSize.swift",
        "Mnemonic/FGMnemonicAbility.swift",
        "Mnemonic/FGMnemonicInfo.swift",
        "Mnemonic/FGMnemonicSizeRepresentation.swift",
        "Mnemonic/FGTesseractMnemonicEntity.swift",
        "MultiChainOperation/FGAnyChainTaskHandler.swift",
        "MultiChainOperation/FGChainTaskHandable.swift",
        "MultiChainOperation/FGChainTaskJobExecutable.swift",
        "MultiChainOperation/FGChainTaskResultAssembler.swift",
        "MultiChainOperation/FGHandlerChain.swift",
        "MultiChainOperation/FGMultiChainOpSpace.swift",
        "MultiChainOperation/FGMultiChainWalletProcessor.swift",
        "Secp256k1/FGK1Secp256k1.swift",
        "Secp256k1/Secp256k1Ability.swift",
        "Solana/FGChainTaskResultAssembler+Solana.swift",
        "Solana/FGHDGenHandler+Solana.swift",
        "Solana/FGHDImportHandler+Solana.swift",
        "Solana/FGHDWalletUniGenerator+Solana.swift",
        "Solana/FGHDWalletUniImporter+Solana.swift",
        "Solana/FGNonHDGenHandler+Solana.swift",
        "Solana/FGNonHDWalletUniGenerator+Solana.swift",
        "Solana/FGSingleSolNonHDWalletImporter.swift",
        "Solana/FGSolAddressPairGenerator.swift",
        "Solana/FGSolDerivationPathCoin.swift",
        "Solana/FGSolDerivationPathGenerator.swift",
        "Solana/FGSolWalletSpace.swift",
        "Solana/FGSolanaChain.swift",
        "Walletization/FGCryptoWallet.swift",
        "Walletization/FGCryptographyWallet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/Sajjon/K1
Fetching https://github.com/tesseract-one/Bip39.swift.git
[1/82] Fetching bip39.swift
[83/4908] Fetching bip39.swift, bigint
[277/8607] Fetching bip39.swift, bigint, k1
Fetched https://github.com/tesseract-one/Bip39.swift.git from cache (0.24s)
[4873/8525] Fetching bigint, k1
Fetched https://github.com/Sajjon/K1 from cache (0.52s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.57s)
Computing version for https://github.com/Sajjon/K1
Computed https://github.com/Sajjon/K1 at 0.6.0 (3.57s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (0.76s)
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.27s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (1.12s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.62s)
Creating working copy for https://github.com/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/tesseract-one/Bip39.swift.git
Working copy of https://github.com/tesseract-one/Bip39.swift.git resolved at 0.2.0
Creating working copy for https://github.com/Sajjon/K1
Working copy of https://github.com/Sajjon/K1 resolved at 0.6.0
Building for debugging...
[0/17] Write sources
[4/17] Compiling lax_der_parsing.c
[5/17] Compiling CUncommonCrypto sha3.c
[6/17] Compiling lax_der_privatekey_parsing.c
[7/17] Compiling CUncommonCrypto pbkdf2.c
[8/17] Compiling CUncommonCrypto memzero.c
[9/17] Write sources
[10/17] Compiling precomputed_ecmult_gen.c
[11/17] Compiling CUncommonCrypto hmac.c
[12/17] Compiling ecdh_variants.c
[13/17] Write swift-version-24593BA9C3E375BF.txt
[14/38] Compiling secp256k1.c
[15/38] Compiling CUncommonCrypto sha2.c
[16/45] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/94] Emitting module K1
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[19/100] Compiling K1 ASN1OctetString.swift
[20/100] Compiling K1 ASN1Strings.swift
[21/102] Compiling K1 FFI+PublicKey.swift
[22/102] Compiling K1 PublicKey+Wrapped.swift
[23/102] Compiling K1 FFI+Schnorr.swift
[24/102] Compiling K1 ASN1Identifier.swift
[25/102] Compiling K1 ASN1Integer.swift
[26/102] Compiling K1 ASN1Null.swift
[27/102] Compiling BigInt Subtraction.swift
[28/102] Compiling BigInt Words and Bits.swift
[29/102] Compiling UncommonCrypto SHA2.swift
[30/102] Compiling UncommonCrypto SHA1.swift
[31/102] Compiling UncommonCrypto PBKDF2.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/102] Emitting module UncommonCrypto
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
   |        `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[33/102] Compiling K1 RecoveryID.swift
[34/102] Compiling K1 Keys.generated.swift
[35/102] Compiling K1 ASN1Boolean.swift
[36/102] Compiling UncommonCrypto HMAC.swift
[37/102] Compiling K1 SubjectPublicKeyInfo.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[38/102] Compiling K1 ASN1Error.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[39/102] Compiling K1 BytesUtil.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[40/102] Compiling K1 RNG_boring.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[41/102] Compiling K1 SafeCompare_boring.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[42/102] Compiling K1 SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[43/102] Compiling UncommonCrypto SHA3.swift
[44/102] Compiling UncommonCrypto SecureRandom.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
   |        `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:20:20: error: cannot find 'native' in scope
18 |             throw Error.invalidSize
19 |         }
20 |         return try native(size: size)
   |                    `- error: cannot find 'native' in scope
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:24:25: error: cannot find 'native' in scope
22 |
23 |     public static func number<T: BinaryInteger>(of type: T) throws -> T {
24 |         let bytes = try native(size: MemoryLayout<T>.size)
   |                         `- error: cannot find 'native' in scope
25 |         return bytes.withUnsafeBytes { $0.load(as: T.self) }
26 |     }
[45/102] Compiling K1 PrivateKeyImplementation.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[46/102] Compiling K1 PublicKeyImplementation.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[47/102] Compiling K1 Schnorr+Signature.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[48/102] Compiling K1 Schnorr.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[49/102] Compiling K1 Signing.generated.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[50/102] Compiling K1 Validation.generated.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[51/102] Compiling K1 Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[52/102] Compiling K1 GeneralizedTime.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[53/102] Compiling K1 ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[54/102] Compiling K1 ECDSASignature.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[55/102] Compiling K1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[56/102] Compiling K1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[57/102] Compiling K1 SEC1PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[59/102] Compiling K1 Curve.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[60/102] Compiling K1 K1+Error.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[61/102] Compiling K1 SharedSecret.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[62/102] Compiling K1 ASN1.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[63/102] Compiling K1 ASN1Any.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[64/102] Compiling K1 ASN1BitString.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[65/102] Compiling K1 FFI+ECDH.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[66/102] Compiling K1 FFI+ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[67/102] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[68/102] Compiling K1 FFI+ECDSA+NonRecovery.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[69/102] Compiling K1 ECDSA+Recovery+Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[70/102] Compiling K1 FFI+ECDSA+Recovery.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[71/102] Compiling K1 PrivateKey+Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[82/102] Compiling K1 Schnorr+Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[83/102] Compiling K1 FFI+Call.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[84/102] Compiling K1 FFI+Context.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[85/102] Compiling K1 FFI+Format.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[86/102] Emitting module BigInt
[88/102] Compiling K1 K1.swift
[89/102] Compiling K1 KeyAgreement.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 |     var mantissaParts: [UInt16] {
169 |         [
170 |             _mantissa.0,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 |         [
170 |             _mantissa.0,
171 |             _mantissa.1,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 |             _mantissa.0,
171 |             _mantissa.1,
172 |             _mantissa.2,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
173 |             _mantissa.3,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
174 |             _mantissa.4,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
175 |             _mantissa.5,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 |             _mantissa.6,
177 |             _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
176 |             _mantissa.6,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 |             _mantissa.7,
178 |         ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
177 |             _mantissa.7,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 |         ]
179 |     }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 |     var mantissaParts: [UInt16] {
169 |         [
170 |             _mantissa.0,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 |         [
170 |             _mantissa.0,
171 |             _mantissa.1,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 |             _mantissa.0,
171 |             _mantissa.1,
172 |             _mantissa.2,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
173 |             _mantissa.3,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
174 |             _mantissa.4,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
175 |             _mantissa.5,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 |             _mantissa.6,
177 |             _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
176 |             _mantissa.6,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 |             _mantissa.7,
178 |         ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
177 |             _mantissa.7,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 |         ]
179 |     }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 |     var mantissaParts: [UInt16] {
169 |         [
170 |             _mantissa.0,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 |         [
170 |             _mantissa.0,
171 |             _mantissa.1,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 |             _mantissa.0,
171 |             _mantissa.1,
172 |             _mantissa.2,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 |             _mantissa.1,
172 |             _mantissa.2,
173 |             _mantissa.3,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 |             _mantissa.2,
173 |             _mantissa.3,
174 |             _mantissa.4,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 |             _mantissa.3,
174 |             _mantissa.4,
175 |             _mantissa.5,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 |             _mantissa.6,
177 |             _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 |             _mantissa.4,
175 |             _mantissa.5,
176 |             _mantissa.6,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 |             _mantissa.7,
178 |         ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 |             _mantissa.5,
176 |             _mantissa.6,
177 |             _mantissa.7,
    |             `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 |         ]
179 |     }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
  |              `- note: '_mantissa' declared here
3 |
[93/102] Compiling K1 ECDSA.swift
[94/102] Compiling K1 ECDSASignatureNonRecoverable.swift
[95/102] Compiling K1 ECDSASignatureRecoverable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/78] Compiling UncommonCrypto SecureRandom.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
   |        `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:20:20: error: cannot find 'native' in scope
18 |             throw Error.invalidSize
19 |         }
20 |         return try native(size: size)
   |                    `- error: cannot find 'native' in scope
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:24:25: error: cannot find 'native' in scope
22 |
23 |     public static func number<T: BinaryInteger>(of type: T) throws -> T {
24 |         let bytes = try native(size: MemoryLayout<T>.size)
   |                         `- error: cannot find 'native' in scope
25 |         return bytes.withUnsafeBytes { $0.load(as: T.self) }
26 |     }
[3/78] Emitting module BigInt
[4/80] Compiling K1 GeneralizedTime.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[5/80] Compiling K1 ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[6/80] Compiling K1 ECDSASignature.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[7/80] Compiling K1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[8/80] Compiling K1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[9/80] Compiling K1 SEC1PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[10/86] Compiling UncommonCrypto SHA3.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/86] Emitting module UncommonCrypto
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
   |        `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[12/86] Compiling BigInt Prime Test.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[13/86] Compiling BigInt Random.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[14/86] Compiling BigInt Shifts.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[15/86] Compiling BigInt Square Root.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[16/86] Compiling BigInt Strideable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[17/86] Compiling BigInt String Conversion.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[18/86] Compiling BigInt Subtraction.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[19/86] Compiling UncommonCrypto SHA1.swift
[20/86] Compiling UncommonCrypto PBKDF2.swift
[21/86] Compiling UncommonCrypto HMAC.swift
[22/86] Compiling UncommonCrypto SHA2.swift
[23/86] Compiling BigInt Addition.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[24/86] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[25/86] Compiling BigInt BigUInt.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[26/86] Compiling BigInt Data Conversion.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[27/86] Compiling BigInt Division.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[28/86] Compiling BigInt Exponentiation.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[29/86] Compiling BigInt Floating Point Conversion.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[30/86] Compiling BigInt GCD.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[31/86] Compiling BigInt Hashable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[32/86] Compiling BigInt Bitwise Ops.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[33/86] Compiling BigInt Codable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[34/86] Compiling BigInt Comparable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[35/86] Compiling BigInt Integer Conversion.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[36/86] Compiling BigInt Multiplication.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[37/86] Compiling K1 ASN1Boolean.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[38/86] Compiling K1 ASN1Identifier.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[39/86] Compiling K1 ASN1Integer.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[40/86] Compiling K1 ASN1Null.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[41/86] Compiling K1 ASN1OctetString.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[42/86] Compiling K1 ASN1Strings.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
[43/86] Compiling K1 ArraySliceBigint.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
BUILD FAILURE 6.1 wasm