Build Information
Failed to build XcodesLoginKit, reference main (929f9a), with Swift 6.2 for Wasm on 14 Sep 2026 21:20:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XcodesOrg/XcodesLoginKit.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/XcodesOrg/XcodesLoginKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 929f9aa Merge pull request #6 from XcodesOrg/fix-asc-key-not-olympus
Cloned https://github.com/XcodesOrg/XcodesLoginKit.git
Revision (git rev-parse @):
929f9aac3140caf7b64cbb5385f4f645c5f9913d
SUCCESS checkout https://github.com/XcodesOrg/XcodesLoginKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/XcodesOrg/XcodesLoginKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/XcodesOrg/swift-srp
[1/238] Fetching swift-srp
Fetched https://github.com/XcodesOrg/swift-srp from cache (0.41s)
Fetching https://github.com/XcodesOrg/AsyncHTTPNetworkService
[1/329] Fetching asynchttpnetworkservice
Fetched https://github.com/XcodesOrg/AsyncHTTPNetworkService from cache (0.47s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kinoroy/LibFido2Swift
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/adam-fowler/big-num
[1/18490] Fetching swift-crypto
[2/18870] Fetching swift-crypto, libfido2swift
[988/30731] Fetching swift-crypto, libfido2swift, yams
[2533/32375] Fetching swift-crypto, libfido2swift, yams, big-num
Fetched https://github.com/kinoroy/LibFido2Swift from cache (0.99s)
Fetched https://github.com/jpsim/Yams from cache (1.00s)
Fetched https://github.com/adam-fowler/big-num from cache (1.16s)
Fetched https://github.com/apple/swift-crypto from cache (1.17s)
Computing version for https://github.com/kinoroy/LibFido2Swift
Computed https://github.com/kinoroy/LibFido2Swift at 0.1.6 (1.31s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.3 (0.16s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.0.6 (0.16s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.17s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/XcodesOrg/AsyncHTTPNetworkService
Working copy of https://github.com/XcodesOrg/AsyncHTTPNetworkService resolved at main (12e225a)
Creating working copy for https://github.com/XcodesOrg/swift-srp
Working copy of https://github.com/XcodesOrg/swift-srp resolved at main (543aa01)
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.3
Creating working copy for https://github.com/kinoroy/LibFido2Swift
Working copy of https://github.com/kinoroy/LibFido2Swift resolved at 0.1.6
Building for debugging...
[0/567] Write sources
[6/567] Compiling writer.c
[7/567] Compiling reader.c
[8/567] Compiling api.c
[9/567] Compiling parser.c
[10/567] Compiling emitter.c
[11/567] Compiling v3_skey.c
[12/567] Compiling v3_pmaps.c
[13/567] Compiling CCryptoBoringSSLShims shims.c
[14/567] Compiling v3_prn.c
[15/567] Write swift-version-24593BA9C3E375BF.txt
[16/567] Compiling v3_purp.c
[17/567] Compiling scanner.c
[18/567] Compiling v3_utl.c
[19/584] Compiling v3_pci.c
[20/584] Compiling v3_pcons.c
[21/584] Compiling v3_pcia.c
[22/584] Compiling v3_lib.c
[23/584] Compiling v3_ocsp.c
[24/584] Compiling v3_ncons.c
[25/584] Compiling v3_ia5.c
[26/584] Compiling v3_int.c
[27/584] Compiling v3_genn.c
[28/584] Compiling v3_extku.c
[29/584] Compiling v3_info.c
[30/584] Compiling v3_enum.c
[31/584] Compiling v3_bcons.c
[32/584] Compiling v3_crld.c
[33/584] Compiling v3_bitst.c
[34/584] Compiling v3_cpols.c
[35/584] Compiling v3_conf.c
[36/584] Compiling v3_alt.c
[37/584] Compiling v3_akeya.c
[38/584] Compiling pcy_tree.c
[39/584] Compiling v3_akey.c
[40/584] Compiling pcy_node.c
[41/584] Compiling pcy_map.c
[42/584] Compiling pcy_lib.c
[43/584] Compiling pcy_data.c
[44/584] Compiling x_x509a.c
[45/584] Compiling pcy_cache.c
[46/584] Compiling x_spki.c
[47/584] Compiling x_val.c
[48/584] Compiling x_x509.c
[49/584] Compiling x_sig.c
[50/584] Compiling x_pkey.c
[51/584] Compiling x_req.c
[52/584] Compiling x_pubkey.c
[53/584] Compiling x_name.c
[54/584] Compiling x_exten.c
[55/584] Compiling x_info.c
[56/584] Compiling x_attrib.c
[57/584] Compiling x_all.c
[58/584] Compiling x_crl.c
[59/584] Compiling x_algor.c
[60/584] Compiling x509spki.c
[61/584] Compiling x509rset.c
[62/584] Compiling x509cset.c
[63/584] Compiling x509name.c
[64/584] Compiling x509_vpm.c
[65/584] Compiling x509_txt.c
[66/584] Compiling x509_v3.c
[67/584] Compiling x509_trs.c
[68/584] Compiling x509_set.c
[69/584] Compiling x509_vfy.c
[70/584] Compiling x509_obj.c
[71/584] Compiling x509_req.c
[72/584] Compiling x509_def.c
[73/584] Compiling x509_lu.c
[74/584] Compiling x509_ext.c
[75/584] Compiling x509.c
[76/584] Compiling x509_d2.c
[77/584] Compiling t_x509a.c
[78/584] Compiling x509_att.c
[79/584] Compiling x509_cmp.c
[80/584] Compiling i2d_pr.c
[81/584] Compiling t_req.c
[82/584] Compiling t_x509.c
[83/584] Compiling rsa_pss.c
[84/584] Compiling t_crl.c
[85/584] Compiling by_file.c
[86/584] Compiling by_dir.c
[87/584] Compiling algorithm.c
[88/584] Compiling a_verify.c
[89/584] Compiling a_strex.c
[90/584] Compiling asn1_gen.c
[91/584] Compiling thread_win.c
[92/584] Compiling voprf.c
[93/584] Compiling a_digest.c
[94/584] Compiling thread_pthread.c
[95/584] Compiling thread.c
[96/584] Compiling trust_token.c
[96/584] Compiling thread_none.c
[98/584] Compiling pmbtoken.c
[99/584] Compiling a_sign.c
[100/584] Compiling rsa_print.c
[101/584] Compiling refcount_c11.c
[101/584] Compiling stack.c
[103/584] Compiling siphash.c
[104/584] Compiling rc4.c
[105/584] Compiling refcount_lock.c
[106/584] Compiling fuchsia.c
[107/584] Compiling windows.c
[107/584] Compiling rsa_asn1.c
[109/584] Compiling rand_extra.c
[110/584] Compiling deterministic.c
[111/584] Compiling passive.c
[112/584] Compiling forkunsafe.c
[113/584] Compiling poly1305_arm_asm.S
[114/584] Compiling poly1305_arm.c
[114/584] Compiling pool.c
[115/584] Compiling poly1305_vec.c
[117/584] Compiling pkcs7.c
[118/584] Compiling poly1305.c
[119/584] Compiling pem_xaux.c
[120/584] Compiling pem_x509.c
[121/584] Compiling pkcs8_x509.c
[122/584] Compiling p5_pbev2.c
[123/584] Compiling pkcs8.c
[124/584] Compiling pkcs7_x509.c
[125/584] Compiling pem_pk8.c
[126/584] Compiling obj_xref.c
[127/584] Compiling pem_oth.c
[128/584] Compiling pem_info.c
[129/584] Compiling pem_pkey.c
[130/584] Compiling pem_lib.c
[131/584] Compiling mem.c
[132/584] Compiling lhash.c
[133/584] Compiling poly_rq_mul.S
[134/584] Compiling pem_all.c
[135/584] Compiling obj.c
[136/584] Compiling x86_64-mont5.mac.x86_64.S
[136/584] Compiling hkdf.c
[138/584] Compiling hpke.c
[139/584] Compiling x86_64-mont.mac.x86_64.S
[140/584] Compiling x86_64-mont5.linux.x86_64.S
[141/584] Compiling hrss.c
[142/584] Compiling x86_64-mont.linux.x86_64.S
[143/584] Compiling x86-mont.windows.x86.S
[144/584] Compiling x86-mont.linux.x86.S
[145/584] Compiling vpaes-x86.windows.x86.S
[146/584] Compiling vpaes-x86.linux.x86.S
[147/584] Compiling vpaes-x86_64.mac.x86_64.S
[148/584] Compiling vpaes-x86_64.linux.x86_64.S
[149/584] Compiling vpaes-armv8.linux.aarch64.S
[149/584] Compiling vpaes-armv8.ios.aarch64.S
[151/584] Compiling vpaes-armv7.linux.arm.S
[152/584] Compiling vpaes-armv7.ios.arm.S
[153/584] Compiling sha512-x86_64.mac.x86_64.S
[154/584] Compiling sha512-armv8.linux.aarch64.S
[155/584] Compiling sha512-armv8.ios.aarch64.S
[156/584] Compiling kdf.c
[157/584] Compiling sha512-x86_64.linux.x86_64.S
[158/584] Compiling sha512-armv4.linux.arm.S
[159/584] Compiling sha512-armv4.ios.arm.S
[160/584] Compiling sha512-586.linux.x86.S
[160/584] Compiling sha512-586.windows.x86.S
[162/584] Compiling sha256-x86_64.mac.x86_64.S
[163/584] Compiling sha256-x86_64.linux.x86_64.S
[164/584] Compiling sha256-armv8.linux.aarch64.S
[165/584] Compiling sha256-armv4.linux.arm.S
[166/584] Compiling sha256-armv8.ios.aarch64.S
[167/584] Compiling sha256-armv4.ios.arm.S
[168/584] Compiling sha256-586.windows.x86.S
[169/584] Compiling sha1-x86_64.mac.x86_64.S
[170/584] Compiling sha256-586.linux.x86.S
[171/584] Compiling sha1-armv8.linux.aarch64.S
[172/584] Compiling sha1-x86_64.linux.x86_64.S
[173/584] Compiling sha1-armv8.ios.aarch64.S
[174/584] Compiling sha1-armv4-large.linux.arm.S
[175/584] Compiling sha1-armv4-large.ios.arm.S
[176/584] Compiling sha1-586.linux.x86.S
[177/584] Compiling sha1-586.windows.x86.S
[178/584] Compiling sha1-altivec.c
[179/584] Compiling rsaz-avx2.mac.x86_64.S
[180/584] Compiling rsaz-avx2.linux.x86_64.S
[181/584] Compiling sha256.c
[182/584] Compiling sha512.c
[183/584] Compiling sha1.c
[184/584] Compiling self_check.c
[185/584] Compiling rdrand-x86_64.mac.x86_64.S
[186/584] Compiling blinding.c
[187/584] Compiling rdrand-x86_64.linux.x86_64.S
[188/584] Compiling rsa_impl.c
[189/584] Compiling padding.c
[190/584] Compiling rsa.c
[191/584] Compiling fork_detect.c
[192/584] Compiling urandom.c
[193/584] Compiling rand.c
[194/584] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[195/584] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[196/584] Compiling p256-x86_64-asm.mac.x86_64.S
[197/584] Compiling ctrdrbg.c
[198/584] Compiling p256-x86_64-asm.linux.x86_64.S
[199/584] Compiling ofb.c
[200/584] Compiling polyval.c
[201/584] Compiling gcm_nohw.c
[202/584] Compiling ctr.c
[203/584] Compiling cfb.c
[204/584] Compiling gcm.c
[205/584] Compiling md5-x86_64.mac.x86_64.S
[206/584] Compiling cbc.c
[207/584] Compiling md5-x86_64.linux.x86_64.S
[208/584] Compiling md5-586.windows.x86.S
[209/584] Compiling md5-586.linux.x86.S
[210/584] Compiling is_fips.c
[211/584] Compiling md5.c
[212/584] Compiling ghashv8-armx64.linux.aarch64.S
[213/584] Compiling md4.c
[214/584] Compiling ghashv8-armx64.ios.aarch64.S
[215/584] Compiling hmac.c
[216/584] Compiling ghashv8-armx32.ios.arm.S
[217/584] Compiling ghashv8-armx32.linux.arm.S
[218/584] Compiling ghash-x86_64.mac.x86_64.S
[219/584] Compiling ghash-x86_64.linux.x86_64.S
[220/584] Compiling ghash-x86.windows.x86.S
[221/584] Compiling ghash-x86.linux.x86.S
[222/584] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[223/584] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[224/584] Compiling ghash-ssse3-x86.windows.x86.S
[225/584] Compiling ghash-neon-armv8.ios.aarch64.S
[226/584] Compiling ghash-armv4.linux.arm.S
[227/584] Compiling ghash-ssse3-x86.linux.x86.S
[228/584] Compiling ghash-neon-armv8.linux.aarch64.S
[229/584] Compiling fips_shared_support.c
[230/584] Compiling ghash-armv4.ios.arm.S
[231/584] Compiling util.c
[232/584] Compiling ecdh.c
[233/584] Compiling ecdsa.c
[233/584] Compiling wnaf.c
[235/584] Compiling simple_mul.c
[236/584] Compiling simple.c
[237/584] Compiling p224-64.c
[238/584] Compiling p256-x86_64.c
[239/584] Compiling scalar.c
[240/584] Compiling oct.c
[241/584] Compiling felem.c
[242/584] Compiling ec_montgomery.c
[243/584] Compiling digests.c
[244/584] Compiling digest.c
[245/584] Compiling ec_key.c
[246/584] Compiling check.c
[247/584] Compiling co-586.windows.x86.S
[248/584] Compiling co-586.linux.x86.S
[249/584] Compiling dh.c
[250/584] Compiling ec.c
[251/584] Compiling e_des.c
[252/584] Compiling bsaes-armv7.linux.arm.S
[253/584] Compiling aead.c
[254/584] Compiling bsaes-armv7.ios.arm.S
[255/584] Compiling cipher.c
[256/584] Compiling des.c
[257/584] Compiling sqrt.c
[258/584] Compiling e_aes.c
[259/584] Compiling shift.c
[260/584] Compiling rsaz_exp.c
[261/584] Compiling random.c
[262/584] Compiling montgomery_inv.c
[263/584] Compiling mul.c
[264/584] Compiling montgomery.c
[265/584] Compiling prime.c
[266/584] Compiling jacobi.c
[267/584] Compiling p256.c
[268/584] Compiling gcd_extra.c
[269/584] Compiling div_extra.c
[270/584] Compiling gcd.c
[271/584] Compiling generic.c
[272/584] Compiling div.c
[273/584] Compiling exponentiation.c
[274/584] Compiling ctx.c
[275/584] Compiling bytes.c
[276/584] Compiling cmp.c
[277/584] Compiling bn.c
[278/584] Compiling x86_64-gcc.c
[279/584] Compiling bn-586.linux.x86.S
[280/584] Compiling bn-586.windows.x86.S
[281/584] Compiling armv8-mont.linux.aarch64.S
[281/584] Compiling add.c
[283/584] Compiling armv8-mont.ios.aarch64.S
[284/584] Compiling armv4-mont.linux.arm.S
[285/584] Compiling armv4-mont.ios.arm.S
[286/584] Compiling aesv8-armx64.linux.aarch64.S
[287/584] Compiling aesv8-armx64.ios.aarch64.S
[287/584] Compiling aesv8-armx32.linux.arm.S
[289/584] Compiling aesv8-armx32.ios.arm.S
[290/584] Compiling aesni-x86_64.mac.x86_64.S
[291/584] Compiling aesni-x86_64.linux.x86_64.S
[292/584] Compiling aesni-x86.windows.x86.S
[293/584] Compiling aesni-x86.linux.x86.S
[294/584] Compiling aesni-gcm-x86_64.mac.x86_64.S
[295/584] Compiling aesni-gcm-x86_64.linux.x86_64.S
[296/584] Compiling mode_wrappers.c
[297/584] Compiling aes.c
[298/584] Compiling ex_data.c
[299/584] Compiling key_wrap.c
[300/584] Compiling sign.c
[301/584] Compiling aes_nohw.c
[302/584] Compiling scrypt.c
[303/584] Compiling pbkdf.c
[304/584] Compiling p_x25519.c
[305/584] Compiling p_x25519_asn1.c
[306/584] Compiling print.c
[307/584] Compiling p_rsa_asn1.c
[308/584] Compiling p_ed25519_asn1.c
[309/584] Compiling p_ed25519.c
[310/584] Compiling p_ec_asn1.c
[311/584] Compiling p_rsa.c
[312/584] Compiling p_ec.c
[313/584] Compiling p_dsa_asn1.c
[314/584] Compiling err_data.c
[315/584] Compiling evp_ctx.c
[316/584] Compiling digestsign.c
[317/584] Compiling evp_asn1.c
[318/584] Compiling evp.c
[319/584] Compiling engine.c
[320/584] Compiling ecdh_extra.c
[321/584] Compiling err.c
[322/584] Compiling ecdsa_asn1.c
[323/584] Compiling hash_to_curve.c
[324/584] Compiling ec_derive.c
[325/584] Compiling dsa_asn1.c
[326/584] Compiling dh_asn1.c
[327/584] Compiling ec_asn1.c
[328/584] Compiling params.c
[329/584] Compiling dsa.c
[330/584] Compiling digest_extra.c
[331/584] Compiling spake25519.c
[332/584] Compiling cpu-ppc64le.c
[333/584] Compiling x25519-asm-arm.S
[334/584] Compiling cpu-intel.c
[335/584] Compiling cpu-arm.c
[336/584] Compiling cpu-arm-linux.c
[337/584] Compiling crypto.c
[338/584] Compiling cpu-aarch64-linux.c
[338/584] Compiling cpu-aarch64-win.c
[340/584] Compiling cpu-aarch64-fuchsia.c
[341/584] Compiling e_rc4.c
[342/584] Compiling cmac.c
[343/584] Compiling e_tls.c
[344/584] Compiling conf.c
[345/584] Compiling tls_cbc.c
[346/584] Compiling e_null.c
[347/584] Compiling e_chacha20poly1305.c
[348/584] Compiling e_rc2.c
[349/584] Compiling e_aesctrhmac.c
[350/584] Compiling derive_key.c
[351/584] Compiling e_aesgcmsiv.c
[352/584] Compiling e_aesccm.c
[353/584] Compiling cipher_extra.c
[354/584] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[354/584] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[356/584] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[357/584] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[358/584] Compiling chacha-x86_64.linux.x86_64.S
[359/584] Compiling chacha-x86.windows.x86.S
[360/584] Compiling chacha-x86.linux.x86.S
[361/584] Compiling curve25519.c
[362/584] Compiling chacha-x86_64.mac.x86_64.S
[363/584] Compiling chacha.c
[364/584] Compiling chacha-armv8.linux.aarch64.S
[365/584] Compiling chacha-armv4.linux.arm.S
[366/584] Compiling chacha-armv8.ios.aarch64.S
[367/584] Compiling unicode.c
[368/584] Compiling chacha-armv4.ios.arm.S
[369/584] Compiling ber.c
[370/584] Compiling cbs.c
[371/584] Compiling bn_asn1.c
[372/584] Compiling asn1_compat.c
[373/584] Compiling buf.c
[374/584] Compiling blake2.c
[375/584] Compiling convert.c
[376/584] Compiling cbb.c
[378/584] Compiling Yams Mark.swift
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
17 | #else
18 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
19 | import Glibc
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
[379/584] Compiling Yams Node.Mapping.swift
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:18:8: error: could not build C module 'CoreFoundation'
16 | private let cpow: (_: Double, _: Double) -> Double = ucrt.pow
17 | #else
18 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
19 | import Glibc
20 | private let cpow: (_: Double, _: Double) -> Double = Glibc.pow
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/socket_helper.c:28:10: fatal error: 'netdb.h' file not found
28 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[379/585] Compiling socket_helper.c
[379/585] Compiling file.c
[379/585] Compiling socket.c
[379/585] Compiling hexdump.c
[379/585] Compiling printf.c
[379/585] Compiling pair.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[380/585] Emitting module LibFido2Swift
/host/spi-builder-workspace/.build/checkouts/LibFido2Swift/LibFido2Swift/Sources/LibFido2Swift/LibFido2Swift.swift:3:8: error: no such module 'libfido2'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import libfido2
| `- error: no such module 'libfido2'
4 | import Foundation
5 | import CryptoKit
BUILD FAILURE 6.2 wasm