The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Anchor, reference main (1b1d5a), with Swift 6.2 for Wasm on 5 Jan 2026 11:24:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

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