The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PassEncoder, reference main (40f22d), with Swift 6.3 for Wasm on 18 Apr 2026 01:13:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aydenp/passencoder.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/aydenp/passencoder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 40f22d5 No longer maintained
Cloned https://github.com/aydenp/passencoder.git
Revision (git rev-parse @):
40f22d567f43e1c1d16cdd84061c0601b1f83c4c
SUCCESS checkout https://github.com/aydenp/passencoder.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/aydenp/passencoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/5963] Fetching zipfoundation
[717/23370] Fetching zipfoundation, swift-crypto
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (3.04s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.09s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (3.67s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.57s)
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/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/409] Write sources
[3/409] Compiling a_d2i_fp.c
[3/409] Compiling dsa_asn1.c
[5/409] Compiling a_bool.c
[6/409] Compiling ec_asn1.c
[7/409] Write swift-version-24593BA9C3E375BF.txt
[8/409] Compiling v3_skey.c
[9/409] Compiling CCryptoBoringSSLShims shims.c
[10/409] Compiling v3_utl.c
[11/410] Compiling v3_pcia.c
[12/419] Compiling v3_pmaps.c
[13/427] Compiling v3_purp.c
[14/429] Compiling v3_pcons.c
[15/429] Compiling v3_prn.c
[16/429] Compiling v3_pci.c
[17/429] Compiling v3_lib.c
[18/429] Compiling v3_ocsp.c
[19/429] Compiling v3_int.c
[20/429] Compiling v3_info.c
[21/429] Compiling v3_ncons.c
[22/429] Compiling v3_ia5.c
[23/429] Compiling v3_genn.c
[24/429] Compiling v3_extku.c
[25/429] Compiling v3_enum.c
[26/429] Compiling v3_conf.c
[27/429] Compiling v3_crld.c
[28/429] Compiling v3_cpols.c
[29/429] Compiling v3_bitst.c
[30/429] Compiling v3_akey.c
[31/429] Compiling v3_bcons.c
[32/429] Compiling v3_akeya.c
[33/429] Compiling pcy_node.c
[34/429] Compiling pcy_lib.c
[35/429] Compiling v3_alt.c
[36/429] Compiling pcy_data.c
[37/429] Compiling pcy_tree.c
[38/429] Compiling pcy_cache.c
[39/429] Compiling pcy_map.c
[40/429] Compiling x_x509a.c
[41/429] Compiling x_val.c
[42/429] Compiling x_x509.c
[43/429] Compiling x_sig.c
[44/429] Compiling x_pubkey.c
[45/429] Compiling x_spki.c
[46/429] Compiling x_pkey.c
[47/429] Compiling x_req.c
[48/429] Compiling x_name.c
[49/429] Compiling x_exten.c
[50/429] Compiling x_info.c
[51/429] Compiling x_attrib.c
[52/429] Compiling x_crl.c
[53/429] Compiling x509spki.c
[54/429] Compiling x_algor.c
[55/429] Compiling x_all.c
[56/429] Compiling x509rset.c
[57/429] Compiling x509cset.c
[58/429] Compiling x509name.c
[59/429] Compiling x509_vpm.c
[60/429] Compiling x509_txt.c
[61/429] Compiling x509_v3.c
[62/429] Compiling x509_req.c
[63/429] Compiling x509_set.c
[64/429] Compiling x509_vfy.c
[65/429] Compiling x509_trs.c
[66/429] Compiling x509_d2.c
[67/429] Compiling x509_def.c
[68/429] Compiling x509_obj.c
[69/429] Compiling x509_lu.c
[70/429] Compiling x509_cmp.c
[71/429] Compiling x509_ext.c
[72/429] Compiling x509_att.c
[73/429] Compiling x509.c
[74/429] Compiling t_x509a.c
[75/429] Compiling i2d_pr.c
[76/429] Compiling rsa_pss.c
[77/429] Compiling by_file.c
[78/429] Compiling t_x509.c
[79/429] Compiling t_req.c
[80/429] Compiling t_crl.c
[81/429] Compiling asn1_gen.c
[82/429] Compiling by_dir.c
[83/429] Compiling algorithm.c
[84/429] Compiling a_strex.c
[85/429] Compiling a_verify.c
[86/429] Compiling a_digest.c
[87/429] Compiling a_sign.c
[88/429] Compiling thread_win.c
[89/429] Compiling thread_pthread.c
[90/429] Compiling thread.c
[91/429] Compiling thread_none.c
[91/429] Compiling voprf.c
[93/429] Compiling trust_token.c
[94/429] Compiling siphash.c
[94/429] Compiling stack.c
[96/429] Compiling rsa_print.c
[97/429] Compiling refcount_c11.c
[97/429] Compiling refcount_lock.c
[99/429] Compiling rc4.c
[100/429] Compiling rsa_asn1.c
[101/429] Compiling windows.c
[101/429] Compiling pmbtoken.c
[103/429] Compiling fuchsia.c
[104/429] Compiling rand_extra.c
[105/429] Compiling deterministic.c
[106/429] Compiling forkunsafe.c
[107/429] Compiling poly1305_vec.c
[108/429] Compiling passive.c
[109/429] Compiling pool.c
[110/429] Compiling poly1305_arm.c
[111/429] Compiling poly1305.c
[112/429] Compiling poly1305_arm_asm.S
[113/429] Compiling pkcs7.c
[114/429] Compiling p5_pbev2.c
[115/429] Compiling pem_xaux.c
[116/429] Compiling pkcs8_x509.c
[117/429] Compiling pem_x509.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[119/429] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
[119/431] Compiling pkcs8.c
[119/431] Compiling pkcs7_x509.c
[121/431] Compiling pem_pkey.c
[122/431] Compiling pem_pk8.c
[123/431] Compiling pem_oth.c
[124/431] Compiling obj_xref.c
[125/431] Compiling mem.c
[126/431] Compiling pem_lib.c
[126/431] Compiling lhash.c
[128/431] Compiling pem_info.c
[128/431] Compiling pem_all.c
[130/431] Compiling obj.c
[131/431] Compiling hkdf.c
[132/431] Compiling hpke.c
[133/431] Compiling hrss.c
[134/431] Compiling poly_rq_mul.S
[135/431] Compiling x86_64-mont5.linux.x86_64.S
[136/431] Compiling x86_64-mont5.mac.x86_64.S
[137/431] Compiling x86_64-mont.mac.x86_64.S
[138/431] Compiling x86_64-mont.linux.x86_64.S
[139/431] Compiling x86-mont.windows.x86.S
[140/431] Compiling x86-mont.linux.x86.S
[141/431] Compiling vpaes-x86_64.linux.x86_64.S
[142/431] Compiling vpaes-x86_64.mac.x86_64.S
[142/431] Compiling vpaes-x86.windows.x86.S
[144/431] Compiling vpaes-x86.linux.x86.S
[145/431] Compiling vpaes-armv8.linux.aarch64.S
[146/431] Compiling vpaes-armv8.ios.aarch64.S
[147/431] Compiling vpaes-armv7.linux.arm.S
[148/431] Compiling sha512-x86_64.mac.x86_64.S
[149/431] Compiling sha512-x86_64.linux.x86_64.S
[150/431] Compiling kdf.c
[151/431] Compiling sha512-armv8.ios.aarch64.S
[152/431] Compiling vpaes-armv7.ios.arm.S
[153/431] Compiling sha512-armv8.linux.aarch64.S
[154/431] Compiling sha512-armv4.linux.arm.S
[155/431] Compiling sha512-armv4.ios.arm.S
[156/431] Compiling sha512-586.windows.x86.S
[157/431] Compiling sha512-586.linux.x86.S
[158/431] Compiling sha256-x86_64.mac.x86_64.S
[159/431] Compiling sha256-armv8.ios.aarch64.S
[160/431] Compiling sha256-x86_64.linux.x86_64.S
[161/431] Compiling sha256-armv8.linux.aarch64.S
[162/431] Compiling sha256-armv4.ios.arm.S
[163/431] Compiling sha256-armv4.linux.arm.S
[164/431] Compiling sha256-586.linux.x86.S
[165/431] Compiling sha1-x86_64.mac.x86_64.S
[166/431] Compiling sha256-586.windows.x86.S
[167/431] Compiling sha1-x86_64.linux.x86_64.S
[168/431] Compiling sha1-armv8.ios.aarch64.S
[169/431] Compiling sha1-armv8.linux.aarch64.S
[170/431] Compiling sha1-armv4-large.linux.arm.S
[171/431] Compiling sha1-armv4-large.ios.arm.S
[171/431] Compiling sha1-586.linux.x86.S
[173/431] Compiling sha1-586.windows.x86.S
[174/431] Compiling sha1-altivec.c
[175/431] Compiling rsaz-avx2.mac.x86_64.S
[175/431] Compiling rsaz-avx2.linux.x86_64.S
[177/431] Compiling sha512.c
[178/431] Compiling sha1.c
[178/431] Compiling sha256.c
[180/431] Compiling padding.c
[181/431] Compiling rsa_impl.c
[182/431] Compiling self_check.c
[183/431] Compiling blinding.c
[183/431] Compiling rdrand-x86_64.mac.x86_64.S
[185/431] Compiling rsa.c
[186/431] Compiling fork_detect.c
[187/431] Compiling rand.c
[188/431] Compiling rdrand-x86_64.linux.x86_64.S
[189/431] Compiling urandom.c
[190/431] Compiling ctrdrbg.c
[191/431] Compiling polyval.c
[192/431] Compiling ofb.c
[193/431] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[194/431] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[195/431] Compiling gcm.c
[196/431] Compiling p256-x86_64-asm.mac.x86_64.S
[197/431] Compiling p256-x86_64-asm.linux.x86_64.S
[198/431] Compiling gcm_nohw.c
[199/431] Compiling cbc.c
[200/431] Compiling cfb.c
[201/431] Compiling ctr.c
[202/431] Compiling is_fips.c
[203/431] Compiling md5.c
[204/431] Compiling md4.c
[205/431] Compiling hmac.c
[206/431] Compiling md5-x86_64.linux.x86_64.S
[207/431] Compiling md5-x86_64.mac.x86_64.S
[208/431] Compiling ghashv8-armx64.linux.aarch64.S
[208/431] Compiling ghashv8-armx32.linux.arm.S
[210/431] Compiling md5-586.windows.x86.S
[211/431] Compiling md5-586.linux.x86.S
[211/431] Compiling ghashv8-armx64.ios.aarch64.S
[213/431] Compiling ghashv8-armx32.ios.arm.S
[213/431] Compiling ghash-x86_64.linux.x86_64.S
[213/431] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[216/431] Compiling ghash-x86_64.mac.x86_64.S
[217/431] Compiling ghash-x86.linux.x86.S
[217/431] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[217/431] Compiling ghash-x86.windows.x86.S
[220/431] Compiling fips_shared_support.c
[221/431] Compiling ghash-ssse3-x86.linux.x86.S
[222/431] Compiling ghash-ssse3-x86.windows.x86.S
[223/431] Compiling ghash-neon-armv8.ios.aarch64.S
[224/431] Compiling ghash-armv4.linux.arm.S
[225/431] Compiling ghash-armv4.ios.arm.S
[226/431] Compiling ghash-neon-armv8.linux.aarch64.S
[227/431] Compiling ecdh.c
[228/431] Compiling ecdsa.c
[229/431] Compiling util.c
[230/431] Compiling simple.c
[231/431] Compiling simple_mul.c
[232/431] Compiling wnaf.c
[233/431] Compiling scalar.c
[234/431] Compiling p224-64.c
[235/431] Compiling p256-x86_64.c
[236/431] Compiling oct.c
[237/431] Compiling felem.c
[238/431] Compiling ec_montgomery.c
[239/431] Compiling ec_key.c
[240/431] Compiling check.c
[241/431] Compiling digests.c
[241/431] Compiling digest.c
[243/431] Compiling dh.c
[244/431] Compiling co-586.windows.x86.S
[245/431] Compiling co-586.linux.x86.S
[246/431] Compiling ec.c
[247/431] Compiling des.c
[248/431] Compiling e_des.c
[249/431] Compiling cipher.c
[250/431] Compiling bsaes-armv7.linux.arm.S
[251/431] Compiling aead.c
[252/431] Compiling bsaes-armv7.ios.arm.S
[253/431] Compiling e_aes.c
[254/431] Compiling rsaz_exp.c
[255/431] Compiling shift.c
[256/431] Compiling sqrt.c
[257/431] Compiling random.c
[258/431] Compiling montgomery_inv.c
[259/431] Compiling mul.c
[260/431] Compiling jacobi.c
[261/431] Compiling prime.c
[261/431] Compiling p256.c
[261/431] Compiling montgomery.c
[264/431] Compiling gcd_extra.c
[265/431] Compiling gcd.c
[266/431] Compiling div_extra.c
[267/431] Compiling ctx.c
[268/431] Compiling generic.c
[269/431] Compiling exponentiation.c
[270/431] Compiling cmp.c
[271/431] Compiling x86_64-gcc.c
[272/431] Compiling bn-586.windows.x86.S
[273/431] Compiling armv8-mont.linux.aarch64.S
[274/431] Compiling bytes.c
[275/431] Compiling div.c
[276/431] Compiling bn.c
[277/431] Compiling bn-586.linux.x86.S
[278/431] Compiling add.c
[279/431] Compiling armv4-mont.linux.arm.S
[279/431] Compiling armv4-mont.ios.arm.S
[281/431] Compiling armv8-mont.ios.aarch64.S
[282/431] Compiling aesv8-armx64.linux.aarch64.S
[283/431] Compiling aesv8-armx64.ios.aarch64.S
[284/431] Compiling aesv8-armx32.linux.arm.S
[285/431] Compiling aesv8-armx32.ios.arm.S
[286/431] Compiling aesni-x86_64.mac.x86_64.S
[287/431] Compiling aesni-x86.linux.x86.S
[288/431] Compiling aesni-x86_64.linux.x86_64.S
[289/431] Compiling aesni-gcm-x86_64.linux.x86_64.S
[290/431] Compiling aesni-gcm-x86_64.mac.x86_64.S
[291/431] Compiling aesni-x86.windows.x86.S
[292/431] Compiling mode_wrappers.c
[293/431] Compiling key_wrap.c
[294/431] Compiling aes.c
[295/431] Compiling ex_data.c
[296/431] Compiling sign.c
[296/431] Compiling pbkdf.c
[298/431] Compiling scrypt.c
[299/431] Compiling aes_nohw.c
[300/431] Compiling p_x25519.c
[301/431] Compiling p_x25519_asn1.c
[302/431] Compiling print.c
[303/431] Compiling p_rsa_asn1.c
[304/431] Compiling p_rsa.c
[305/431] Compiling p_ec_asn1.c
[306/431] Compiling p_ed25519.c
[307/431] Compiling p_ed25519_asn1.c
[308/431] Compiling p_ec.c
[309/431] Compiling err_data.c
[310/431] Compiling p_dsa_asn1.c
[311/431] Compiling evp.c
[312/431] Compiling digestsign.c
[313/431] Compiling evp_ctx.c
[314/431] Compiling engine.c
[315/431] Compiling evp_asn1.c
[316/431] Compiling ecdsa_asn1.c
[317/431] Compiling err.c
[318/431] Compiling ecdh_extra.c
[319/431] Compiling ec_derive.c
[320/431] Compiling hash_to_curve.c
[321/431] Compiling params.c
[322/431] Compiling digest_extra.c
[323/431] Compiling dsa.c
[324/431] Compiling dh_asn1.c
[325/431] Compiling x25519-asm-arm.S
[326/431] Compiling spake25519.c
[327/431] Compiling cpu-ppc64le.c
[328/431] Compiling crypto.c
[329/431] Compiling cpu-intel.c
[330/431] Compiling cpu-arm.c
[331/431] Compiling cpu-arm-linux.c
[332/431] Compiling cpu-aarch64-win.c
[333/431] Compiling cpu-aarch64-linux.c
[334/431] Compiling cpu-aarch64-fuchsia.c
[335/431] Compiling cmac.c
[336/431] Compiling tls_cbc.c
[337/431] Compiling e_rc4.c
[338/431] Compiling e_tls.c
[339/431] Compiling curve25519.c
[340/431] Compiling e_rc2.c
[341/431] Compiling derive_key.c
[342/431] Compiling e_null.c
[343/431] Compiling e_aesctrhmac.c
[344/431] Compiling e_chacha20poly1305.c
[345/431] Compiling conf.c
[346/431] Compiling cipher_extra.c
[347/431] Compiling e_aesccm.c
[347/431] Compiling e_aesgcmsiv.c
[349/431] Compiling chacha.c
[350/431] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[351/431] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[352/431] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[353/431] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[354/431] Compiling chacha-x86_64.linux.x86_64.S
[355/431] Compiling chacha-x86.linux.x86.S
[356/431] Compiling chacha-x86.windows.x86.S
[357/431] Compiling unicode.c
[358/431] Compiling cbs.c
[359/431] Compiling chacha-x86_64.mac.x86_64.S
[360/431] Compiling chacha-armv8.linux.aarch64.S
[361/431] Compiling chacha-armv4.linux.arm.S
[362/431] Compiling cbb.c
[363/431] Compiling ber.c
[364/431] Compiling chacha-armv8.ios.aarch64.S
[364/431] Compiling asn1_compat.c
[366/431] Compiling chacha-armv4.ios.arm.S
[367/431] Compiling bn_asn1.c
[368/431] Compiling convert.c
[369/431] Compiling socket.c
[370/431] 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.
[371/431] Compiling socket_helper.c
[371/431] Compiling fd.c
[371/431] Compiling file.c
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
[371/431] Compiling blake2.c
[371/431] Compiling hexdump.c
[371/431] Compiling pair.c
[371/431] Compiling printf.c
BUILD FAILURE 6.3 wasm