The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aviancore, reference 0.7.3 (d7a4ef), with Swift 6.2 for Android on 13 Oct 2026 03:00:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/aviancore.git
Reference: 0.7.3
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/grepjava/aviancore
 * tag               0.7.3      -> FETCH_HEAD
HEAD is now at d7a4ef3 Call it 0.7.3
Cloned https://github.com/grepjava/aviancore.git
Revision (git rev-parse @):
d7a4ef3479c12afa31ada6f30e1994c0fd9340e7
SUCCESS checkout https://github.com/grepjava/aviancore.git at 0.7.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/grepjava/aviancore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:a839c9ce201f1dacc8eb056626ec7ab0a1c6d53d7b77c83feda395f4507c51be
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/417] Compiling CAvian avian_crypto.c
[1/417] Compiling CAvian avian_load.c
[2/417] Compiling CAvian avian_compress.c
[3/417] Compiling CAvian avian_cache.c
[4/417] Compiling fiat_p256_adx_sqr.S
[5/417] Compiling CAvian avian_extra.c
[6/417] Compiling CAvian avian_sys.c
[7/417] Compiling fiat_p256_adx_mul.S
[8/417] Compiling fiat_curve25519_adx_square.S
[8/417] Write swift-version--11D90AFD9DD3AB2.txt
[10/417] Compiling fiat_curve25519_adx_mul.S
[11/417] Compiling a_time.cc
[12/417] Compiling a_gentm.cc
[13/417] Compiling tls_method.cc
[14/417] Compiling tls_record.cc
[15/417] Compiling tls13_client.cc
[16/417] Compiling tls13_both.cc
[17/417] Compiling tls13_enc.cc
[18/417] Compiling tls13_server.cc
[19/417] Compiling t1_enc.cc
[20/417] Compiling ssl_x509.cc
[21/417] Compiling ssl_transcript.cc
[22/417] Compiling ssl_versions.cc
[23/417] Compiling ssl_stat.cc
[24/417] Compiling ssl_privkey.cc
[25/417] Compiling ssl_session.cc
[26/417] Compiling ssl_lib.cc
[27/417] Compiling ssl_key_share.cc
[28/417] Compiling ssl_file.cc
[29/417] Compiling ssl_cipher.cc
[30/417] Compiling ssl_credential.cc
[31/417] Compiling ssl_cert.cc
[32/417] Compiling ssl_buffer.cc
[33/417] Compiling ssl_asn1.cc
[34/417] Compiling ssl_aead_ctx.cc
[35/417] Compiling s3_pkt.cc
[36/417] Compiling s3_lib.cc
[37/417] Compiling s3_both.cc
[38/417] Compiling handshake_server.cc
[39/417] Compiling handshake_client.cc
[40/417] Compiling handshake.cc
[41/417] Compiling handoff.cc
[42/417] Compiling encrypted_client_hello.cc
[43/417] Compiling dtls_record.cc
[44/417] Compiling md5-x86_64-linux.S
[45/417] Compiling extensions.cc
[46/417] Compiling md5-x86_64-apple.S
[47/417] Compiling md5-586-linux.S
[48/417] Compiling md5-586-apple.S
[49/417] Compiling chacha20_poly1305_x86_64-linux.S
[50/417] Compiling chacha20_poly1305_x86_64-apple.S
[51/417] Compiling chacha20_poly1305_armv8-win.S
[52/417] Compiling dtls_method.cc
[53/417] Compiling chacha20_poly1305_armv8-apple.S
[54/417] Compiling chacha20_poly1305_armv8-linux.S
[55/417] Compiling chacha-x86_64-apple.S
[56/417] Compiling chacha-x86_64-linux.S
[57/417] Compiling chacha-x86-linux.S
[58/417] Compiling chacha-x86-apple.S
[59/417] Compiling d1_srtp.cc
[60/417] Compiling chacha-armv8-win.S
[61/417] Compiling d1_pkt.cc
[62/417] Compiling chacha-armv8-linux.S
[63/417] Compiling chacha-armv4-linux.S
[64/417] Compiling chacha-armv8-apple.S
[65/417] Compiling aes128gcmsiv-x86_64-linux.S
[66/417] Compiling aes128gcmsiv-x86_64-apple.S
[67/417] Compiling err_data.cc
[68/417] Compiling x86_64-mont5-linux.S
[69/417] Compiling d1_lib.cc
[70/417] Compiling x86_64-mont5-apple.S
[71/417] Compiling x86_64-mont-linux.S
[72/417] Compiling x86_64-mont-apple.S
[73/417] Compiling x86-mont-linux.S
[74/417] Compiling x86-mont-apple.S
[75/417] Compiling vpaes-x86_64-linux.S
[75/417] Compiling vpaes-x86_64-apple.S
[77/417] Compiling vpaes-x86-linux.S
[78/417] Compiling vpaes-x86-apple.S
[79/417] Compiling vpaes-armv8-win.S
[80/417] Compiling vpaes-armv8-apple.S
[81/417] Compiling vpaes-armv8-linux.S
[82/417] Compiling vpaes-armv7-linux.S
[83/417] Compiling sha512-x86_64-linux.S
[84/417] Compiling sha512-x86_64-apple.S
[85/417] Compiling sha512-armv8-win.S
[86/417] Compiling sha512-armv4-linux.S
[87/417] Compiling sha512-armv8-apple.S
[88/417] Compiling sha512-armv8-linux.S
[89/417] Compiling sha512-586-linux.S
[90/417] Compiling sha512-586-apple.S
[91/417] Compiling sha256-x86_64-linux.S
[92/417] Compiling sha256-x86_64-apple.S
[93/417] Compiling sha256-armv8-win.S
[94/417] Compiling sha256-armv8-apple.S
[95/417] Compiling sha256-armv4-linux.S
[96/417] Compiling sha256-armv8-linux.S
[97/417] Compiling sha256-586-linux.S
[98/417] Compiling sha256-586-apple.S
[99/417] Compiling sha1-x86_64-linux.S
[100/417] Compiling sha1-x86_64-apple.S
[101/417] Compiling sha1-armv8-win.S
[102/417] Compiling sha1-armv8-apple.S
[103/417] Compiling sha1-armv4-large-linux.S
[104/417] Compiling sha1-586-linux.S
[105/417] Compiling sha1-armv8-linux.S
[106/417] Compiling bio_ssl.cc
[107/417] Compiling rsaz-avx2-linux.S
[108/417] Compiling sha1-586-apple.S
[109/417] Compiling rsaz-avx2-apple.S
[110/417] Compiling rdrand-x86_64-linux.S
[111/417] Compiling rdrand-x86_64-apple.S
[112/417] Compiling p256_beeu-x86_64-asm-linux.S
[113/417] Compiling p256_beeu-armv8-asm-win.S
[114/417] Compiling p256_beeu-x86_64-asm-apple.S
[115/417] Compiling p256_beeu-armv8-asm-linux.S
[116/417] Compiling p256_beeu-armv8-asm-apple.S
[117/417] Compiling d1_both.cc
[118/417] Compiling p256-x86_64-asm-linux.S
[119/417] Compiling p256-x86_64-asm-apple.S
[120/417] Compiling p256-armv8-asm-win.S
[121/417] Compiling p256-armv8-asm-apple.S
[122/417] Compiling ghashv8-armv8-win.S
[123/417] Compiling p256-armv8-asm-linux.S
[124/417] Compiling ghashv8-armv8-linux.S
[125/417] Compiling ghashv8-armv8-apple.S
[125/417] Compiling ghash-x86_64-linux.S
[125/417] Compiling ghashv8-armv7-linux.S
[128/417] Compiling ghash-x86_64-apple.S
[129/417] Compiling ghash-x86-linux.S
[130/417] Compiling ghash-x86-apple.S
[131/417] Compiling ghash-ssse3-x86_64-linux.S
[132/417] Compiling ghash-ssse3-x86_64-apple.S
[133/417] Compiling ghash-ssse3-x86-linux.S
[134/417] Compiling ghash-neon-armv8-win.S
[134/417] Compiling ghash-ssse3-x86-apple.S
[136/417] Compiling ghash-neon-armv8-linux.S
[137/417] Compiling ghash-neon-armv8-apple.S
[138/417] Compiling ghash-armv4-linux.S
[139/417] Compiling co-586-linux.S
[140/417] Compiling co-586-apple.S
[141/417] Compiling bsaes-armv7-linux.S
[142/417] Compiling bn-armv8-linux.S
[143/417] Compiling bn-armv8-win.S
[144/417] Compiling bn-armv8-apple.S
[145/417] Compiling bn-586-linux.S
[145/417] Compiling bn-586-apple.S
[147/417] Compiling armv8-mont-win.S
[148/417] Compiling armv8-mont-apple.S
[149/417] Compiling armv8-mont-linux.S
[149/417] Compiling armv4-mont-linux.S
[151/417] Compiling aesv8-gcm-armv8-win.S
[152/417] Compiling aesv8-armv8-win.S
[153/417] Compiling aesv8-gcm-armv8-apple.S
[154/417] Compiling aesv8-gcm-armv8-linux.S
[155/417] Compiling aesv8-armv8-linux.S
[156/417] Compiling aesv8-armv7-linux.S
[157/417] Compiling aesv8-armv8-apple.S
[158/417] Compiling aesni-x86_64-apple.S
[159/417] Compiling aesni-x86_64-linux.S
[160/417] Compiling aesni-x86-linux.S
[161/417] Compiling aesni-x86-apple.S
[162/417] Compiling aesni-gcm-x86_64-linux.S
[163/417] Compiling aes-gcm-avx2-x86_64-linux.S
[164/417] Compiling aes-gcm-avx10-x86_64-apple.S
[165/417] Compiling aes-gcm-avx2-x86_64-apple.S
[166/417] Compiling aesni-gcm-x86_64-apple.S
[166/417] Compiling aes-gcm-avx10-x86_64-linux.S
[168/417] Compiling x_sig.cc
[169/417] Compiling x_x509a.cc
[170/417] Compiling x_x509.cc
[171/417] Compiling x_val.cc
[171/417] Compiling x_spki.cc
[173/417] Compiling x_req.cc
[174/417] Compiling x_pubkey.cc
[175/417] Compiling x_name.cc
[176/417] Compiling x_exten.cc
[177/417] Compiling x_algor.cc
[178/417] Compiling x509spki.cc
[179/417] Compiling x_attrib.cc
[179/417] Compiling x_crl.cc
[181/417] Compiling x509rset.cc
[182/417] Compiling x_all.cc
[183/417] Compiling x509name.cc
[184/417] Compiling x509_txt.cc
[185/417] Compiling x509cset.cc
[186/417] Compiling x509_v3.cc
[186/417] Compiling x509_vpm.cc
[188/417] Compiling x509_trs.cc
[189/417] Compiling x509_set.cc
[190/417] Compiling x509_vfy.cc
[191/417] Compiling x509_req.cc
[192/417] Compiling x509_def.cc
[193/417] Compiling x509_obj.cc
[194/417] Compiling x509_d2.cc
[195/417] Compiling x509_ext.cc
[196/417] Compiling x509_lu.cc
[197/417] Compiling x509_cmp.cc
[198/417] Compiling x509.cc
[199/417] Compiling x509_att.cc
[200/417] Compiling v3_skey.cc
[201/417] Compiling v3_prn.cc
[202/417] Compiling v3_purp.cc
[202/417] Compiling v3_ocsp.cc
[204/417] Compiling v3_pmaps.cc
[205/417] Compiling v3_pcons.cc
[206/417] Compiling v3_utl.cc
[207/417] Compiling v3_ncons.cc
[208/417] Compiling v3_int.cc
[209/417] Compiling v3_lib.cc
[210/417] Compiling v3_ia5.cc
[210/417] Compiling v3_genn.cc
[212/417] Compiling v3_enum.cc
[213/417] Compiling v3_extku.cc
[214/417] Compiling v3_info.cc
[215/417] Compiling v3_crld.cc
[216/417] Compiling v3_cpols.cc
[217/417] Compiling v3_bcons.cc
[218/417] Compiling v3_conf.cc
[219/417] Compiling v3_bitst.cc
[220/417] Compiling v3_akeya.cc
[221/417] Compiling v3_akey.cc
[222/417] Compiling v3_alt.cc
[223/417] Compiling t_x509a.cc
[224/417] Compiling i2d_pr.cc
[225/417] Compiling t_crl.cc
[226/417] Compiling t_req.cc
[227/417] Compiling t_x509.cc
[228/417] Compiling rsa_pss.cc
[229/417] Compiling name_print.cc
[230/417] Compiling policy.cc
[231/417] Compiling by_file.cc
[232/417] Compiling by_dir.cc
[233/417] Compiling algorithm.cc
[234/417] Compiling voprf.cc
[234/417] Compiling asn1_gen.cc
[235/417] Compiling a_verify.cc
[237/417] Compiling trust_token.cc
[238/417] Compiling a_sign.cc
[238/417] Compiling a_digest.cc
[240/417] Compiling thread.cc
[241/417] Compiling thread_none.cc
[242/417] Compiling thread_win.cc
[243/417] Compiling thread_pthread.cc
[244/417] Compiling stack.cc
[245/417] Compiling pmbtoken.cc
[246/417] Compiling slhdsa.cc
[247/417] Compiling spake2plus.cc
[248/417] Compiling sha512.cc
[248/417] Compiling siphash.cc
[249/417] Compiling sha256.cc
[251/417] Compiling sha1.cc
[252/417] Compiling rsa_print.cc
[253/417] Compiling rsa_extra.cc
[254/417] Compiling rsa_crypt.cc
[255/417] Compiling rc4.cc
[256/417] Compiling windows.cc
[257/417] Compiling refcount.cc
[258/417] Compiling urandom.cc
[259/417] Compiling trusty.cc
[260/417] Compiling rand.cc
[261/417] Compiling rsa_asn1.cc
[262/417] Compiling passive.cc
[263/417] Compiling poly1305_arm_asm.S
[264/417] Compiling ios.cc
[265/417] Compiling getentropy.cc
[266/417] Compiling forkunsafe.cc
[267/417] Compiling deterministic.cc
[268/417] Compiling fork_detect.cc
[269/417] Compiling poly1305_vec.cc
[270/417] Compiling pool.cc
[271/417] Compiling poly1305_arm.cc
[272/417] Compiling poly1305.cc
[273/417] Compiling pkcs7.cc
[274/417] Compiling pkcs8.cc
[275/417] Compiling p5_pbev2.cc
[276/417] Compiling pkcs8_x509.cc
[277/417] Compiling pkcs7_x509.cc
[278/417] Compiling pem_xaux.cc
[279/417] Compiling pem_x509.cc
[280/417] Compiling pem_pkey.cc
[281/417] Compiling pem_pk8.cc
[282/417] Compiling mlkem.cc
[283/417] Compiling pem_info.cc
[284/417] Compiling pem_oth.cc
[285/417] Compiling pem_lib.cc
[286/417] Compiling pem_all.cc
[287/417] Compiling obj_xref.cc
[288/417] Compiling mldsa.cc
[289/417] Compiling obj.cc
[290/417] Compiling poly_rq_mul.S
[291/417] Compiling fips_shared_support.cc
[292/417] Compiling md5.cc
[293/417] Compiling mem.cc
[294/417] Compiling md4.cc
[295/417] Compiling lhash.cc
[296/417] Compiling kyber.cc
[297/417] Compiling hrss.cc
[298/417] Compiling ex_data.cc
[299/417] Compiling sign.cc
[300/417] Compiling scrypt.cc
[301/417] Compiling print.cc
[302/417] Compiling hpke.cc
[303/417] Compiling pbkdf.cc
[304/417] Compiling p_x25519.cc
[305/417] Compiling p_x25519_asn1.cc
[306/417] Compiling p_rsa_asn1.cc
[307/417] Compiling p_rsa.cc
[308/417] Compiling p_ed25519.cc
[309/417] Compiling p_hkdf.cc
[310/417] Compiling p_ed25519_asn1.cc
[311/417] Compiling p_ec.cc
[312/417] Compiling p_ec_asn1.cc
[313/417] Compiling p_dh_asn1.cc
[314/417] Compiling p_dh.cc
[315/417] Compiling evp_ctx.cc
[316/417] Compiling p_dsa_asn1.cc
[317/417] Compiling evp_asn1.cc
[318/417] Compiling err.cc
[318/417] Compiling evp.cc
[320/417] Compiling engine.cc
[321/417] Compiling ecdh.cc
[322/417] Compiling ecdsa_asn1.cc
[323/417] Compiling hash_to_curve.cc
[324/417] Compiling ec_derive.cc
[325/417] Compiling dsa.cc
[326/417] Compiling dsa_asn1.cc
[327/417] Compiling ec_asn1.cc
[328/417] Compiling bcm.cc
[328/417] Compiling params.cc
[330/417] Compiling x25519-asm-arm.S
[331/417] Compiling digest_extra.cc
[332/417] Compiling dh_asn1.cc
[333/417] Compiling des.cc
[334/417] Compiling curve25519_64_adx.cc
[335/417] Compiling cpu_intel.cc
[336/417] Compiling crypto.cc
[337/417] Compiling spake25519.cc
[338/417] Compiling cpu_arm_linux.cc
[339/417] Compiling curve25519.cc
[340/417] Compiling cpu_arm_freebsd.cc
[341/417] Compiling cpu_aarch64_win.cc
[342/417] Compiling cpu_aarch64_sysreg.cc
[343/417] Compiling cpu_aarch64_openbsd.cc
[344/417] Compiling cpu_aarch64_linux.cc
[345/417] Compiling cpu_aarch64_fuchsia.cc
[346/417] Compiling cpu_aarch64_apple.cc
[347/417] Compiling conf.cc
[348/417] Compiling tls_cbc.cc
[349/417] Compiling get_cipher.cc
[350/417] Compiling e_tls.cc
[351/417] Compiling e_rc4.cc
[352/417] Compiling e_null.cc
[353/417] Compiling e_rc2.cc
[354/417] Compiling e_des.cc
[355/417] Compiling e_chacha20poly1305.cc
[356/417] Compiling e_aesgcmsiv.cc
[357/417] Compiling e_aesctrhmac.cc
[358/417] Compiling derive_key.cc
[359/417] Compiling chacha.cc
[360/417] Compiling unicode.cc
[361/417] Compiling cbs.cc
[362/417] Compiling buf.cc
[363/417] Compiling cbb.cc
[364/417] Compiling ber.cc
[365/417] Compiling asn1_compat.cc
[366/417] Compiling bn_asn1.cc
[367/417] Compiling blake2.cc
[368/417] Compiling convert.cc
[369/417] Compiling socket_helper.cc
[370/417] Compiling socket.cc
[371/417] Compiling printf.cc
[372/417] Compiling pair.cc
[373/417] Compiling hexdump.cc
[374/417] Compiling file.cc
[375/417] Compiling fd.cc
[376/417] Compiling errno.cc
[377/417] Compiling bio_mem.cc
[378/417] Compiling connect.cc
[379/417] Compiling bio.cc
[380/417] Compiling base64.cc
[381/417] Compiling tasn_typ.cc
[382/417] Compiling tasn_fre.cc
[383/417] Compiling tasn_utl.cc
[384/417] Compiling tasn_enc.cc
[385/417] Compiling posix_time.cc
[386/417] Compiling tasn_new.cc
[387/417] Compiling f_string.cc
[388/417] Compiling tasn_dec.cc
[389/417] Compiling f_int.cc
[390/417] Compiling asn_pack.cc
[390/417] Compiling asn1_par.cc
[392/417] Compiling a_utctm.cc
[393/417] Compiling a_type.cc
[394/417] Compiling asn1_lib.cc
[395/417] Compiling a_strnid.cc
[396/417] Compiling a_octet.cc
[397/417] Compiling a_strex.cc
[398/417] Compiling a_mbstr.cc
[399/417] Compiling a_object.cc
[400/417] Compiling CAvian avian_wsdeflate.c
[401/417] Compiling CAvian avian_watch.c
[402/417] Compiling CAvian avian_tls.c
[402/417] Compiling CAvian avian_udp.c
[404/417] Compiling CAvian avian_metrics.c
[405/417] Compiling CAvian avian_ratelimit.c
[406/417] Compiling a_dup.cc
[406/417] Write sources
[410/417] Compiling a_i2d_fp.cc
[410/417] Compiling a_d2i_fp.cc
[412/417] Compiling CAvian avian_bus.c
[413/417] Compiling CAvian avian_acme.c
[414/425] Compiling a_int.cc
[415/425] Compiling a_bool.cc
[416/425] Compiling a_bitstr.cc
[418/425] Compiling AvianCore Bytes.swift
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:90:12: error: cannot find 'memcmp' in scope
 88 | public func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
 89 |     guard n == literal.utf8CodeUnitCount else { return false }
 90 |     return memcmp(p, literal.utf8Start, n) == 0
    |            `- error: cannot find 'memcmp' in scope
 91 | }
 92 |
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:122:21: error: cannot find 'memchr' in scope
120 |     // memchr is vectorised in every libc worth using; hand-rolling a loop here
121 |     // measurably loses on long header values.
122 |     guard let hit = memchr(p, Int32(needle), n) else { return -1 }
    |                     `- error: cannot find 'memchr' in scope
