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 SRP, reference 3.2.1 (c01934), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 01:07:32 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/srp.git
Reference: 3.2.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/bouke/srp
 * tag               3.2.1      -> FETCH_HEAD
HEAD is now at c019344 Merge pull request #22 from Bouke/include-ios
Cloned https://github.com/bouke/srp.git
Revision (git rev-parse @):
c01934477cb0aa14b4da5c3cb61d447bd6393ce0
SUCCESS checkout https://github.com/bouke/srp.git at 3.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bouke/srp.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/attaswift/BigInt.git
Fetching https://github.com/apple/swift-crypto.git
[1/4807] Fetching bigint
[3751/20077] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (0.62s)
[3513/15270] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.94s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (3.27s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.45s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Building for debugging...
[0/409] Write sources
[2/409] Compiling bn_asn1.c
[3/409] Compiling convert.c
[4/409] Write swift-version-24593BA9C3E375BF.txt
[5/409] Compiling a_bitstr.c
[6/409] Compiling ec.c
[7/409] Compiling digests.c
[8/409] Compiling ec_montgomery.c
[9/409] Compiling ec_key.c
[10/409] Compiling v3_prn.c
[11/409] Compiling v3_pcons.c
[12/409] Compiling v3_purp.c
[13/409] Compiling v3_skey.c
[14/409] Compiling v3_pmaps.c
[15/409] Compiling CCryptoBoringSSLShims shims.c
[16/409] Compiling v3_utl.c
[17/409] Compiling v3_pcia.c
[18/409] Compiling v3_ocsp.c
[19/409] Compiling v3_ncons.c
[20/409] Compiling v3_int.c
[21/409] Compiling v3_lib.c
[22/409] Compiling v3_info.c
[23/409] Compiling v3_genn.c
[24/409] Compiling v3_pci.c
[25/409] Compiling v3_ia5.c
[26/409] Compiling v3_crld.c
[27/409] Compiling v3_extku.c
[28/409] Compiling v3_conf.c
[29/409] Compiling v3_enum.c
[30/409] Compiling v3_bcons.c
[31/409] Compiling v3_bitst.c
[32/409] Compiling v3_cpols.c
[33/409] Compiling v3_alt.c
[34/409] Compiling v3_akeya.c
[35/409] Compiling v3_akey.c
[36/409] Compiling pcy_tree.c
[37/409] Compiling pcy_data.c
[38/409] Compiling pcy_node.c
[39/409] Compiling pcy_map.c
[40/409] Compiling pcy_cache.c
[41/409] Compiling x_x509a.c
[42/409] Compiling x_spki.c
[43/409] Compiling x_val.c
[44/409] Compiling pcy_lib.c
[45/409] Compiling x_pubkey.c
[46/409] Compiling x_sig.c
[47/409] Compiling x_req.c
[48/409] Compiling x_x509.c
[49/409] Compiling x_exten.c
[49/409] Compiling x_pkey.c
[51/409] Compiling x_info.c
[52/409] Compiling x_name.c
[53/409] Compiling x_attrib.c
[54/409] Compiling x_algor.c
[55/409] Compiling x_crl.c
[56/409] Compiling x509rset.c
[57/409] Compiling x509spki.c
[58/409] Compiling x_all.c
[59/409] Compiling x509name.c
[60/409] Compiling x509cset.c
[61/409] Compiling x509_set.c
[62/409] Compiling x509_txt.c
[63/409] Compiling x509_vpm.c
[64/409] Compiling x509_trs.c
[65/409] Compiling x509_obj.c
[66/409] Compiling x509_req.c
[67/409] Compiling x509_v3.c
[68/409] Compiling x509_d2.c
[69/409] Compiling x509_vfy.c
[70/409] Compiling x509_def.c
[71/409] Compiling x509_att.c
[72/409] Compiling x509.c
[73/409] Compiling x509_ext.c
[74/409] Compiling x509_lu.c
[75/409] Compiling x509_cmp.c
[76/409] Compiling t_x509a.c
[77/409] Compiling i2d_pr.c
[78/409] Compiling t_x509.c
[79/409] Compiling by_file.c
[80/409] Compiling algorithm.c
[81/409] Compiling t_req.c
[82/409] Compiling t_crl.c
[83/409] Compiling rsa_pss.c
[84/409] Compiling a_strex.c
[85/409] Compiling by_dir.c
[86/409] Compiling a_verify.c
[87/409] Compiling thread_win.c
[88/409] Compiling thread_none.c
[89/409] Compiling trust_token.c
[90/409] Compiling thread.c
[91/409] Compiling thread_pthread.c
[92/409] Compiling siphash.c
[93/409] Compiling a_digest.c
[94/409] Compiling voprf.c
[95/409] Compiling stack.c
[96/409] Compiling a_sign.c
[97/409] Compiling rsa_print.c
[98/409] Compiling asn1_gen.c
[99/409] Compiling refcount_lock.c
[100/409] Compiling refcount_c11.c
[101/409] Compiling rc4.c
[102/409] Compiling pmbtoken.c
[103/409] Compiling windows.c
[104/409] Compiling rand_extra.c
[105/409] Compiling fuchsia.c
[106/409] Compiling deterministic.c
[107/409] Compiling rsa_asn1.c
[108/409] Compiling poly1305_arm_asm.S
[109/409] Compiling forkunsafe.c
[110/409] Compiling passive.c
[111/409] Compiling poly1305_vec.c
[112/409] Compiling poly1305_arm.c
[113/409] Compiling poly1305.c
[114/409] Compiling pool.c
[115/409] Compiling pkcs7.c
[116/409] Compiling pkcs8.c
[117/409] Compiling p5_pbev2.c
[118/409] Compiling pem_xaux.c
[119/409] Compiling pem_pkey.c
[119/409] Compiling pem_x509.c
[121/409] Compiling pkcs8_x509.c
[122/409] Compiling pkcs7_x509.c
[123/409] Compiling pem_pk8.c
[124/409] Compiling obj_xref.c
[125/409] Compiling lhash.c
[126/409] Compiling mem.c
[127/409] Compiling poly_rq_mul.S
[128/409] Compiling pem_oth.c
[129/409] Compiling obj.c
[130/409] Compiling pem_info.c
[131/409] Compiling hkdf.c
[132/409] Compiling x86_64-mont5.linux.x86_64.S
[133/409] Compiling x86_64-mont5.mac.x86_64.S
[134/409] Compiling hrss.c
[135/409] Compiling pem_all.c
[136/409] Compiling x86_64-mont.linux.x86_64.S
[137/409] Compiling x86-mont.linux.x86.S
[138/409] Compiling x86-mont.windows.x86.S
[139/409] Compiling pem_lib.c
[140/409] Compiling x86_64-mont.mac.x86_64.S
[141/409] Compiling vpaes-x86_64.mac.x86_64.S
[142/409] Compiling vpaes-x86_64.linux.x86_64.S
[143/409] Compiling vpaes-x86.windows.x86.S
[144/409] Compiling hpke.c
[145/409] Compiling vpaes-x86.linux.x86.S
[146/409] Compiling vpaes-armv8.ios.aarch64.S
[147/409] Compiling vpaes-armv7.linux.arm.S
[148/409] Compiling vpaes-armv8.linux.aarch64.S
[149/409] Compiling vpaes-armv7.ios.arm.S
[150/409] Compiling sha512-x86_64.mac.x86_64.S
[151/409] Compiling sha512-armv8.linux.aarch64.S
[152/409] Compiling sha512-x86_64.linux.x86_64.S
[153/409] Compiling sha512-armv4.linux.arm.S
[154/409] Compiling sha512-armv4.ios.arm.S
[155/409] Compiling sha512-armv8.ios.aarch64.S
[156/409] Compiling kdf.c
[157/409] Compiling sha512-586.windows.x86.S
[158/409] Compiling sha512-586.linux.x86.S
[159/409] Compiling sha256-x86_64.mac.x86_64.S
[160/409] Compiling sha256-x86_64.linux.x86_64.S
[161/409] Compiling sha256-armv8.linux.aarch64.S
[162/409] Compiling sha256-armv4.linux.arm.S
[163/409] Compiling sha256-586.linux.x86.S
[164/409] Compiling sha1-x86_64.linux.x86_64.S
[165/409] Compiling sha256-armv4.ios.arm.S
[166/409] Compiling sha1-x86_64.mac.x86_64.S
[167/409] Compiling sha256-armv8.ios.aarch64.S
[168/409] Compiling sha256-586.windows.x86.S
[168/409] Compiling sha1-armv8.linux.aarch64.S
[170/409] Compiling sha1-armv8.ios.aarch64.S
[171/409] Compiling sha1-armv4-large.linux.arm.S
[172/409] Compiling sha1-armv4-large.ios.arm.S
[173/409] Compiling sha1-586.linux.x86.S
[174/409] Compiling sha1-586.windows.x86.S
[175/409] Compiling sha1-altivec.c
[176/409] Compiling rsaz-avx2.linux.x86_64.S
[177/409] Compiling rsaz-avx2.mac.x86_64.S
[178/409] Compiling padding.c
[179/409] Compiling self_check.c
[180/409] Compiling sha512.c
[181/409] Compiling rdrand-x86_64.mac.x86_64.S
[182/409] Compiling sha256.c
[183/409] Compiling sha1.c
[184/409] Compiling rsa.c
[185/409] Compiling rdrand-x86_64.linux.x86_64.S
[186/409] Compiling blinding.c
[187/409] Compiling fork_detect.c
[188/409] Compiling urandom.c
[188/409] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[190/409] Compiling rand.c
[191/409] Compiling rsa_impl.c
[192/409] Compiling p256-x86_64-asm.mac.x86_64.S
[193/409] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[193/409] Compiling p256-x86_64-asm.linux.x86_64.S
[195/409] Compiling ctrdrbg.c
[196/409] Compiling polyval.c
[197/409] Compiling ofb.c
[198/409] Compiling gcm_nohw.c
[199/409] Compiling ctr.c
[200/409] Compiling cbc.c
[201/409] Compiling md5-x86_64.linux.x86_64.S
[202/409] Compiling gcm.c
[203/409] Compiling md5-x86_64.mac.x86_64.S
[204/409] Compiling cfb.c
[205/409] Compiling md5-586.windows.x86.S
[206/409] Compiling md5-586.linux.x86.S
[207/409] Compiling is_fips.c
[208/409] Compiling ghashv8-armx64.ios.aarch64.S
[209/409] Compiling md5.c
[210/409] Compiling ghashv8-armx64.linux.aarch64.S
[211/409] Compiling md4.c
[212/409] Compiling hmac.c
[213/409] Compiling ghash-x86_64.mac.x86_64.S
[214/409] Compiling ghashv8-armx32.linux.arm.S
[215/409] Compiling ghashv8-armx32.ios.arm.S
[216/409] Compiling ghash-x86.windows.x86.S
[217/409] Compiling ghash-x86_64.linux.x86_64.S
[218/409] Compiling ghash-x86.linux.x86.S
[219/409] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[220/409] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[221/409] Compiling fips_shared_support.c
[222/409] Compiling ghash-ssse3-x86.linux.x86.S
[223/409] Compiling ecdsa.c
[224/409] Compiling ecdh.c
[225/409] Compiling wnaf.c
[226/409] Compiling util.c
[227/409] Compiling ghash-armv4.ios.arm.S
[227/409] Compiling ghash-neon-armv8.ios.aarch64.S
[229/409] Compiling ghash-armv4.linux.arm.S
[230/409] Compiling ghash-neon-armv8.linux.aarch64.S
[231/409] Compiling simple.c
[232/409] Compiling ghash-ssse3-x86.windows.x86.S
[233/409] Compiling simple_mul.c
[234/409] Compiling p256-x86_64.c
[235/409] Compiling p224-64.c
[236/409] Compiling oct.c
[237/409] Compiling scalar.c
[238/409] Compiling felem.c
[239/409] Compiling digest.c
[240/409] Compiling co-586.linux.x86.S
[241/409] Compiling check.c
[242/409] Compiling co-586.windows.x86.S
[243/409] Compiling dh.c
[244/409] Compiling bsaes-armv7.linux.arm.S
[245/409] Compiling bsaes-armv7.ios.arm.S
[246/409] Compiling e_des.c
[247/409] Compiling aead.c
[248/409] Compiling sqrt.c
[249/409] Compiling des.c
[250/409] Compiling cipher.c
[251/409] Compiling rsaz_exp.c
[252/409] Compiling shift.c
[253/409] Compiling mul.c
[254/409] Compiling montgomery.c
[255/409] Compiling montgomery_inv.c
[256/409] Compiling prime.c
[256/409] Compiling random.c
[258/409] Compiling jacobi.c
[259/409] Compiling e_aes.c
[260/409] Compiling gcd_extra.c
[261/409] Compiling gcd.c
[262/409] Compiling p256.c
[263/409] Compiling div_extra.c
[264/409] Compiling cmp.c
[265/409] Compiling ctx.c
[266/409] Compiling bytes.c
[267/409] Compiling x86_64-gcc.c
[268/409] Compiling bn-586.linux.x86.S
[269/409] Compiling div.c
[270/409] Compiling exponentiation.c
[271/409] Compiling add.c
[272/409] Compiling bn-586.windows.x86.S
[272/409] Compiling armv8-mont.linux.aarch64.S
[274/409] Compiling bn.c
[275/409] Compiling generic.c
[276/409] Compiling armv8-mont.ios.aarch64.S
[277/409] Compiling armv4-mont.linux.arm.S
[278/409] Compiling aesv8-armx64.linux.aarch64.S
[279/409] Compiling armv4-mont.ios.arm.S
[279/409] Compiling aesv8-armx64.ios.aarch64.S
[281/409] Compiling aesv8-armx32.linux.arm.S
[282/409] Compiling aesni-x86_64.mac.x86_64.S
[283/409] Compiling aesv8-armx32.ios.arm.S
[284/409] Compiling aesni-x86.windows.x86.S
[285/409] Compiling aesni-gcm-x86_64.mac.x86_64.S
[286/409] Compiling aesni-x86_64.linux.x86_64.S
[287/409] Compiling aesni-gcm-x86_64.linux.x86_64.S
[288/409] Compiling mode_wrappers.c
[289/409] Compiling aesni-x86.linux.x86.S
[290/409] Compiling aes.c
[291/409] Compiling key_wrap.c
[292/409] Compiling pbkdf.c
[293/409] Compiling ex_data.c
[293/409] Compiling sign.c
[295/409] Compiling print.c
[296/409] Compiling aes_nohw.c
[297/409] Compiling scrypt.c
[298/409] Compiling p_x25519_asn1.c
[299/409] Compiling p_ed25519.c
[300/409] Compiling p_rsa_asn1.c
[301/409] Compiling p_x25519.c
[302/409] Compiling p_ed25519_asn1.c
[303/409] Compiling p_ec.c
[304/409] Compiling err_data.c
[305/409] Compiling evp_ctx.c
[306/409] Compiling p_rsa.c
[307/409] Compiling p_ec_asn1.c
[308/409] Compiling p_dsa_asn1.c
[309/409] Compiling engine.c
[310/409] Compiling digestsign.c
[311/409] Compiling evp.c
[312/409] Compiling evp_asn1.c
[313/409] Compiling err.c
[314/409] Compiling ecdh_extra.c
[315/409] Compiling ecdsa_asn1.c
[316/409] Compiling ec_asn1.c
[317/409] Compiling dsa_asn1.c
[318/409] Compiling ec_derive.c
[319/409] Compiling hash_to_curve.c
[320/409] Compiling params.c
[321/409] Compiling dh_asn1.c
[322/409] Compiling digest_extra.c
[322/409] Compiling dsa.c
[324/409] Compiling crypto.c
[325/409] Compiling spake25519.c
[326/409] Compiling x25519-asm-arm.S
[326/409] Compiling cpu-arm.c
[328/409] Compiling cpu-intel.c
[329/409] Compiling cpu-ppc64le.c
[330/409] Compiling cpu-arm-linux.c
[331/409] Compiling cpu-aarch64-win.c
[332/409] Compiling cpu-aarch64-linux.c
[333/409] Compiling e_rc4.c
[333/409] Compiling cpu-aarch64-fuchsia.c
[335/409] Compiling cmac.c
[336/409] Compiling e_tls.c
[337/409] Compiling tls_cbc.c
[338/409] Compiling e_null.c
[339/409] Compiling e_chacha20poly1305.c
[340/409] Compiling conf.c
[341/409] Compiling e_rc2.c
[342/409] Compiling e_aesctrhmac.c
[343/409] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[344/409] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[345/409] Compiling e_aesccm.c
[345/409] Compiling cipher_extra.c
[347/409] Compiling derive_key.c
[348/409] Compiling e_aesgcmsiv.c
[349/409] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[350/409] Compiling curve25519.c
[351/409] Compiling chacha-x86_64.linux.x86_64.S
[352/409] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[353/409] Compiling chacha.c
[354/409] Compiling chacha-x86_64.mac.x86_64.S
[355/409] Compiling chacha-x86.linux.x86.S
[356/409] Compiling chacha-x86.windows.x86.S
[357/409] Compiling unicode.c
[358/409] Compiling chacha-armv8.ios.aarch64.S
[359/409] Compiling chacha-armv8.linux.aarch64.S
[360/409] Compiling chacha-armv4.linux.arm.S
[361/409] Compiling chacha-armv4.ios.arm.S
[362/409] Compiling socket.c
[363/409] Compiling asn1_compat.c
[364/409] Compiling ber.c
[365/409] Compiling printf.c
[366/409] Compiling buf.c
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/socket_helper.c:28:10: fatal error: 'netdb.h' file not found
   28 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
[367/409] Compiling socket_helper.c
[367/409] Compiling cbs.c
[367/409] Compiling cbb.c
[367/409] Compiling blake2.c
[367/409] Compiling fd.c
[367/409] Compiling file.c
[367/409] Compiling hexdump.c
[367/409] Compiling pair.c
BUILD FAILURE 6.2 wasm