The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HsCryptoKit.Swift, reference 1.3.1 (e0238a), with Swift 6.2 for Wasm on 14 Aug 2025 14:51:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.66.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/horizontalsystems/HsCryptoKit.Swift.git
Reference: 1.3.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/horizontalsystems/HsCryptoKit.Swift
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at e0238a7 Fix ambiguous bytes usage
Cloned https://github.com/horizontalsystems/HsCryptoKit.Swift.git
Revision (git rev-parse @):
e0238a7609df9701aac63c6237a819a462c89ab8
SUCCESS checkout https://github.com/horizontalsystems/HsCryptoKit.Swift.git at 1.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/horizontalsystems/HsCryptoKit.Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/horizontalsystems/HsExtensions.Swift.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
[1/105] Fetching hsextensions.swift
[106/4931] Fetching hsextensions.swift, bigint
[1458/10047] Fetching hsextensions.swift, bigint, secp256k1.swift
[8651/26307] Fetching hsextensions.swift, bigint, secp256k1.swift, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (0.55s)
[6522/21481] Fetching hsextensions.swift, secp256k1.swift, swift-crypto
Fetched https://github.com/horizontalsystems/HsExtensions.Swift.git from cache (1.91s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (1.91s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.96s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (2.45s)
Computing version for https://github.com/horizontalsystems/HsExtensions.Swift.git
Computed https://github.com/horizontalsystems/HsExtensions.Swift.git at 1.0.6 (0.43s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.91s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.51s)
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/horizontalsystems/HsExtensions.Swift.git
Working copy of https://github.com/horizontalsystems/HsExtensions.Swift.git resolved at 1.0.6
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.10.0
Building for debugging...
[0/427] Write sources
[6/427] Compiling a_i2d_fp.c
[7/427] Compiling a_gentm.c
[8/427] Compiling sha512-586-linux.linux.x86.S
[9/427] Compiling helpers.c
[10/427] Write swift-version-24593BA9C3E375BF.txt
[11/427] Compiling forkunsafe.c
[12/427] Compiling tasn_enc.c
[13/427] Write sources
[14/427] Compiling tasn_dec.c
[15/462] Compiling Utility.c
[16/462] Compiling fiat_curve25519_adx_mul.S
[17/462] Compiling fiat_curve25519_adx_square.S
[18/462] Compiling precomputed_ecmult_gen.c
[19/462] Compiling CCryptoBoringSSLShims shims.c
[20/462] Compiling v3_skey.c
[21/462] Compiling v3_utl.c
[22/462] Compiling secp256k1.c
[23/462] Compiling v3_purp.c
[24/462] Compiling v3_prn.c
[25/462] Compiling v3_pcons.c
[26/462] Compiling v3_pmaps.c
[27/462] Compiling v3_ocsp.c
[29/462] Emitting module BigInt
[29/464] Compiling v3_lib.c
[30/464] Compiling v3_ncons.c
[31/464] Compiling v3_ia5.c
[32/464] Compiling v3_int.c
[33/464] Compiling v3_genn.c
[34/464] Compiling v3_info.c
[35/464] Compiling v3_extku.c
[36/464] Compiling v3_enum.c
[37/464] Compiling v3_conf.c
[38/464] Compiling v3_crld.c
[39/464] Compiling v3_bitst.c
[40/464] Compiling v3_bcons.c
[41/464] Compiling v3_cpols.c
[42/464] Compiling v3_alt.c
[43/464] Compiling x_x509a.c
[44/464] Compiling v3_akeya.c
[45/464] Compiling x_x509.c
[46/464] Compiling v3_akey.c
[47/464] Compiling x_val.c
[48/464] Compiling x_sig.c
[49/464] Compiling x_req.c
[50/464] Compiling x_pubkey.c
[51/464] Compiling x_spki.c
[52/464] Compiling x_pkey.c
[53/464] Compiling x_info.c
[54/464] Compiling x_exten.c
[55/464] Compiling x_name.c
[56/464] Compiling x_crl.c
[57/464] Compiling x_attrib.c
[58/464] Compiling x_algor.c
[59/464] Compiling x_all.c
[60/464] Compiling x509spki.c
[61/464] Compiling x509name.c
[62/464] Compiling x509rset.c
[63/464] Compiling x509cset.c
[64/464] Compiling x509_vpm.c
[65/464] Compiling x509_txt.c
[66/464] Compiling x509_v3.c
[67/464] Compiling x509_trs.c
[68/464] Compiling x509_vfy.c
[69/464] Compiling x509_set.c
[70/464] Compiling x509_obj.c
[71/464] Compiling x509_req.c
[72/464] Compiling x509_lu.c
[73/464] Compiling x509_ext.c
[74/464] Compiling x509_d2.c
[75/464] Compiling x509_def.c
[76/464] Compiling x509.c
[77/464] Compiling precomputed_ecmult.c
[78/464] Compiling x509_cmp.c
[79/480] Compiling x509_att.c
[80/484] Compiling t_x509.c
[81/484] Compiling t_x509a.c
[82/484] Compiling t_req.c
[83/484] Compiling t_crl.c
[84/484] Compiling name_print.c
[85/484] Compiling rsa_pss.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/484] Emitting module secp256k1
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[87/486] Compiling i2d_pr.c
[88/486] Compiling policy.c
[89/486] Compiling by_file.c
[90/486] Compiling by_dir.c
[91/486] Compiling algorithm.c
[92/486] Compiling asn1_gen.c
[93/486] Compiling a_verify.c
[94/486] Compiling a_sign.c
[95/486] Compiling thread_win.c
[96/486] Compiling trust_token.c
[97/486] Compiling thread_pthread.c
[98/486] Compiling thread.c
[99/486] Compiling a_digest.c
[100/486] Compiling voprf.c
[101/486] Compiling stack.c
[102/486] Compiling siphash.c
[103/486] Compiling thread_none.c
[105/486] Compiling secp256k1 secp256k1.swift
[106/486] Compiling BigInt Words and Bits.swift
[106/486] Compiling pmbtoken.c
[107/486] Compiling rsa_print.c
[108/486] Compiling windows.c
[110/486] Compiling secp256k1 SHA256.swift
[111/486] Compiling secp256k1 SafeCompare.swift
[112/486] Compiling secp256k1 Schnorr.swift
[113/486] Compiling secp256k1 SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[114/486] Compiling secp256k1 Signature.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[115/486] Compiling secp256k1 Tweak.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[116/486] Compiling secp256k1 Utility.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[117/486] Compiling secp256k1 PrettyBytes.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[118/486] Compiling secp256k1 RNG_boring.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[119/486] Compiling secp256k1 Recovery.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[119/486] Compiling refcount.c
[122/486] Compiling secp256k1 Zeroization.swift
[122/486] Compiling rsa_crypt.c
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[128/486] Compiling HsExtensions Timer.swift
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[129/487] Compiling secp256k1 Errors.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[130/487] Compiling secp256k1 Exports.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[131/487] Compiling secp256k1 HashDigest.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[131/487] Compiling rc4.c
[132/487] Compiling rsa_asn1.c
[133/487] Compiling trusty.c
[134/487] Compiling rand_extra.c
[135/487] Compiling getentropy.c
[137/487] Compiling secp256k1 Asymmetric.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[138/487] Compiling secp256k1 DH.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[139/487] Compiling secp256k1 Digest.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[140/487] Compiling secp256k1 ECDH.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[141/487] Compiling secp256k1 ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[142/487] Compiling secp256k1 EdDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[142/487] Compiling passive.c
[143/487] Compiling ios.c
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[146/487] Compiling deterministic.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[151/487] Emitting module HsExtensions
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[168/487] Compiling pool.c
[169/487] Compiling poly1305_vec.c
[170/487] Compiling poly1305_arm_asm.S
[174/487] Compiling poly1305_arm.c
[175/487] Compiling poly1305.c
[176/488] Compiling pkcs7.c
[178/488] Compiling p5_pbev2.c
[179/488] Compiling pem_xaux.c
[180/488] Compiling pkcs8.c
[181/488] Compiling pkcs7_x509.c
[182/488] Compiling pkcs8_x509.c
[183/488] Compiling pem_x509.c
[184/488] Compiling pem_pkey.c
[186/488] Compiling HsExtensions VarInt.swift
/host/spi-builder-workspace/.build/checkouts/HsExtensions.Swift/Sources/HsExtensions/AnyTask.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// A type-erased task that you can use to easily store in a collection of tasks, similar to Combine's `AnyCancellable`.
[186/488] Compiling pem_oth.c
[187/488] Compiling pem_pk8.c
[188/488] Compiling obj.c
[188/488] Compiling pem_lib.c
[188/488] Compiling pem_info.c
[188/488] Compiling obj_xref.c
[188/488] Compiling mem.c
[188/488] Compiling pem_all.c
BUILD FAILURE 6.2 wasm