123 |     return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
124 | }
[419/426] Compiling AvianCore Poller.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[420/426] Emitting module AvianCore
/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:74:13: error: cannot find 'free' in scope
72 |             count &+= 1
73 |         } else {
74 |             free(p)
   |             `- error: cannot find 'free' in scope
75 |         }
76 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:44:27: error: cannot find 'malloc' in scope
 42 |     public init(capacity: Int) {
 43 |         if capacity > 0 {
 44 |             guard let p = malloc(capacity) else {
    |                           `- error: cannot find 'malloc' in scope
 45 |                 allocationFailed(capacity, "a new buffer")
 46 |             }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:153:13: error: cannot find 'memmove' in scope
151 |         if readerIndex == 0 { return }
152 |         if n > 0 {
153 |             memmove(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
    |             `- error: cannot find 'memmove' in scope
154 |         }
155 |         readerIndex = 0
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:165:9: error: cannot find 'memcpy' in scope
163 |         if n == 0 { return }
164 |         reserve(n)
165 |         memcpy(storage.unsafelyUnwrapped + writerIndex, p, n)
    |         `- error: cannot find 'memcpy' in scope
166 |         writerIndex &+= n
167 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:267:30: error: cannot find 'free' in scope
265 |     @inlinable
266 |     public mutating func destroy() {
267 |         if let s = storage { free(s) }
    |                              `- error: cannot find 'free' in scope
268 |         storage = nil
269 |         capacity = 0
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:90:12: error: cannot find 'memcmp' in scope
 88 | public func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
 89 |     guard n == literal.utf8CodeUnitCount else { return false }
 90 |     return memcmp(p, literal.utf8Start, n) == 0
    |            `- error: cannot find 'memcmp' in scope
 91 | }
 92 |
/host/spi-builder-workspace/Sources/AvianCore/Bytes.swift:122:21: error: cannot find 'memchr' in scope
120 |     // memchr is vectorised in every libc worth using; hand-rolling a loop here
121 |     // measurably loses on long header values.
122 |     guard let hit = memchr(p, Int32(needle), n) else { return -1 }
    |                     `- error: cannot find 'memchr' in scope
123 |     return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
124 | }
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:60:20: error: cannot find 'memcpy' in scope
 58 |     public mutating func str(_ s: StaticString) {
 59 |         let n = clip(s.utf8CodeUnitCount, softCap &- len)
 60 |         if n > 0 { memcpy(buf + len, s.utf8Start, n); len &+= n }
    |                    `- error: cannot find 'memcpy' in scope
 61 |     }
 62 |
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:66:20: error: cannot find 'memcpy' in scope
 64 |     public mutating func bytes(_ p: UnsafePointer<UInt8>, _ n0: Int) {
 65 |         let n = clip(n0, softCap &- len)
 66 |         if n > 0 { memcpy(buf + len, p, n); len &+= n }
    |                    `- error: cannot find 'memcpy' in scope
 67 |     }
 68 |
[421/426] Compiling AvianCore BufferPool.swift
/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:38:23: error: cannot find 'malloc' in scope
36 |         self.count = 0
37 |         let bytes = MemoryLayout<UnsafeMutableRawPointer?>.stride * maxRetained
38 |         guard let p = malloc(bytes) else {
   |                       `- error: cannot find 'malloc' in scope
39 |             allocationFailed(bytes, "the buffer pool's free list")
40 |         }
/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:74:13: error: cannot find 'free' in scope
72 |             count &+= 1
73 |         } else {
74 |             free(p)
   |             `- error: cannot find 'free' in scope
75 |         }
76 |     }
/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:81:13: error: cannot find 'free' in scope
79 |         while count > 0 {
80 |             count &-= 1
81 |             free(slots[count])
   |             `- error: cannot find 'free' in scope
82 |         }
83 |     }
/host/spi-builder-workspace/Sources/AvianCore/BufferPool.swift:87:9: error: cannot find 'free' in scope
85 |     public mutating func destroy() {
86 |         drain()
87 |         free(slots)
   |         `- error: cannot find 'free' in scope
88 |     }
89 | }
[422/426] Compiling AvianCore Allocation.swift
/host/spi-builder-workspace/Sources/AvianCore/Allocation.swift:42:5: error: cannot find 'abort' in scope
40 |         line.str(what)
41 |     }
42 |     abort()
   |     `- error: cannot find 'abort' in scope
43 | }
44 |
[423/426] Compiling AvianCore ByteBuffer.swift
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:44:27: error: cannot find 'malloc' in scope
 42 |     public init(capacity: Int) {
 43 |         if capacity > 0 {
 44 |             guard let p = malloc(capacity) else {
    |                           `- error: cannot find 'malloc' in scope
 45 |                 allocationFailed(capacity, "a new buffer")
 46 |             }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:133:27: error: cannot find 'realloc' in scope
131 |         while newCap < need { newCap &*= 2 }
132 |         if let old = storage {
133 |             guard let p = realloc(old, newCap) else {
    |                           `- error: cannot find 'realloc' in scope
134 |                 allocationFailed(newCap, "a growing buffer")
135 |             }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:138:27: error: cannot find 'malloc' in scope
136 |             storage = UnsafeMutableRawPointer(p).assumingMemoryBound(to: UInt8.self)
137 |         } else {
138 |             guard let p = malloc(newCap) else {
    |                           `- error: cannot find 'malloc' in scope
139 |                 allocationFailed(newCap, "a growing buffer")
140 |             }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:153:13: error: cannot find 'memmove' in scope
151 |         if readerIndex == 0 { return }
152 |         if n > 0 {
153 |             memmove(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
    |             `- error: cannot find 'memmove' in scope
154 |         }
155 |         readerIndex = 0
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:165:9: error: cannot find 'memcpy' in scope
163 |         if n == 0 { return }
164 |         reserve(n)
165 |         memcpy(storage.unsafelyUnwrapped + writerIndex, p, n)
    |         `- error: cannot find 'memcpy' in scope
166 |         writerIndex &+= n
167 |     }
/host/spi-builder-workspace/Sources/AvianCore/ByteBuffer.swift:267:30: error: cannot find 'free' in scope
265 |     @inlinable
266 |     public mutating func destroy() {
267 |         if let s = storage { free(s) }
    |                              `- error: cannot find 'free' in scope
268 |         storage = nil
269 |         capacity = 0
[424/426] Compiling AvianCore CivilTime.swift
[425/426] Compiling AvianCore LoopExecutor.swift
[426/426] Compiling AvianCore Log.swift
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:60:20: error: cannot find 'memcpy' in scope
 58 |     public mutating func str(_ s: StaticString) {
 59 |         let n = clip(s.utf8CodeUnitCount, softCap &- len)
 60 |         if n > 0 { memcpy(buf + len, s.utf8Start, n); len &+= n }
    |                    `- error: cannot find 'memcpy' in scope
 61 |     }
 62 |
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:66:20: error: cannot find 'memcpy' in scope
 64 |     public mutating func bytes(_ p: UnsafePointer<UInt8>, _ n0: Int) {
 65 |         let n = clip(n0, softCap &- len)
 66 |         if n > 0 { memcpy(buf + len, p, n); len &+= n }
    |                    `- error: cannot find 'memcpy' in scope
 67 |     }
 68 |
/host/spi-builder-workspace/Sources/AvianCore/Log.swift:132:13: error: cannot find 'memcpy' in scope
130 |             if i &+ width > n { truncated = true; break }
131 |             if softCap &- len < width { truncated = true; break }
132 |             memcpy(buf + len, p + i, width)
    |             `- error: cannot find 'memcpy' in scope
133 |             len &+= width
134 |             i &+= width
BUILD FAILURE 6.2 android