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 Forging, reference main (ff4731), with Swift 6.1 for Wasm on 22 Nov 2025 23:02:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff47316 Update README.
Cloned https://github.com/BCSuite/Forging.git
Revision (git rev-parse @):
ff473161aa191ae62fd70827d81552cb17520240
SUCCESS checkout https://github.com/BCSuite/Forging.git at main
========================================
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-1":/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/4826] Fetching bigint
[388/8525] Fetching bigint, k1
[3377/8607] Fetching bigint, k1, bip39.swift
Fetched https://github.com/tesseract-one/Bip39.swift.git from cache (0.94s)
Fetched https://github.com/Sajjon/K1 from cache (0.95s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.00s)
Computing version for https://github.com/Sajjon/K1
Computed https://github.com/Sajjon/K1 at 0.6.0 (5.14s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (1.15s)
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.39s)
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.64s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.04s)
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/Sajjon/K1
Working copy of https://github.com/Sajjon/K1 resolved at 0.6.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/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
Building for debugging...
[0/17] Write sources
[3/17] Compiling lax_der_privatekey_parsing.c
[4/17] Compiling ecdh_variants.c
[5/17] Compiling lax_der_parsing.c
[6/17] Compiling CUncommonCrypto pbkdf2.c
[7/17] Compiling CUncommonCrypto memzero.c
[8/17] Write sources
[10/17] Compiling CUncommonCrypto sha3.c
[11/17] Compiling precomputed_ecmult_gen.c
[12/17] Compiling CUncommonCrypto hmac.c
[13/17] Write swift-version-24593BA9C3E375BF.txt
[14/17] 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 PublicKeyImplementation.swift
[20/100] Compiling K1 Schnorr+Signature.swift
[21/102] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
[22/102] Compiling K1 FFI+ECDSA+NonRecovery.swift
[23/102] Compiling K1 ECDSA+Recovery+Wrapped.swift
[24/102] Compiling K1 Schnorr.swift
[25/102] Compiling K1 Signing.generated.swift
[26/102] Compiling K1 Validation.generated.swift
[27/102] Emitting module BigInt
[28/102] Compiling BigInt Subtraction.swift
[29/102] Compiling BigInt Words and Bits.swift
[30/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 |
[31/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 |
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/102] Compiling K1 Keys.generated.swift
[37/102] Compiling K1 FFI+ECDH.swift
[38/102] Compiling K1 FFI+ECDSA.swift
[39/102] Compiling K1 ECDSASignatureNonRecoverable.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 |
[40/102] Compiling K1 ECDSASignatureRecoverable.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 |
[41/102] Compiling K1 RecoveryID.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 |
[42/102] Compiling K1 FFI+ECDSA+Recovery.swift
[43/102] Compiling K1 PrivateKey+Wrapped.swift
[44/102] Compiling K1 PrivateKeyImplementation.swift
[45/102] Compiling K1 K1.swift
[46/102] Compiling K1 KeyAgreement.swift
[47/102] Compiling K1 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 |
[49/102] Compiling K1 PublicKey+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 |
[50/102] Compiling K1 FFI+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 |
[51/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 |
[52/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 |
[53/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 |
[54/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 |
[55/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 |     }
[56/102] Compiling UncommonCrypto PBKDF2.swift
[57/102] Compiling UncommonCrypto SHA1.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 |
[65/102] Compiling UncommonCrypto SHA3.swift
[66/102] Compiling UncommonCrypto SHA2.swift
[67/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 |
[68/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 |
[69/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 |
[70/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 |
[71/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 |
[72/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 |
[73/102] Compiling UncommonCrypto HMAC.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/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 |
/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 |
/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 |
[89/102] Compiling K1 FFI+Raw.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 |
[90/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 |
[91/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 |
[92/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 |
[93/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 |
[94/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 |
[95/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 |
[96/102] 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 |
[97/102] 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 |
[98/102] 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 |
[99/102] 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 |
[100/102] 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 |
[101/102] 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 |
[102/102] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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] Compiling UncommonCrypto SHA3.swift
[4/78] Compiling UncommonCrypto PBKDF2.swift
[5/78] Compiling UncommonCrypto SHA1.swift
[6/78] Compiling UncommonCrypto SHA2.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/78] 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 |
[8/78] Compiling UncommonCrypto HMAC.swift
[9/78] Compiling K1 FFI+PublicKey.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/78] Compiling K1 PublicKey+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 |
[11/78] Compiling K1 FFI+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 |
[12/78] 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 |
[13/78] 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 |
[14/78] 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 |
[15/78] 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 |
[16/78] Compiling K1 FFI+Raw.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/78] 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 |
[18/78] 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 |
[19/78] 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 |
[20/78] 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 |
[21/78] 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 |
[22/78] 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 |
[23/78] Compiling K1 K1.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/78] Compiling K1 KeyAgreement.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/78] Compiling K1 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 |
[26/78] Compiling K1 ECDSASignatureNonRecoverable.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/78] 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 |
[28/78] Compiling K1 RecoveryID.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/78] Compiling K1 Keys.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 |
[30/84] 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 |
[31/84] 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 |
[32/84] 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 |
[33/84] 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 |
[34/84] 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 |
[35/84] 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 |
[36/84] 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 |
BUILD FAILURE 6.1 wasm