Build Information
Failed to build NearbySSL, reference 0.7.3 (6e1004), with Swift 6.2 for Wasm on 23 Jun 2025 07:21:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/monzo/boringssl-SwiftPM.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/monzo/boringssl-SwiftPM
* tag 0.7.3 -> FETCH_HEAD
HEAD is now at 6e10046 ✍️ Change target name to avoid clash with Firebase
Updating files: 93% (5110/5445)
Updating files: 94% (5119/5445)
Updating files: 95% (5173/5445)
Updating files: 96% (5228/5445)
Updating files: 97% (5282/5445)
Updating files: 98% (5337/5445)
Updating files: 99% (5391/5445)
Updating files: 100% (5445/5445)
Updating files: 100% (5445/5445), done.
Cloned https://github.com/monzo/boringssl-SwiftPM.git
Revision (git rev-parse @):
6e10046127b993c69e25e5552d018f67d061ea35
SUCCESS checkout https://github.com/monzo/boringssl-SwiftPM.git at 0.7.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/monzo/boringssl-SwiftPM.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': ignoring target 'build-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/337] Compiling a_dup.c
[1/337] Compiling a_gentm.c
[2/337] Compiling a_enum.c
[3/337] Compiling curve25519.c
[4/337] Compiling p256.c
[5/337] Compiling tls_record.cc
[6/337] Compiling tls13_both.cc
[7/337] Compiling tls13_server.cc
[8/337] Compiling tls_method.cc
[9/337] Compiling tls13_enc.cc
[10/337] Compiling tls13_client.cc
[11/337] Compiling t1_enc.cc
[12/337] Compiling ssl_transcript.cc
[13/337] Compiling t1_lib.cc
[14/337] Compiling ssl_versions.cc
[15/337] Compiling ssl_stat.cc
[16/337] Compiling ssl_session.cc
[17/337] Compiling ssl_privkey.cc
[18/337] Compiling ssl_x509.cc
[19/337] Compiling ssl_c_test.c
[20/337] Compiling ssl_cipher.cc
[21/337] Compiling ssl_key_share.cc
[22/337] Compiling ssl_lib.cc
[23/337] Compiling ssl_buffer.cc
[24/337] Compiling ssl_asn1.cc
[25/337] Compiling ssl_file.cc
[26/337] Compiling ssl_aead_ctx.cc
[27/337] Compiling ssl_cert.cc
[28/337] Compiling s3_both.cc
[29/337] Compiling handshake.cc
[30/337] Compiling s3_pkt.cc
[31/337] Compiling s3_lib.cc
[32/337] Compiling handshake_client.cc
[33/337] Compiling handoff.cc
[34/337] Compiling dtls_record.cc
[35/337] Compiling handshake_server.cc
[36/337] Compiling v3_utl.c
[37/337] Compiling v3_sxnet.c
[38/337] Compiling dtls_method.cc
[39/337] Compiling v3_skey.c
[40/337] Compiling v3_purp.c
[41/337] Compiling v3_prn.c
[42/337] Compiling d1_both.cc
[43/337] Compiling v3_pku.c
[44/337] Compiling v3_pmaps.c
[45/337] Compiling v3_pcons.c
[46/337] Compiling v3_pcia.c
[47/337] Compiling v3_pci.c
[48/337] Compiling d1_srtp.cc
[49/337] Compiling v3_ocsp.c
[50/337] Compiling bio_ssl.cc
[51/337] Compiling d1_pkt.cc
[52/337] Compiling v3_lib.c
[53/337] Compiling v3_int.c
[54/337] Compiling v3_genn.c
[55/337] Compiling d1_lib.cc
[56/337] Compiling v3_ncons.c
[57/337] Compiling v3_info.c
[58/337] Compiling v3_enum.c
[59/337] Compiling v3_ia5.c
[60/337] Compiling v3_cpols.c
[61/337] Compiling v3_extku.c
[62/337] Compiling v3_crld.c
[63/337] Compiling v3_bitst.c
[64/337] Compiling v3_bcons.c
[65/337] Compiling v3_conf.c
[66/337] Compiling v3_akey.c
[67/337] Compiling v3_akeya.c
[68/337] Compiling pcy_node.c
[69/337] Compiling v3_alt.c
[70/337] Compiling pcy_tree.c
[71/337] Compiling pcy_lib.c
[72/337] Compiling pcy_map.c
[73/337] Compiling x_x509a.c
[74/337] Compiling pcy_data.c
[75/337] Compiling x_val.c
[76/337] Compiling pcy_cache.c
[77/337] Compiling x_req.c
[78/337] Compiling x_sig.c
[79/337] Compiling x_x509.c
[80/337] Compiling x_spki.c
[81/337] Compiling x_pkey.c
[82/337] Compiling x_pubkey.c
[83/337] Compiling x_exten.c
[84/337] Compiling x_info.c
[85/337] Compiling x_name.c
[86/337] Compiling x_attrib.c
[87/337] Compiling x_algor.c
[88/337] Compiling x509name.c
[89/337] Compiling x509spki.c
[90/337] Compiling x_all.c
[91/337] Compiling x_crl.c
[92/337] Compiling x509rset.c
[93/337] Compiling x509_txt.c
[94/337] Compiling x509cset.c
[95/337] Compiling x509_vfy.c
[96/337] Compiling x509_vpm.c
[97/337] Compiling x509_v3.c
[98/337] Compiling x509_r2x.c
[99/337] Compiling x509_set.c
[100/337] Compiling x509_d2.c
[101/337] Compiling x509_trs.c
[102/337] Compiling x509_req.c
[103/337] Compiling x509_obj.c
[104/337] Compiling x509_att.c
[105/337] Compiling x509_def.c
[106/337] Compiling x509_ext.c
[107/337] Compiling x509.c
[108/337] Compiling x509_cmp.c
[109/337] Compiling t_x509a.c
[110/337] Compiling t_req.c
[111/337] Compiling x509_lu.c
[112/337] Compiling asn1_gen.c
[113/337] Compiling t_crl.c
[114/337] Compiling i2d_pr.c
[115/337] Compiling t_x509.c
[116/337] Compiling rsa_pss.c
[117/337] Compiling thread_win.c
[118/337] Compiling a_verify.c
[119/337] Compiling algorithm.c
[120/337] Compiling by_file.c
[121/337] Compiling a_sign.c
[122/337] Compiling by_dir.c
[123/337] Compiling thread.c
[124/337] Compiling a_digest.c
[125/337] Compiling thread_none.c
[126/337] Compiling a_strex.c
[127/337] Compiling thread_pthread.c
[128/337] Compiling siphash.c
[129/337] Compiling stack.c
[130/337] Compiling rsa_print.c
[131/337] Compiling rc4.c
[132/337] Compiling windows.c
[133/337] Compiling rand_extra.c
[134/337] Compiling fuchsia.c
[134/337] Compiling refcount_c11.c
[136/337] Compiling refcount_lock.c
[137/337] Compiling deterministic.c
[138/337] Compiling rsa_asn1.c
[139/337] Compiling poly1305_vec.c
[140/337] Compiling forkunsafe.c
[141/337] Compiling poly1305_arm.c
[142/337] Compiling poly1305_arm_asm.S
[143/337] Compiling pool.c
[144/337] Compiling poly1305.c
[145/337] Compiling pkcs7.c
[146/337] Compiling p5_pbev2.c
[147/337] Compiling pem_xaux.c
[148/337] Compiling pem_x509.c
[149/337] Compiling pkcs8.c
[150/337] Compiling pkcs8_x509.c
[151/337] Compiling pkcs7_x509.c
[152/337] Compiling obj_xref.c
[153/337] Compiling pem_pkey.c
[154/337] Compiling pem_pk8.c
[155/337] Compiling pem_lib.c
[156/337] Compiling pem_oth.c
[157/337] Compiling mem.c
[157/337] Compiling pem_info.c
[159/337] Compiling poly_rq_mul.S
[160/337] Compiling lhash.c
[161/337] Compiling pem_all.c
[162/337] Compiling hkdf.c
[163/337] Compiling kdf.c
[164/337] Compiling sha1-altivec.c
[165/337] Compiling sha1.c
[166/337] Compiling hrss.c
[167/337] Compiling obj.c
[168/337] Compiling sha512.c
[169/337] Compiling padding.c
[170/337] Compiling self_check.c
[171/337] Compiling sha256.c
[172/337] Compiling blinding.c
[173/337] Compiling ctrdrbg.c
[174/337] Compiling rsa.c
/host/spi-builder-workspace/src/crypto/fipsmodule/rand/urandom.c:248:10: error: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
248 | fd = dup(fd);
| ^
/host/spi-builder-workspace/src/crypto/fipsmodule/rand/urandom.c:346:8: error: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
346 | fd = dup(fd);
| ^
2 errors generated.
[175/337] Compiling urandom.c
[175/337] Compiling ctr.c
[175/337] Compiling rand.c
[175/337] Compiling gcm.c
[175/337] Compiling ofb.c
[175/337] Compiling rsa_impl.c
[175/337] Compiling polyval.c
[175/337] Compiling gcm_nohw.c
BUILD FAILURE 6.2 wasm