The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aviancore, reference main (328b37), with Swift 6.3 for Android on 24 Oct 2026 22:52:00 UTC.

Build Command

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

Build Log

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