The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NearbySSL, reference main (6e1004), with Swift 6.2 for Wasm on 23 Jun 2025 07:23:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/monzo/boringssl-SwiftPM.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/monzo/boringssl-SwiftPM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e10046 ✍️ Change target name to avoid clash with Firebase
Updating files:  86% (4727/5445)
Updating files:  87% (4738/5445)
Updating files:  88% (4792/5445)
Updating files:  89% (4847/5445)
Updating files:  90% (4901/5445)
Updating files:  91% (4955/5445)
Updating files:  92% (5010/5445)
Updating files:  93% (5064/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 main
========================================
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-0":/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_i2d_fp.c
[1/337] Compiling a_bool.c
[2/337] Compiling a_d2i_fp.c
[3/337] Compiling felem.c
[4/337] Compiling oct.c
[5/337] Compiling curve25519.c
[6/337] Compiling p256.c
[7/337] Compiling tls_method.cc
[8/337] Compiling tls13_client.cc
[9/337] Compiling tls13_both.cc
[10/337] Compiling tls_record.cc
[11/337] Compiling tls13_server.cc
[12/337] Compiling tls13_enc.cc
[13/337] Compiling t1_enc.cc
[14/337] Compiling t1_lib.cc
[15/337] Compiling ssl_stat.cc
[16/337] Compiling ssl_transcript.cc
[17/337] Compiling ssl_versions.cc
[18/337] Compiling ssl_session.cc
[19/337] Compiling ssl_c_test.c
[20/337] Compiling ssl_privkey.cc
[21/337] Compiling ssl_x509.cc
[22/337] Compiling ssl_key_share.cc
[23/337] Compiling ssl_file.cc
[24/337] Compiling ssl_buffer.cc
[25/337] Compiling ssl_asn1.cc
[26/337] Compiling ssl_lib.cc
[27/337] Compiling ssl_cipher.cc
[28/337] Compiling ssl_cert.cc
[29/337] Compiling s3_both.cc
[30/337] Compiling ssl_aead_ctx.cc
[31/337] Compiling s3_pkt.cc
[32/337] Compiling s3_lib.cc
[33/337] Compiling d1_srtp.cc
[34/337] Compiling dtls_record.cc
[35/337] Compiling handshake.cc
[36/337] Compiling handshake_client.cc
[37/337] Compiling handoff.cc
[38/337] Compiling handshake_server.cc
[39/337] Compiling d1_pkt.cc
[40/337] Compiling dtls_method.cc
[41/337] Compiling v3_purp.c
[42/337] Compiling v3_sxnet.c
[43/337] Compiling v3_skey.c
[44/337] Compiling v3_prn.c
[45/337] Compiling v3_utl.c
[46/337] Compiling v3_pmaps.c
[47/337] Compiling v3_pku.c
[48/337] Compiling v3_pcons.c
[49/337] Compiling v3_pcia.c
[50/337] Compiling v3_ocsp.c
[51/337] Compiling v3_pci.c
[52/337] Compiling v3_info.c
[53/337] Compiling v3_ncons.c
[54/337] Compiling v3_lib.c
[55/337] Compiling v3_int.c
[56/337] Compiling v3_genn.c
[57/337] Compiling bio_ssl.cc
[58/337] Compiling v3_ia5.c
[59/337] Compiling v3_enum.c
[60/337] Compiling d1_lib.cc
[61/337] Compiling v3_extku.c
[62/337] Compiling v3_cpols.c
[63/337] Compiling d1_both.cc
[64/337] Compiling v3_bitst.c
[65/337] Compiling v3_conf.c
[66/337] Compiling v3_crld.c
[67/337] Compiling pcy_node.c
[68/337] Compiling v3_akeya.c
[69/337] Compiling pcy_map.c
[70/337] Compiling v3_akey.c
[71/337] Compiling v3_bcons.c
[72/337] Compiling v3_alt.c
[73/337] Compiling x_x509a.c
[73/337] Compiling pcy_tree.c
[75/337] Compiling pcy_data.c
[76/337] Compiling pcy_cache.c
[77/337] Compiling pcy_lib.c
[78/337] Compiling x_sig.c
[79/337] Compiling x_val.c
[80/337] Compiling x_spki.c
[81/337] Compiling x_req.c
[82/337] Compiling x_pkey.c
[83/337] Compiling x_name.c
[84/337] Compiling x_pubkey.c
[85/337] Compiling x_x509.c
[86/337] Compiling x_algor.c
[87/337] Compiling x_info.c
[88/337] Compiling x_attrib.c
[89/337] Compiling x_exten.c
[90/337] Compiling x_all.c
[91/337] Compiling x509spki.c
[92/337] Compiling x_crl.c
[93/337] Compiling x509name.c
[94/337] Compiling x509rset.c
[95/337] Compiling x509cset.c
[96/337] Compiling x509_txt.c
[97/337] Compiling x509_vpm.c
[98/337] Compiling x509_v3.c
[99/337] Compiling x509_set.c
[100/337] Compiling x509_req.c
[101/337] Compiling x509_r2x.c
[102/337] Compiling x509_trs.c
[103/337] Compiling x509_vfy.c
[104/337] Compiling x509_obj.c
[105/337] Compiling x509_d2.c
[106/337] Compiling x509_def.c
[107/337] Compiling x509_cmp.c
[108/337] Compiling x509_ext.c
[109/337] Compiling x509_att.c
[110/337] Compiling x509.c
[111/337] Compiling x509_lu.c
[112/337] Compiling t_req.c
[113/337] Compiling t_x509a.c
[114/337] Compiling i2d_pr.c
[115/337] Compiling rsa_pss.c
[116/337] Compiling t_crl.c
[117/337] Compiling t_x509.c
[118/337] Compiling a_verify.c
[119/337] Compiling by_file.c
[120/337] Compiling algorithm.c
[121/337] Compiling by_dir.c
[122/337] Compiling thread.c
[123/337] Compiling thread_win.c
[124/337] Compiling thread_none.c
[125/337] Compiling thread_pthread.c
[126/337] Compiling a_strex.c
[127/337] Compiling a_sign.c
[128/337] Compiling asn1_gen.c
[129/337] Compiling siphash.c
[129/337] Compiling rsa_asn1.c
[131/337] Compiling rsa_print.c
[132/337] Compiling a_digest.c
[133/337] Compiling refcount_c11.c
[133/337] Compiling stack.c
[135/337] Compiling fuchsia.c
[136/337] Compiling rand_extra.c
[137/337] Compiling windows.c
[138/337] Compiling refcount_lock.c
[139/337] Compiling rc4.c
[140/337] Compiling deterministic.c
[141/337] Compiling poly1305_vec.c
[142/337] Compiling forkunsafe.c
[143/337] Compiling pool.c
[144/337] Compiling poly1305_arm.c
[145/337] Compiling poly1305_arm_asm.S
[146/337] Compiling poly1305.c
[147/337] Compiling pkcs7.c
[148/337] Compiling p5_pbev2.c
[149/337] Compiling pkcs8.c
[150/337] Compiling pem_xaux.c
[151/337] Compiling pem_x509.c
[152/337] Compiling pem_oth.c
[153/337] Compiling pem_pkey.c
[154/337] Compiling pkcs7_x509.c
[155/337] Compiling pkcs8_x509.c
[156/337] Compiling pem_pk8.c
[157/337] Compiling lhash.c
[158/337] Compiling obj_xref.c
[159/337] Compiling mem.c
[160/337] Compiling poly_rq_mul.S
[161/337] Compiling pem_info.c
[162/337] Compiling kdf.c
[163/337] Compiling hkdf.c
[163/337] Compiling pem_all.c
[165/337] Compiling hrss.c
[166/337] Compiling sha512.c
[167/337] Compiling sha1-altivec.c
[168/337] Compiling pem_lib.c
[169/337] Compiling obj.c
[170/337] Compiling self_check.c
[171/337] Compiling sha1.c
[172/337] Compiling sha256.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.
[173/337] Compiling urandom.c
[173/337] Compiling polyval.c
[173/337] Compiling rsa.c
[173/337] Compiling ctrdrbg.c
[173/337] Compiling rsa_impl.c
[173/337] Compiling rand.c
[173/337] Compiling padding.c
[173/337] Compiling blinding.c
BUILD FAILURE 6.2 wasm