The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PassEncoder, reference main (40f22d), with Swift 6.2 for Android on 1 Jan 2026 05:50:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/aydenp/passencoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/apple/swift-crypto.git
[1/5816] Fetching zipfoundation
[2444/23276] Fetching zipfoundation, swift-crypto
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (0.58s)
[1746/17460] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.12s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (3.19s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (0.54s)
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
[4/409] Write swift-version-2B04F66FBCF4E350.txt
[4/409] Compiling a_gentm.c
[6/409] Compiling a_dup.c
[7/409] Compiling a_enum.c
[8/419] Compiling x_req.c
[9/427] Compiling x_pubkey.c
[10/429] Compiling CCryptoBoringSSLShims shims.c
[11/429] Compiling v3_skey.c
[12/429] Compiling v3_utl.c
[13/429] Compiling v3_prn.c
[14/429] Compiling v3_purp.c
[15/429] Compiling v3_pcons.c
[16/429] Compiling v3_pmaps.c
[16/429] Compiling v3_pcia.c
[18/429] Compiling v3_pci.c
[19/429] Compiling v3_ocsp.c
[20/429] Compiling v3_ncons.c
[21/429] Compiling v3_int.c
[21/429] Compiling v3_lib.c
[23/429] Compiling v3_ia5.c
[24/429] Compiling v3_extku.c
[25/429] Compiling v3_info.c
[26/429] Compiling v3_genn.c
[27/429] Compiling v3_enum.c
[28/429] Compiling v3_cpols.c
[29/429] Compiling v3_crld.c
[30/429] Compiling v3_bitst.c
[30/429] Compiling v3_conf.c
[32/429] Compiling v3_bcons.c
[32/429] Compiling v3_alt.c
[34/429] Compiling v3_akeya.c
[35/429] Compiling pcy_map.c
[36/429] Compiling pcy_node.c
[37/429] Compiling v3_akey.c
[38/429] Compiling pcy_lib.c
[39/429] Compiling pcy_tree.c
[40/429] Compiling pcy_data.c
[41/429] Compiling pcy_cache.c
[42/429] Compiling x_val.c
[43/429] Compiling x_x509a.c
[44/429] Compiling x_sig.c
[45/429] Compiling x_x509.c
[46/429] Compiling x_spki.c
[47/429] Compiling x_pkey.c
[48/429] Compiling x_name.c
[49/429] Compiling x_info.c
[50/429] Compiling x_exten.c
[51/429] Compiling x_attrib.c
[52/429] Compiling x_crl.c
[52/429] Compiling x509spki.c
[54/429] Compiling x_all.c
[55/429] Compiling x_algor.c
[55/429] Compiling x509rset.c
[57/429] Compiling x509name.c
[58/429] Compiling x509cset.c
[59/429] Compiling x509_txt.c
[60/429] Compiling x509_v3.c
[61/429] Compiling x509_set.c
[61/429] Compiling x509_vpm.c
[62/429] Compiling x509_trs.c
[64/429] Compiling x509_vfy.c
[65/429] Compiling x509_req.c
[66/429] Compiling x509_obj.c
[67/429] Compiling x509_def.c
[68/429] Compiling x509_d2.c
[69/429] Compiling x509_ext.c
[70/429] Compiling x509_att.c
[70/429] Compiling x509.c
[72/429] Compiling x509_lu.c
[73/429] Compiling x509_cmp.c
[74/429] Compiling t_x509a.c
[75/429] Compiling t_x509.c
[76/429] Compiling i2d_pr.c
[77/429] Compiling rsa_pss.c
[78/429] Compiling t_req.c
[79/429] Compiling t_crl.c
[80/429] Compiling by_file.c
[81/429] Compiling by_dir.c
[82/429] Compiling algorithm.c
[83/429] Compiling asn1_gen.c
[84/429] Compiling a_verify.c
[85/429] Compiling a_sign.c
[86/429] Compiling a_digest.c
[87/429] Compiling voprf.c
[88/429] Compiling thread_win.c
[89/429] Compiling thread.c
[89/429] Compiling a_strex.c
[91/429] Compiling thread_none.c
[92/429] Compiling thread_pthread.c
[93/429] Compiling rsa_print.c
[94/429] Compiling trust_token.c
[95/429] Compiling pmbtoken.c
[96/429] Compiling siphash.c
[97/429] Compiling stack.c
[98/429] Compiling windows.c
[99/429] Compiling rc4.c
[100/429] Compiling rsa_asn1.c
[101/429] Compiling refcount_lock.c
[102/429] Compiling rand_extra.c
[103/429] Compiling refcount_c11.c
[104/429] Compiling fuchsia.c
[105/429] Compiling passive.c
[106/429] Compiling deterministic.c
[107/429] Compiling poly1305_arm_asm.S
[108/429] Compiling poly1305_vec.c
[109/429] Compiling forkunsafe.c
[110/429] Compiling pool.c
[111/429] Compiling poly1305_arm.c
[112/429] Compiling poly1305.c
[113/429] Compiling pkcs7.c
[114/429] Compiling pem_xaux.c
[114/429] Compiling pkcs8.c
[116/429] Compiling pem_x509.c
[117/429] Compiling pkcs8_x509.c
[118/429] Compiling p5_pbev2.c
[119/429] Compiling pkcs7_x509.c
[120/429] Compiling pem_pkey.c
[121/429] Compiling obj_xref.c
[122/429] Compiling pem_pk8.c
[123/429] Compiling pem_oth.c
[124/429] Compiling mem.c
[125/429] Compiling pem_info.c
[126/429] Compiling pem_lib.c
[127/429] Compiling obj.c
[128/429] Compiling lhash.c
[129/429] Compiling poly_rq_mul.S
[130/429] Compiling pem_all.c
[131/429] Compiling x86_64-mont5.mac.x86_64.S
[132/429] Compiling x86_64-mont5.linux.x86_64.S
[133/429] Compiling x86_64-mont.mac.x86_64.S
[134/429] Compiling hkdf.c
[135/429] Compiling x86_64-mont.linux.x86_64.S
[136/429] Compiling x86-mont.windows.x86.S
[137/429] Compiling x86-mont.linux.x86.S
[138/429] Compiling hpke.c
[139/429] Compiling vpaes-x86_64.mac.x86_64.S
[140/429] Compiling vpaes-x86_64.linux.x86_64.S
[141/429] Compiling vpaes-x86.windows.x86.S
[142/429] Compiling vpaes-x86.linux.x86.S
[143/429] Compiling vpaes-armv8.ios.aarch64.S
[144/429] Compiling vpaes-armv7.linux.arm.S
[145/429] Compiling vpaes-armv8.linux.aarch64.S
[146/429] Compiling vpaes-armv7.ios.arm.S
[147/429] Compiling sha512-x86_64.mac.x86_64.S
[148/429] Compiling sha512-x86_64.linux.x86_64.S
[149/429] Compiling kdf.c
[150/429] Compiling sha512-armv8.linux.aarch64.S
[151/429] Compiling sha512-armv4.linux.arm.S
[152/429] Compiling sha512-armv8.ios.aarch64.S
[153/429] Compiling sha512-armv4.ios.arm.S
[154/429] Compiling sha512-586.linux.x86.S
[155/429] Compiling sha512-586.windows.x86.S
[156/429] Compiling sha256-x86_64.linux.x86_64.S
[157/429] Compiling sha256-x86_64.mac.x86_64.S
[158/429] Compiling sha256-armv8.ios.aarch64.S
[159/429] Compiling sha256-armv4.linux.arm.S
[160/429] Compiling sha256-586.windows.x86.S
[161/429] Compiling sha256-armv4.ios.arm.S
[162/429] Compiling sha256-armv8.linux.aarch64.S
[163/429] Compiling sha256-586.linux.x86.S
[164/429] Compiling sha1-x86_64.mac.x86_64.S
[164/429] Compiling hrss.c
[166/429] Compiling sha1-x86_64.linux.x86_64.S
[167/429] Compiling sha1-armv4-large.linux.arm.S
[168/429] Compiling sha1-armv8.ios.aarch64.S
[169/429] Compiling sha1-586.linux.x86.S
[170/429] Compiling sha1-586.windows.x86.S
[171/429] Compiling sha1-armv4-large.ios.arm.S
[172/429] Compiling sha1-armv8.linux.aarch64.S
[173/429] Compiling sha1-altivec.c
[174/429] Compiling rsaz-avx2.mac.x86_64.S
[174/429] Compiling sha256.c
[176/429] Compiling sha512.c
[177/429] Compiling rsaz-avx2.linux.x86_64.S
[178/429] Compiling sha1.c
[179/429] Compiling rdrand-x86_64.mac.x86_64.S
[180/429] Compiling rdrand-x86_64.linux.x86_64.S
[181/429] Compiling blinding.c
[182/429] Compiling self_check.c
[183/429] Compiling rsa.c
[184/429] Compiling rsa_impl.c
[185/429] Compiling padding.c
[186/429] Compiling rand.c
[187/429] Compiling urandom.c
[188/429] Compiling fork_detect.c
[189/429] Compiling ctrdrbg.c
[190/429] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[190/429] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[192/429] Compiling p256-x86_64-asm.mac.x86_64.S
[193/429] Compiling p256-x86_64-asm.linux.x86_64.S
[194/429] Compiling polyval.c
[195/429] Compiling ofb.c
[196/429] Compiling gcm_nohw.c
[197/429] Compiling ctr.c
[197/429] Compiling md5.c
[199/429] Compiling gcm.c
[200/429] Compiling cbc.c
[201/429] Compiling cfb.c
[202/429] Compiling is_fips.c
[203/429] Compiling md5-x86_64.mac.x86_64.S
[204/429] Compiling md5-x86_64.linux.x86_64.S
[205/429] Compiling md5-586.windows.x86.S
[206/429] Compiling md5-586.linux.x86.S
[207/429] Compiling md4.c
[208/429] Compiling ghashv8-armx64.linux.aarch64.S
[209/429] Compiling ghashv8-armx32.linux.arm.S
[210/429] Compiling hmac.c
[211/429] Compiling ghashv8-armx64.ios.aarch64.S
[212/429] Compiling ghashv8-armx32.ios.arm.S
[213/429] Compiling ghash-x86_64.linux.x86_64.S
[214/429] Compiling ghash-x86_64.mac.x86_64.S
[215/429] Compiling ghash-x86.windows.x86.S
[216/429] Compiling ghash-x86.linux.x86.S
[217/429] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[218/429] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[219/429] Compiling ghash-neon-armv8.ios.aarch64.S
[220/429] Compiling ghash-ssse3-x86.windows.x86.S
[221/429] Compiling ghash-ssse3-x86.linux.x86.S
[222/429] Compiling ghash-armv4.linux.arm.S
[223/429] Compiling ghash-neon-armv8.linux.aarch64.S
[224/429] Compiling fips_shared_support.c
[225/429] Compiling ghash-armv4.ios.arm.S
[226/429] Compiling util.c
[227/429] Compiling ecdsa.c
[228/429] Compiling ecdh.c
[229/429] Compiling simple_mul.c
[230/429] Compiling wnaf.c
[231/429] Compiling scalar.c
[232/429] Compiling simple.c
[233/429] Compiling p256-x86_64.c
[234/429] Compiling oct.c
[235/429] Compiling felem.c
[236/429] Compiling digests.c
[237/429] Compiling p224-64.c
[238/429] Compiling p256.c
[239/429] Compiling digest.c
[240/429] Compiling ec_montgomery.c
[241/429] Compiling ec_key.c
[242/429] Compiling ec.c
[243/429] Compiling check.c
[244/429] Compiling co-586.linux.x86.S
[245/429] Compiling co-586.windows.x86.S
[246/429] Compiling dh.c
[247/429] Compiling bsaes-armv7.linux.arm.S
[248/429] Compiling e_des.c
[249/429] Compiling aead.c
[250/429] Compiling cipher.c
[251/429] Compiling bsaes-armv7.ios.arm.S
[252/429] Compiling des.c
[253/429] Compiling sqrt.c
[254/429] Compiling e_aes.c
[254/429] Compiling rsaz_exp.c
[254/429] Compiling shift.c
[257/429] Compiling random.c
[258/429] Compiling prime.c
[259/429] Compiling jacobi.c
[260/429] Compiling montgomery_inv.c
[261/429] Compiling mul.c
[262/429] Compiling montgomery.c
[263/429] Compiling gcd_extra.c
[264/429] Compiling gcd.c
[265/429] Compiling div_extra.c
[266/429] Compiling ctx.c
[267/429] Compiling div.c
[268/429] Compiling generic.c
[269/429] Compiling exponentiation.c
[270/429] Compiling bytes.c
[271/429] Compiling x86_64-gcc.c
[272/429] Compiling cmp.c
[273/429] Compiling bn-586.windows.x86.S
[274/429] Compiling bn-586.linux.x86.S
[275/429] Compiling bn.c
[276/429] Compiling armv4-mont.linux.arm.S
[277/429] Compiling armv8-mont.ios.aarch64.S
[278/429] Compiling add.c
[279/429] Compiling armv4-mont.ios.arm.S
[280/429] Compiling armv8-mont.linux.aarch64.S
[281/429] Compiling aesv8-armx64.ios.aarch64.S
[282/429] Compiling aesv8-armx64.linux.aarch64.S
[283/429] Compiling aesv8-armx32.ios.arm.S
[284/429] Compiling aesv8-armx32.linux.arm.S
[285/429] Compiling aesni-x86_64.mac.x86_64.S
[286/429] Compiling aesni-x86_64.linux.x86_64.S
[287/429] Compiling aesni-x86.windows.x86.S
[288/429] Compiling aesni-x86.linux.x86.S
[289/429] Compiling aesni-gcm-x86_64.mac.x86_64.S
[290/429] Compiling aesni-gcm-x86_64.linux.x86_64.S
[291/429] Compiling mode_wrappers.c
[292/429] Compiling aes.c
[293/429] Compiling key_wrap.c
[294/429] Compiling sign.c
[295/429] Compiling ex_data.c
[296/429] Compiling scrypt.c
[297/429] Compiling aes_nohw.c
[298/429] Compiling p_x25519.c
[298/429] Compiling pbkdf.c
[300/429] Compiling p_rsa_asn1.c
[301/429] Compiling p_x25519_asn1.c
[302/429] Compiling print.c
[303/429] Compiling p_ed25519_asn1.c
[304/429] Compiling p_ed25519.c
[304/429] Compiling p_rsa.c
[306/429] Compiling p_ec_asn1.c
[307/429] Compiling p_dsa_asn1.c
[308/429] Compiling err_data.c
[309/429] Compiling p_ec.c
[310/429] Compiling digestsign.c
[311/429] Compiling evp_asn1.c
[312/429] Compiling evp_ctx.c
[313/429] Compiling evp.c
[314/429] Compiling engine.c
[315/429] Compiling ecdsa_asn1.c
[316/429] Compiling err.c
[317/429] Compiling ecdh_extra.c
[318/429] Compiling hash_to_curve.c
[318/429] Compiling ec_derive.c
[320/429] Compiling dsa_asn1.c
[321/429] Compiling params.c
[322/429] Compiling ec_asn1.c
[323/429] Compiling dh_asn1.c
[324/429] Compiling digest_extra.c
[325/429] Compiling dsa.c
[326/429] Compiling x25519-asm-arm.S
[327/429] Compiling cpu-ppc64le.c
[327/429] Compiling cpu-intel.c
[329/429] Compiling spake25519.c
[330/429] Compiling cpu-arm-linux.c
[331/429] Compiling crypto.c
[332/429] Compiling cpu-arm.c
[333/429] Compiling cpu-aarch64-win.c
[334/429] Compiling cpu-aarch64-fuchsia.c
[335/429] Compiling cpu-aarch64-linux.c
[336/429] Compiling e_rc4.c
[337/429] Compiling cmac.c
[338/429] Compiling tls_cbc.c
[339/429] Compiling conf.c
[340/429] Compiling e_tls.c
[341/429] Compiling e_rc2.c
[342/429] Compiling curve25519.c
[343/429] Compiling e_null.c
[344/429] Compiling e_chacha20poly1305.c
[345/429] Compiling derive_key.c
[346/429] Compiling e_aesgcmsiv.c
[347/429] Compiling e_aesctrhmac.c
[348/429] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[349/429] Compiling cipher_extra.c
[350/429] Compiling e_aesccm.c
[351/429] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[352/429] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[353/429] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[354/429] Compiling chacha-x86_64.mac.x86_64.S
[355/429] Compiling chacha-x86_64.linux.x86_64.S
[356/429] Compiling chacha-x86.windows.x86.S
[357/429] Compiling chacha.c
[358/429] Compiling chacha-x86.linux.x86.S
[359/429] Compiling chacha-armv8.ios.aarch64.S
[360/429] Compiling chacha-armv4.linux.arm.S
[361/429] Compiling chacha-armv4.ios.arm.S
[362/429] Compiling chacha-armv8.linux.aarch64.S
[363/429] Compiling unicode.c
[364/429] Compiling ber.c
[365/429] Compiling asn1_compat.c
[366/429] Compiling bn_asn1.c
[367/429] Compiling cbs.c
[367/429] Compiling cbb.c
[369/429] Compiling buf.c
[370/429] Compiling blake2.c
[371/429] Compiling convert.c
[372/429] Compiling printf.c
[372/429] Compiling socket_helper.c
[374/429] Compiling socket.c
[375/429] Compiling hexdump.c
[376/429] Compiling pair.c
[377/429] Compiling file.c
[378/429] Compiling fd.c
[379/429] Compiling bio_mem.c
[380/429] Compiling base64.c
[381/429] Compiling connect.c
[382/429] Compiling time_support.c
[383/429] Compiling bio.c
[384/429] Compiling tasn_utl.c
[385/429] Compiling tasn_fre.c
[386/429] Compiling tasn_new.c
[387/429] Compiling tasn_typ.c
[388/429] Compiling f_string.c
[389/429] Compiling tasn_enc.c
[390/429] Compiling tasn_dec.c
[391/429] Compiling f_enum.c
[392/429] Compiling f_int.c
[393/429] Compiling asn_pack.c
[394/429] Compiling asn1_par.c
[395/429] Compiling a_utf8.c
[396/429] Compiling asn1_lib.c
[397/429] Compiling a_utctm.c
[398/429] Compiling a_type.c
[399/429] Compiling a_time.c
[400/429] Compiling a_strnid.c
[401/429] Compiling a_octet.c
[402/429] Compiling a_print.c
[403/429] Compiling a_object.c
[404/429] Compiling a_mbstr.c
[405/429] Compiling a_i2d_fp.c
[406/429] Compiling a_bool.c
[407/429] Compiling a_int.c
[408/429] Compiling a_bitstr.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[410/483] Emitting module ZIPFoundation
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[411/483] Compiling Crypto AES-GCM.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[412/483] Compiling Crypto AES-GCM_boring.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[413/483] Compiling Crypto ChaChaPoly_boring.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:50:34: error: cannot find 'errno' in scope
 48 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 49 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb") else {
 50 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 51 |             }
 52 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:72:34: error: cannot find 'errno' in scope
 70 |             let fileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 71 |             guard let archiveFile = fopen(fileSystemRepresentation, "rb+") else {
 72 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 73 |             }
 74 |             guard let (eocdRecord, zip64EOCD) = Archive.scanForEndOfCentralDirectoryRecord(in: archiveFile) else {
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+BackingConfiguration.swift:109:31: error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
107 |                                                                           zipFileCommentData: Data())
108 |             _ = endOfCentralDirectoryRecord.data.withUnsafeBytes { (buffer: UnsafeRawBufferPointer) in
109 |                 fwrite(buffer.baseAddress, buffer.count, 1, archiveFile) // Errors handled during read
    |                               |- error: value of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'
    |                               |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                               `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
110 |             }
111 |             fallthrough
[414/485] Compiling Crypto HMAC.swift
[415/485] Compiling Crypto MACFunctions.swift
[416/485] Compiling Crypto MessageAuthenticationCode.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[417/485] Compiling Crypto AES.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[418/485] Compiling Crypto ECDSASignature_boring.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Date+ZIP.swift:77:11: error: cannot find type 'stat' in scope
75 | }
76 |
77 | extension stat {
   |           `- error: cannot find type 'stat' in scope
78 |
79 |     var lastAccessDate: Date {
[419/485] Compiling Crypto ASN1.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[420/485] Compiling Crypto ASN1BitString.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[421/485] Compiling Crypto SymmetricKeys.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:70:34: error: cannot find 'errno' in scope
 68 |             let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: fileURL.path)
 69 |             guard let entryFile: FILEPointer = fopen(entryFileSystemRepresentation, "rb") else {
 70 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 71 |             }
 72 |             defer { fclose(entryFile) }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Writing.swift:283:9: error: cannot find 'ftruncate' in scope
281 |                   _ zip64EndOfCentralDirectory: ZIP64EndOfCentralDirectory?) throws {
282 |         fflush(self.archiveFile)
283 |         ftruncate(fileno(self.archiveFile), off_t(localFileHeaderStart))
    |         `- error: cannot find 'ftruncate' in scope
284 |         fseeko(self.archiveFile, off_t(localFileHeaderStart), SEEK_SET)
285 |         _ = try Data.writeLargeChunk(existingCentralDirectory.data, size: existingCentralDirectory.size,
[422/485] Compiling Crypto ChaChaPoly.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[423/485] Compiling Crypto Cipher.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[424/485] Compiling Crypto Nonces.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Archive+Reading.swift:41:34: error: cannot find 'errno' in scope
 39 |             let destinationRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
 40 |             guard let destinationFile: FILEPointer = fopen(destinationRepresentation, "wb+") else {
 41 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
 42 |             }
 43 |             defer { fclose(destinationFile) }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[425/485] Compiling Crypto CryptoKitErrors.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & S_IFMT
    |                                          |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                          `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
151 |             switch mode {
152 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
[426/485] Compiling Crypto Digest_boring.swift
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:29:25: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
 27 |
 28 |         init(mode: mode_t) {
 29 |             switch mode & S_IFMT {
    |                         |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                         `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
 30 |             case S_IFDIR:
 31 |                 self = .directory
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Entry.swift:150:42: error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
148 |             // Use truncatingIfNeeded for safer conversion across platforms
149 |             let modeValue = UInt16(truncatingIfNeeded: self.centralDirectoryStructure.externalFileAttributes >> 16)
150 |             let mode = mode_t(modeValue) & S_IFMT
    |                                          |- error: binary operator '&' cannot be applied to operands of type 'mode_t' (aka 'UInt32') and 'Int32'
    |                                          `- note: overloads for '&' exist with these partially matching parameter lists: (Int32, Int32), (UInt32, UInt32)
151 |             switch mode {
152 |             case S_IFREG:
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:196:15: error: cannot find 'lchmod' in scope
194 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
    |               `- error: cannot find 'lchmod' in scope
197 |             throw POSIXError(errno, path: url.path)
198 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:197:30: error: cannot find 'errno' in scope
195 |         let modeT = posixPermissions.uint16Value
196 |         guard lchmod(fileSystemRepresentation, mode_t(modeT)) == 0 else {
197 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
198 |         }
199 |     }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:203:24: error: cannot find 'stat' in scope
201 |     func setSymlinkModificationDate(_ modificationDate: Date, ofItemAtURL url: URL) throws {
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:204:15: error: cannot find 'lstat' in scope
202 |         let fileSystemRepresentation = self.fileSystemRepresentation(withPath: url.path)
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
    |               `- error: cannot find 'lstat' in scope
205 |             throw POSIXError(errno, path: url.path)
206 |         }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:205:30: error: cannot find 'errno' in scope
203 |         var fileStat = stat()
204 |         guard lstat(fileSystemRepresentation, &fileStat) == 0 else {
205 |             throw POSIXError(errno, path: url.path)
    |                              `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:215:34: error: cannot find 'errno' in scope
213 |         try array.withUnsafeBufferPointer {
214 |             guard lutimes(fileSystemRepresentation, $0.baseAddress) == 0 else {
215 |                 throw POSIXError(errno, path: url.path)
    |                                  `- error: cannot find 'errno' in scope
216 |             }
217 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:241:72: error: cannot find 'S_IFMT' in scope
239 |         switch osType {
240 |         case .unix, .osx:
241 |             let permissions = mode_t(externalFileAttributes >> 16) & (~S_IFMT)
    |                                                                        `- error: cannot find 'S_IFMT' in scope
242 |             let defaultPermissions = entryType == .directory ? defaultDirectoryPermissions : defaultFilePermissions
243 |             return permissions == 0 ? defaultPermissions : UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:253:30: error: cannot find 'S_IFREG' in scope
251 |         switch type {
252 |         case .file:
253 |             typeInt = UInt16(S_IFREG)
    |                              `- error: cannot find 'S_IFREG' in scope
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:255:30: error: cannot find 'S_IFDIR' in scope
253 |             typeInt = UInt16(S_IFREG)
254 |         case .directory:
255 |             typeInt = UInt16(S_IFDIR)
    |                              `- error: cannot find 'S_IFDIR' in scope
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:257:30: error: cannot find 'S_IFLNK' in scope
255 |             typeInt = UInt16(S_IFDIR)
256 |         case .symlink:
257 |             typeInt = UInt16(S_IFLNK)
    |                              `- error: cannot find 'S_IFLNK' in scope
258 |         }
259 |         var externalFileAttributes = UInt32(typeInt|UInt16(permissions))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:267:24: error: cannot find 'stat' in scope
265 |         let fileManager = FileManager()
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
268 |         lstat(entryFileSystemRepresentation, &fileStat)
269 |         let permissions = fileStat.st_mode
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:268:9: error: cannot find 'lstat' in scope
266 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: URL.path)
267 |         var fileStat = stat()
268 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
269 |         let permissions = fileStat.st_mode
270 |         return UInt16(permissions)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:279:24: error: cannot find 'stat' in scope
277 |         }
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
280 |         lstat(entryFileSystemRepresentation, &fileStat)
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:280:9: error: cannot find 'lstat' in scope
278 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
279 |         var fileStat = stat()
280 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
281 | #if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
282 |         let modTimeSpec = fileStat.st_mtimespec
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:299:21: error: cannot find 'stat' in scope
297 |
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
    |                     `- error: cannot find 'stat' in scope
300 |         lstat(entryFileSystemRepresentation, &stats)
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:300:9: error: cannot find 'lstat' in scope
298 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
299 |         var stats = stat()
300 |         lstat(entryFileSystemRepresentation, &stats)
    |         `- error: cannot find 'lstat' in scope
301 |         guard stats.st_size >= 0 else { throw CocoaError(.fileReadTooLarge, userInfo: [NSFilePathErrorKey: url.path]) }
302 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:313:24: error: cannot find 'stat' in scope
311 |         }
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
    |                        `- error: cannot find 'stat' in scope
314 |         lstat(entryFileSystemRepresentation, &fileStat)
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/FileManager+ZIP.swift:314:9: error: cannot find 'lstat' in scope
312 |         let entryFileSystemRepresentation = fileManager.fileSystemRepresentation(withPath: url.path)
313 |         var fileStat = stat()
314 |         lstat(entryFileSystemRepresentation, &fileStat)
    |         `- error: cannot find 'lstat' in scope
315 |         return Entry.EntryType(mode: mode_t(fileStat.st_mode))
316 |     }
[427/485] Compiling Crypto ECDSA_boring.swift
[428/485] Compiling Crypto SEC1PrivateKey.swift
[429/485] Compiling Crypto SubjectPublicKeyInfo.swift
[430/485] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[431/485] Compiling ZIPFoundation URL+ZIP.swift
BUILD FAILURE 6.2 android