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