The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftBeanCountSheetSync, reference main (66f562), with Swift 6.2 (beta) for Wasm on 8 Sep 2025 07:13:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountSheetSync.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/Nef10/SwiftBeanCountSheetSync
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 66f5627 Bump swiftlint to 0.61.0
Cloned https://github.com/Nef10/SwiftBeanCountSheetSync.git
Revision (git rev-parse @):
66f5627e2d209ced194971b16c0bc847c57cd964
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountSheetSync.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountSheetSync.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/GoogleAuthentication.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
[1/1116] Fetching googleauthentication
[493/3442] Fetching googleauthentication, swiftbeancountparser
[1411/7102] Fetching googleauthentication, swiftbeancountparser, swiftbeancountmodel
Fetched https://github.com/Nef10/GoogleAuthentication.git from cache (0.46s)
[4158/5986] Fetching swiftbeancountparser, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (4.50s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (4.52s)
Computing version for https://github.com/Nef10/GoogleAuthentication.git
Computed https://github.com/Nef10/GoogleAuthentication.git at 1.0.3 (5.89s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/5148] Fetching oauthswift
[2/9534] Fetching oauthswift, keychainaccess
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.86s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.87s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (2.17s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (1.26s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (1.08s)
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/apple/swift-crypto.git
[1/2390] Fetching kanna
[1412/3032] Fetching kanna, erik
[3033/9082] Fetching kanna, erik, swifter
[4667/25460] Fetching kanna, erik, swifter, swift-crypto
Fetched https://github.com/phimage/Erik.git from cache (1.61s)
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.62s)
Fetched https://github.com/httpswift/swifter.git from cache (1.63s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.90s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.99s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.42s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.43s)
Fetching https://github.com/nvzqz/FileKit.git
Fetching https://github.com/Thomvis/BrightFutures.git
[1/3123] Fetching filekit
[470/7190] Fetching filekit, brightfutures
Fetched https://github.com/nvzqz/FileKit.git from cache (0.59s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.77s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (1.27s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.47s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.45s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/Nef10/GoogleAuthentication.git
Working copy of https://github.com/Nef10/GoogleAuthentication.git resolved at 1.0.3
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Building for debugging...
[0/413] Write sources
[7/413] Write swift-version-24593BA9C3E375BF.txt
[8/413] Compiling a_d2i_fp.c
[9/413] Compiling a_bitstr.c
[10/413] Compiling v3_prn.c
[11/415] Compiling v3_utl.c
[12/415] Compiling v3_skey.c
[13/422] Compiling v3_purp.c
[14/431] Compiling v3_pmaps.c
[15/433] Compiling CCryptoBoringSSLShims shims.c
[16/433] Compiling v3_pcia.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/433] Emitting module SwiftBeanCountModel
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[18/435] Compiling v3_pcons.c
[19/435] Compiling v3_ocsp.c
[20/435] Compiling v3_pci.c
[21/435] Compiling v3_ncons.c
[22/435] Compiling v3_lib.c
[23/435] Compiling v3_int.c
[24/435] Compiling v3_info.c
[25/435] Compiling v3_ia5.c
[26/435] Compiling v3_genn.c
[27/435] Compiling v3_extku.c
[28/435] Compiling v3_enum.c
[29/435] Compiling v3_crld.c
[30/435] Compiling v3_bitst.c
[31/435] Compiling v3_bcons.c
[32/435] Compiling v3_cpols.c
[33/435] Compiling v3_conf.c
[34/435] Compiling v3_alt.c
[35/435] Compiling v3_akeya.c
[36/435] Compiling pcy_map.c
[37/435] Compiling pcy_node.c
[38/435] Compiling pcy_lib.c
[39/435] Compiling v3_akey.c
[40/435] Compiling pcy_tree.c
[41/435] Compiling pcy_data.c
[42/435] Compiling x_val.c
[43/435] Compiling x_spki.c
[44/435] Compiling x_x509a.c
[45/435] Compiling pcy_cache.c
[46/435] Compiling x_x509.c
[47/435] Compiling x_sig.c
[48/435] Compiling x_req.c
[49/435] Compiling x_pubkey.c
[50/435] Compiling x_pkey.c
[51/435] Compiling x_exten.c
[52/435] Compiling x_name.c
[53/435] Compiling x_info.c
[54/435] Compiling x_attrib.c
[55/435] Compiling x_algor.c
[56/435] Compiling x_all.c
[57/435] Compiling x509rset.c
[58/435] Compiling x509spki.c
[59/435] Compiling x_crl.c
[60/435] Compiling x509name.c
[61/435] Compiling x509cset.c
[62/435] Compiling x509_vpm.c
[63/435] Compiling x509_txt.c
[64/435] Compiling x509_v3.c
[65/435] Compiling x509_set.c
[66/435] Compiling x509_vfy.c
[67/435] Compiling x509_trs.c
[68/435] Compiling x509_req.c
[69/435] Compiling x509_obj.c
[70/435] Compiling x509_ext.c
[71/435] Compiling x509_d2.c
[72/435] Compiling x509_def.c
[73/435] Compiling x509_att.c
[74/435] Compiling x509_lu.c
[75/435] Compiling x509_cmp.c
[76/435] Compiling x509.c
[77/435] Compiling t_x509a.c
[78/435] Compiling i2d_pr.c
[79/435] Compiling t_x509.c
[80/435] Compiling rsa_pss.c
[81/435] Compiling t_crl.c
[82/435] Compiling t_req.c
[83/435] Compiling a_verify.c
[84/435] Compiling by_file.c
[85/435] Compiling asn1_gen.c
[86/435] Compiling algorithm.c
[87/435] Compiling by_dir.c
[88/435] Compiling a_strex.c
[89/435] Compiling a_sign.c
[90/435] Compiling voprf.c
[91/435] Compiling a_digest.c
[92/435] Compiling thread_win.c
[93/435] Compiling thread_none.c
[94/435] Compiling thread.c
[95/435] Compiling thread_pthread.c
[96/435] Compiling siphash.c
[97/435] Compiling trust_token.c
[98/435] Compiling rsa_print.c
[99/435] Compiling stack.c
[100/435] Compiling rsa_asn1.c
[101/435] Compiling pmbtoken.c
[102/435] Compiling refcount_c11.c
[103/435] Compiling refcount_lock.c
[104/435] Compiling rc4.c
[105/435] Compiling windows.c
[106/435] Compiling rand_extra.c
[107/435] Compiling fuchsia.c
[108/435] Compiling deterministic.c
[109/435] Compiling passive.c
[110/435] Compiling forkunsafe.c
[111/435] Compiling poly1305_arm_asm.S
[112/435] Compiling poly1305_arm.c
[113/435] Compiling poly1305_vec.c
[114/435] Compiling pool.c
[115/435] Compiling poly1305.c
[116/435] Compiling pkcs7.c
[117/435] Compiling pem_xaux.c
[118/435] Compiling pkcs8.c
[119/435] Compiling p5_pbev2.c
[120/435] Compiling pkcs7_x509.c
[121/435] Compiling pkcs8_x509.c
[122/435] Compiling pem_x509.c
[123/435] Compiling pem_pkey.c
[124/435] Compiling pem_oth.c
[125/435] Compiling pem_lib.c
[126/435] Compiling pem_pk8.c
[127/435] Compiling obj_xref.c
[128/435] Compiling mem.c
[129/435] Compiling pem_all.c
[130/435] Compiling poly_rq_mul.S
[131/435] Compiling pem_info.c
[132/435] Compiling lhash.c
[133/435] Compiling obj.c
[134/435] Compiling x86_64-mont5.mac.x86_64.S
[135/435] Compiling x86_64-mont5.linux.x86_64.S
[135/435] Compiling hpke.c
[137/435] Compiling hkdf.c
[138/435] Compiling x86_64-mont.mac.x86_64.S
[139/435] Compiling hrss.c
[140/435] Compiling x86-mont.linux.x86.S
[141/435] Compiling x86_64-mont.linux.x86_64.S
[142/435] Compiling x86-mont.windows.x86.S
[143/435] Compiling vpaes-x86_64.mac.x86_64.S
[144/435] Compiling vpaes-x86.linux.x86.S
[145/435] Compiling vpaes-x86.windows.x86.S
[146/435] Compiling vpaes-x86_64.linux.x86_64.S
[147/435] Compiling vpaes-armv8.linux.aarch64.S
[148/435] Compiling vpaes-armv8.ios.aarch64.S
[149/435] Compiling vpaes-armv7.linux.arm.S
[150/435] Compiling sha512-x86_64.mac.x86_64.S
[151/435] Compiling vpaes-armv7.ios.arm.S
[152/435] Compiling sha512-armv8.ios.aarch64.S
[153/435] Compiling sha512-x86_64.linux.x86_64.S
[154/435] Compiling kdf.c
[155/435] Compiling sha512-armv8.linux.aarch64.S
[156/435] Compiling sha512-armv4.linux.arm.S
[157/435] Compiling sha512-armv4.ios.arm.S
[158/435] Compiling sha512-586.windows.x86.S
[159/435] Compiling sha512-586.linux.x86.S
[160/435] Compiling sha256-x86_64.mac.x86_64.S
[161/435] Compiling sha256-x86_64.linux.x86_64.S
[162/435] Compiling sha256-armv8.linux.aarch64.S
[163/435] Compiling sha256-armv8.ios.aarch64.S
[164/435] Compiling sha256-586.windows.x86.S
[165/435] Compiling sha256-armv4.linux.arm.S
[166/435] Compiling sha256-armv4.ios.arm.S
[167/435] Compiling sha1-x86_64.mac.x86_64.S
[168/435] Compiling sha1-x86_64.linux.x86_64.S
[169/435] Compiling sha256-586.linux.x86.S
[170/435] Compiling sha1-armv8.ios.aarch64.S
[171/435] Compiling sha1-armv8.linux.aarch64.S
[172/435] Compiling sha1-586.linux.x86.S
[173/435] Compiling sha1-armv4-large.ios.arm.S
[174/435] Compiling sha1-586.windows.x86.S
[175/435] Compiling sha1-armv4-large.linux.arm.S
[176/435] Compiling sha1-altivec.c
[177/435] Compiling rsaz-avx2.mac.x86_64.S
[178/435] Compiling rsaz-avx2.linux.x86_64.S
[179/435] Compiling sha512.c
[180/435] Compiling sha256.c
[181/435] Compiling self_check.c
[182/435] Compiling sha1.c
[183/435] Compiling padding.c
[184/435] Compiling rsa.c
[185/435] Compiling rdrand-x86_64.mac.x86_64.S
[186/435] Compiling blinding.c
[187/435] Compiling rsa_impl.c
[188/435] Compiling rdrand-x86_64.linux.x86_64.S
[189/435] Compiling fork_detect.c
[190/435] Compiling rand.c
[190/435] Compiling urandom.c
[192/435] Compiling ctrdrbg.c
[193/435] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[194/435] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[195/435] Compiling p256-x86_64-asm.mac.x86_64.S
[196/435] Compiling p256-x86_64-asm.linux.x86_64.S
[197/435] Compiling polyval.c
[198/435] Compiling ofb.c
[199/435] Compiling gcm_nohw.c
[200/435] Compiling ctr.c
[201/435] Compiling cbc.c
[201/435] Compiling gcm.c
[203/435] Compiling md5-x86_64.linux.x86_64.S
[204/435] Compiling md5-x86_64.mac.x86_64.S
[205/435] Compiling cfb.c
[206/435] Compiling md5-586.linux.x86.S
[207/435] Compiling is_fips.c
[208/435] Compiling md5-586.windows.x86.S
[209/435] Compiling md5.c
[210/435] Compiling hmac.c
[211/435] Compiling md4.c
[212/435] Compiling ghashv8-armx64.linux.aarch64.S
[213/435] Compiling ghashv8-armx64.ios.aarch64.S
[214/435] Compiling ghashv8-armx32.linux.arm.S
[215/435] Compiling ghash-x86_64.mac.x86_64.S
[216/435] Compiling ghash-x86_64.linux.x86_64.S
[217/435] Compiling ghashv8-armx32.ios.arm.S
[218/435] Compiling ghash-x86.windows.x86.S
[220/435] Compiling SwiftBeanCountModel TransactionPosting.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[221/435] Compiling SwiftBeanCountModel ValidationResult.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[221/435] Compiling ghash-x86.linux.x86.S
[223/435] Compiling SwiftBeanCountModel Transaction.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[224/435] Compiling SwiftBeanCountModel TransactionMetaData.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[225/435] Compiling SwiftBeanCountModel Account.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[226/435] Compiling SwiftBeanCountModel AccountName.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[227/435] Compiling SwiftBeanCountModel Amount.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[228/435] Compiling SwiftBeanCountModel Balance.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[229/435] Compiling SwiftBeanCountModel Commodity.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[230/435] Compiling SwiftBeanCountModel Cost.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[230/435] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[231/435] Compiling ghash-ssse3-x86.linux.x86.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[233/435] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:26:8: error: no such module 'Foundation'
  24 | // THE SOFTWARE.
  25 |
  26 | import Foundation
     |        `- error: no such module 'Foundation'
  27 | import Security
  28 | #if os(iOS) || os(OSX)
[234/435] Compiling SwiftBeanCountModel Price.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[235/435] Compiling SwiftBeanCountModel Tag.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[236/435] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[237/435] Compiling SwiftBeanCountModel Option.swift
/host/spi-builder-workspace/.build/checkouts/SwiftBeanCountModel/Sources/SwiftBeanCountModel/Account.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// AccountType represents the five base account types
[238/435] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:26:8: error: no such module 'Foundation'
  24 | // THE SOFTWARE.
  25 |
  26 | import Foundation
     |        `- error: no such module 'Foundation'
  27 | import Security
  28 | #if os(iOS) || os(OSX)
[238/435] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[239/435] Compiling ghash-neon-armv8.linux.aarch64.S
[240/435] Compiling ghash-ssse3-x86.windows.x86.S
[241/435] Compiling ghash-neon-armv8.ios.aarch64.S
[241/435] Compiling ecdh.c
[241/435] Compiling fips_shared_support.c
[241/435] Compiling ghash-armv4.linux.arm.S
[241/435] Compiling ecdsa.c
[241/435] Compiling ghash-armv4.ios.arm.S
BUILD FAILURE 6.2 wasm