Build Information
Failed to build swift-crypto, reference main (80a6e3
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 00:19:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-cloud/swift-crypto.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/swift-cloud/swift-crypto
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 80a6e3e build: add `ARM64` spelling for Windows (#148)
Cloned https://github.com/swift-cloud/swift-crypto.git
Revision (git rev-parse @):
80a6e3edc1fc3a4c6c7d4177c73fa3f74c72d3e1
SUCCESS checkout https://github.com/swift-cloud/swift-crypto.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-cloud/swift-crypto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
[0/421] Write sources
[4/421] Write swift-version-24593BA9C3E375BF.txt
[5/421] Compiling a_dup.c
[6/421] Compiling a_d2i_fp.c
[7/421] Compiling a_gentm.c
[8/421] Compiling a_bool.c
[9/421] Compiling v3_skey.c
[10/421] Compiling v3_pmaps.c
[11/421] Compiling v3_prn.c
[12/421] Compiling v3_utl.c
[13/421] Compiling v3_pcons.c
[14/421] Compiling CCryptoBoringSSLShims shims.c
[15/421] Compiling v3_pcia.c
[16/421] Compiling v3_purp.c
[17/421] Compiling v3_ocsp.c
[18/421] Compiling v3_ncons.c
[19/421] Compiling v3_lib.c
[20/421] Compiling v3_pci.c
[21/421] Compiling v3_int.c
[22/421] Compiling v3_ia5.c
[23/421] Compiling v3_info.c
[24/421] Compiling v3_genn.c
[25/421] Compiling v3_enum.c
[26/421] Compiling v3_crld.c
[27/421] Compiling v3_cpols.c
[28/421] Compiling v3_extku.c
[29/421] Compiling v3_conf.c
[30/421] Compiling v3_akeya.c
[31/421] Compiling v3_bitst.c
[32/421] Compiling v3_bcons.c
[33/421] Compiling v3_alt.c
[34/421] Compiling pcy_tree.c
[35/421] Compiling v3_akey.c
[36/421] Compiling pcy_map.c
[37/421] Compiling pcy_cache.c
[38/421] Compiling pcy_data.c
[39/421] Compiling x_val.c
[40/421] Compiling x_x509a.c
[41/421] Compiling x_sig.c
[42/421] Compiling pcy_node.c
[43/421] Compiling x_spki.c
[44/421] Compiling x_name.c
[45/421] Compiling x_x509.c
[46/421] Compiling x_req.c
[47/421] Compiling x_pkey.c
[48/421] Compiling x_pubkey.c
[49/421] Compiling x_info.c
[50/421] Compiling x509spki.c
[51/421] Compiling x_exten.c
[52/421] Compiling x509name.c
[53/421] Compiling x509rset.c
[54/421] Compiling x_all.c
[55/421] Compiling x_algor.c
[56/421] Compiling x_attrib.c
[57/421] Compiling x_crl.c
[58/421] Compiling x509cset.c
[59/421] Compiling x509_txt.c
[60/421] Compiling x509_vpm.c
[61/421] Compiling x509_v3.c
[62/421] Compiling x509_req.c
[63/421] Compiling x509_set.c
[64/421] Compiling x509_vfy.c
[65/421] Compiling x509_obj.c
[66/421] Compiling x509_trs.c
[67/421] Compiling x509_lu.c
[68/421] Compiling x509_d2.c
[69/421] Compiling x509_def.c
[70/421] Compiling x509_att.c
[71/421] Compiling x509.c
[72/421] Compiling x509_ext.c
[73/421] Compiling t_x509.c
[74/421] Compiling t_x509a.c
[75/421] Compiling name_print.c
[76/421] Compiling t_req.c
[77/421] Compiling i2d_pr.c
[78/421] Compiling by_file.c
[79/421] Compiling x509_cmp.c
[80/421] Compiling rsa_pss.c
[81/421] Compiling by_dir.c
[82/421] Compiling t_crl.c
[83/421] Compiling a_verify.c
[84/421] Compiling algorithm.c
[85/421] Compiling asn1_gen.c
[86/421] Compiling a_sign.c
[87/421] Compiling thread_win.c
[88/421] Compiling thread.c
[89/421] Compiling a_digest.c
[90/421] Compiling thread_none.c
[91/421] Compiling voprf.c
[92/421] Compiling thread_pthread.c
[93/421] Compiling pmbtoken.c
[94/421] Compiling trust_token.c
[94/421] Compiling stack.c
[96/421] Compiling rsa_print.c
[96/421] Compiling siphash.c
[96/421] Compiling rsa_asn1.c
[99/421] Compiling rc4.c
[100/421] Compiling refcount_c11.c
[100/421] Compiling windows.c
[102/421] Compiling refcount_lock.c
[103/421] Compiling passive.c
[104/421] Compiling deterministic.c
[105/421] Compiling rand_extra.c
[106/421] Compiling fuchsia.c
[106/421] Compiling poly1305_vec.c
[108/421] Compiling forkunsafe.c
[109/421] Compiling poly1305_arm_asm.S
[110/421] Compiling pool.c
[111/421] Compiling poly1305_arm.c
[112/421] Compiling poly1305.c
[113/421] Compiling pkcs7.c
[114/421] Compiling pem_pkey.c
[115/421] Compiling pkcs8.c
[116/421] Compiling p5_pbev2.c
[117/421] Compiling pem_xaux.c
[118/421] Compiling pem_x509.c
[119/421] Compiling pkcs7_x509.c
[120/421] Compiling pkcs8_x509.c
[121/421] Compiling pem_pk8.c
[122/421] Compiling obj_xref.c
[123/421] Compiling pem_oth.c
[124/421] Compiling lhash.c
[125/421] Compiling pem_info.c
[126/421] Compiling mem.c
[127/421] Compiling poly_rq_mul.S
[128/421] Compiling hpke.c
[129/421] Compiling hkdf.c
[130/421] Compiling x86_64-mont5.mac.x86_64.S
[131/421] Compiling pem_lib.c
[132/421] Compiling pem_all.c
[133/421] Compiling x86_64-mont5.linux.x86_64.S
[134/421] Compiling x86-mont.windows.x86.S
[135/421] Compiling x86_64-mont.mac.x86_64.S
[135/421] Compiling obj.c
[137/421] Compiling x86-mont.linux.x86.S
[137/421] Compiling x86_64-mont.linux.x86_64.S
[139/421] Compiling hrss.c
[140/421] Compiling vpaes-x86.windows.x86.S
[141/421] Compiling vpaes-x86_64.linux.x86_64.S
[142/421] Compiling vpaes-armv8.linux.aarch64.S
[143/421] Compiling vpaes-x86_64.mac.x86_64.S
[144/421] Compiling vpaes-x86.linux.x86.S
[145/421] Compiling vpaes-armv8.ios.aarch64.S
[146/421] Compiling vpaes-armv7.linux.arm.S
[147/421] Compiling vpaes-armv7.ios.arm.S
[148/421] Compiling sha512-x86_64.mac.x86_64.S
[149/421] Compiling sha512-x86_64.linux.x86_64.S
[150/421] Compiling kdf.c
[151/421] Compiling sha512-armv8.linux.aarch64.S
[152/421] Compiling sha512-armv8.ios.aarch64.S
[153/421] Compiling sha256-armv8.linux.aarch64.S
[154/421] Compiling sha512-armv4.linux.arm.S
[155/421] Compiling sha512-586.linux.x86.S
[156/421] Compiling sha512-armv4.ios.arm.S
[157/421] Compiling sha256-x86_64.linux.x86_64.S
[158/421] Compiling sha512-586.windows.x86.S
[159/421] Compiling sha256-armv8.ios.aarch64.S
[160/421] Compiling sha256-armv4.linux.arm.S
[160/421] Compiling sha256-x86_64.mac.x86_64.S
[162/421] Compiling sha256-586.linux.x86.S
[163/421] Compiling sha256-armv4.ios.arm.S
[164/421] Compiling sha256-586.windows.x86.S
[165/421] Compiling sha1-x86_64.mac.x86_64.S
[166/421] Compiling sha1-armv4-large.linux.arm.S
[167/421] Compiling sha1-armv8.linux.aarch64.S
[168/421] Compiling sha1-x86_64.linux.x86_64.S
[169/421] Compiling sha1-armv8.ios.aarch64.S
[170/421] Compiling sha1-armv4-large.ios.arm.S
[171/421] Compiling sha1-586.windows.x86.S
[172/421] Compiling sha1-586.linux.x86.S
[173/421] Compiling sha256.c
[174/421] Compiling sha512.c
[175/421] Compiling sha1-altivec.c
[176/421] Compiling rsaz-avx2.mac.x86_64.S
[177/421] Compiling fips.c
[178/421] Compiling sha1.c
[179/421] Compiling rsaz-avx2.linux.x86_64.S
[180/421] Compiling rdrand-x86_64.mac.x86_64.S
[181/421] Compiling service_indicator.c
[182/421] Compiling rdrand-x86_64.linux.x86_64.S
[182/421] Compiling blinding.c
[184/421] Compiling urandom.c
[185/421] Compiling fork_detect.c
[185/421] Compiling self_check.c
[187/421] Compiling rsa.c
[188/421] Compiling rand.c
[189/421] Compiling padding.c
[190/421] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[191/421] Compiling rsa_impl.c
[192/421] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[193/421] Compiling p256_beeu-armv8-asm.ios.aarch64.S
[194/421] Compiling p256_beeu-armv8-asm.linux.aarch64.S
[195/421] Compiling p256-x86_64-asm.mac.x86_64.S
[196/421] Compiling p256-x86_64-asm.linux.x86_64.S
[197/421] Compiling ctrdrbg.c
[198/421] Compiling p256-armv8-asm.linux.aarch64.S
[199/421] Compiling polyval.c
[200/421] Compiling p256-armv8-asm.ios.aarch64.S
[201/421] Compiling ofb.c
[202/421] Compiling ctr.c
[203/421] Compiling md5-x86_64.mac.x86_64.S
[204/421] Compiling gcm_nohw.c
[205/421] Compiling cbc.c
[206/421] Compiling cfb.c
[207/421] Compiling gcm.c
[208/421] Compiling md5-x86_64.linux.x86_64.S
[209/421] Compiling md5-586.windows.x86.S
[210/421] Compiling md5.c
[211/421] Compiling md5-586.linux.x86.S
[212/421] Compiling ghashv8-armx64.ios.aarch64.S
[213/421] Compiling ghashv8-armx32.ios.arm.S
[214/421] Compiling ghashv8-armx64.linux.aarch64.S
[215/421] Compiling hmac.c
[216/421] Compiling md4.c
[217/421] Compiling ghash-x86_64.linux.x86_64.S
[218/421] Compiling ghashv8-armx32.linux.arm.S
[219/421] Compiling ghash-x86.windows.x86.S
[220/421] Compiling ghash-x86_64.mac.x86_64.S
[221/421] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[222/421] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[223/421] Compiling ghash-ssse3-x86.windows.x86.S
[224/421] Compiling ghash-x86.linux.x86.S
[225/421] Compiling ghash-neon-armv8.linux.aarch64.S
[226/421] Compiling ghash-ssse3-x86.linux.x86.S
[227/421] Compiling ghash-neon-armv8.ios.aarch64.S
[228/421] Compiling fips_shared_support.c
[229/421] Compiling ghash-armv4.linux.arm.S
[230/421] Compiling ghash-armv4.ios.arm.S
[231/421] Compiling ecdh.c
[232/421] Compiling ecdsa.c
[233/421] Compiling util.c
[234/421] Compiling wnaf.c
[235/421] Compiling simple_mul.c
[236/421] Compiling scalar.c
[237/421] Compiling simple.c
[238/421] Compiling p224-64.c
[239/421] Compiling p256-nistz.c
[240/421] Compiling oct.c
[241/421] Compiling felem.c
[242/421] Compiling ec_key.c
[243/421] Compiling ec_montgomery.c
[244/421] Compiling co-586.windows.x86.S
[245/421] Compiling digestsign.c
[246/421] Compiling ec.c
[246/421] Compiling digest.c
[248/421] Compiling check.c
[248/421] Compiling digests.c
[250/421] Compiling dh.c
[251/421] Compiling co-586.linux.x86.S
[252/421] Compiling bsaes-armv7.linux.arm.S
[253/421] Compiling cmac.c
[254/421] Compiling e_aesccm.c
[255/421] Compiling aead.c
[256/421] Compiling bsaes-armv7.ios.arm.S
[257/421] Compiling sqrt.c
[258/421] Compiling cipher.c
[259/421] Compiling rsaz_exp.c
[260/421] Compiling shift.c
[261/421] Compiling random.c
[262/421] Compiling e_aes.c
[263/421] Compiling montgomery_inv.c
[264/421] Compiling prime.c
[265/421] Compiling montgomery.c
[266/421] Compiling jacobi.c
[267/421] Compiling mul.c
[268/421] Compiling p256.c
[269/421] Compiling gcd_extra.c
[270/421] Compiling div_extra.c
[271/421] Compiling gcd.c
[272/421] Compiling ctx.c
[273/421] Compiling x86_64-gcc.c
[274/421] Compiling exponentiation.c
[275/421] Compiling generic.c
[276/421] Compiling bn-586.windows.x86.S
[277/421] Compiling cmp.c
[278/421] Compiling div.c
[279/421] Compiling bytes.c
[280/421] Compiling bn.c
[281/421] Compiling add.c
[282/421] Compiling bn-586.linux.x86.S
[283/421] Compiling armv8-mont.linux.aarch64.S
[284/421] Compiling armv8-mont.ios.aarch64.S
[285/421] Compiling armv4-mont.linux.arm.S
[286/421] Compiling aesv8-gcm-armv8.ios.aarch64.S
[287/421] Compiling armv4-mont.ios.arm.S
[288/421] Compiling aesv8-gcm-armv8.linux.aarch64.S
[289/421] Compiling aesv8-armx32.linux.arm.S
[289/421] Compiling aesni-x86.windows.x86.S
[291/421] Compiling aesv8-armx64.linux.aarch64.S
[292/421] Compiling aesv8-armx32.ios.arm.S
[293/421] Compiling aesni-x86_64.mac.x86_64.S
[294/421] Compiling aesv8-armx64.ios.aarch64.S
[295/421] Compiling aesni-x86_64.linux.x86_64.S
[296/421] Compiling aesni-x86.linux.x86.S
[297/421] Compiling aesni-gcm-x86_64.linux.x86_64.S
[298/421] Compiling aesni-gcm-x86_64.mac.x86_64.S
[299/421] Compiling key_wrap.c
[300/421] Compiling mode_wrappers.c
[301/421] Compiling sign.c
[302/421] Compiling aes.c
[303/421] Compiling ex_data.c
[304/421] Compiling pbkdf.c
[305/421] Compiling scrypt.c
[306/421] Compiling aes_nohw.c
[307/421] Compiling print.c
[308/421] Compiling p_x25519.c
[309/421] Compiling p_x25519_asn1.c
[310/421] Compiling p_rsa_asn1.c
[311/421] Compiling p_rsa.c
[312/421] Compiling p_hkdf.c
[313/421] Compiling p_ed25519.c
[314/421] Compiling p_ec_asn1.c
[315/421] Compiling p_dsa_asn1.c
[316/421] Compiling p_ed25519_asn1.c
[317/421] Compiling err_data.c
[318/421] Compiling p_ec.c
[319/421] Compiling evp_ctx.c
[320/421] Compiling engine.c
[321/421] Compiling evp.c
[322/421] Compiling err.c
[323/421] Compiling ecdsa_asn1.c
[324/421] Compiling evp_asn1.c
[325/421] Compiling ecdh_extra.c
[326/421] Compiling ec_derive.c
[327/421] Compiling hash_to_curve.c
[328/421] Compiling ec_asn1.c
[329/421] Compiling dh_asn1.c
[330/421] Compiling dsa_asn1.c
[331/421] Compiling dsa.c
[332/421] Compiling params.c
[333/421] Compiling x25519-asm-arm.S
[334/421] Compiling cpu_intel.c
[335/421] Compiling cpu_ppc64le.c
[336/421] Compiling digest_extra.c
[337/421] Compiling spake25519.c
[338/421] Compiling crypto.c
[339/421] Compiling cpu_arm_linux.c
[340/421] Compiling cpu_arm.c
[341/421] Compiling cpu_arm_freebsd.c
[342/421] Compiling cpu_aarch64_linux.c
[343/421] Compiling cpu_aarch64_win.c
[344/421] Compiling cpu_aarch64_freebsd.c
[345/421] Compiling cpu_aarch64_fuchsia.c
[346/421] Compiling des.c
[347/421] Compiling cpu_aarch64_apple.c
[348/421] Compiling e_rc4.c
[349/421] Compiling e_null.c
[350/421] Compiling e_tls.c
[351/421] Compiling tls_cbc.c
[352/421] Compiling e_rc2.c
[353/421] Compiling conf.c
[354/421] Compiling e_des.c
[355/421] Compiling derive_key.c
[356/421] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[357/421] Compiling e_aesgcmsiv.c
[358/421] Compiling e_chacha20poly1305.c
[359/421] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[359/421] Compiling cipher_extra.c
[361/421] Compiling chacha20_poly1305_armv8.linux.aarch64.S
[362/421] Compiling e_aesctrhmac.c
[363/421] Compiling chacha20_poly1305_armv8.ios.aarch64.S
[364/421] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[365/421] Compiling chacha-x86_64.mac.x86_64.S
[366/421] Compiling chacha-x86_64.linux.x86_64.S
[366/421] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[368/421] Compiling chacha.c
[369/421] Compiling chacha-x86.windows.x86.S
[370/421] Compiling chacha-x86.linux.x86.S
[371/421] Compiling curve25519.c
[372/421] Compiling chacha-armv8.linux.aarch64.S
[372/421] Compiling chacha-armv8.ios.aarch64.S
[374/421] Compiling chacha-armv4.linux.arm.S
[375/421] Compiling unicode.c
[376/421] Compiling chacha-armv4.ios.arm.S
[377/421] Compiling buf.c
[378/421] Compiling ber.c
[379/421] Compiling cbb.c
[380/421] Compiling convert.c
[381/421] Compiling asn1_compat.c
[382/421] Compiling bn_asn1.c
[383/421] Compiling printf.c
[384/421] Compiling blake2.c
[385/421] Compiling hexdump.c
[386/421] Compiling cbs.c
[387/421] Compiling fd.c
[388/421] Compiling file.c
[389/421] Compiling pair.c
[390/421] Compiling base64.c
[391/421] Compiling bio_mem.c
[392/421] Compiling bio.c
[393/421] Compiling tasn_fre.c
[394/421] Compiling tasn_utl.c
[395/421] Compiling tasn_new.c
[396/421] Compiling tasn_typ.c
[397/421] Compiling posix_time.c
[398/421] Compiling tasn_enc.c
[399/421] Compiling f_string.c
[400/421] Compiling tasn_dec.c
[401/421] Compiling f_int.c
[401/421] Compiling asn_pack.c
[403/421] Compiling asn1_par.c
[404/421] Compiling a_type.c
[405/421] Compiling a_utctm.c
[406/421] Compiling asn1_lib.c
[407/421] Compiling a_time.c
[408/421] Compiling a_octet.c
[409/421] Compiling a_strnid.c
[410/421] Compiling a_strex.c
[410/421] Compiling a_i2d_fp.c
[412/421] Compiling a_mbstr.c
[413/421] Compiling a_object.c
[414/421] Compiling a_int.c
[415/421] Compiling a_bitstr.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[417/424] Emitting module CryptoBoringWrapper
/host/spi-builder-workspace/Sources/CryptoBoringWrapper/AEAD/BoringSSLAEAD.swift:17:8: error: no such module 'Foundation'
15 | @_implementationOnly import CCryptoBoringSSL
16 | @_implementationOnly import CCryptoBoringSSLShims
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | /// An abstraction over a BoringSSL AEAD
[418/424] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
/host/spi-builder-workspace/Sources/CryptoBoringWrapper/AEAD/BoringSSLAEAD.swift:17:8: error: no such module 'Foundation'
15 | @_implementationOnly import CCryptoBoringSSL
16 | @_implementationOnly import CCryptoBoringSSLShims
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | /// An abstraction over a BoringSSL AEAD
[419/424] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
/host/spi-builder-workspace/Sources/CryptoBoringWrapper/AEAD/BoringSSLAEAD.swift:17:8: error: no such module 'Foundation'
15 | @_implementationOnly import CCryptoBoringSSL
16 | @_implementationOnly import CCryptoBoringSSLShims
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | /// An abstraction over a BoringSSL AEAD
BUILD FAILURE 6.2 wasm