Build Information
Failed to build IDKit, reference main (9f34f0), with Swift 6.2 for Android on 16 Dec 2025 15:37:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/worldcoin/idkit-swift.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/worldcoin/idkit-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9f34f05 Update .github/workflows/relyance-sci.yml
Cloned https://github.com/worldcoin/idkit-swift.git
Revision (git rev-parse @):
9f34f0588589c765dabd9726d3ab6ef3d3a91103
SUCCESS checkout https://github.com/worldcoin/idkit-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/worldcoin/idkit-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-crypto.git
[1/4826] Fetching bigint
[725/17931] Fetching bigint, cryptoswift
[4732/35396] Fetching bigint, cryptoswift, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (4.35s)
Fetched https://github.com/apple/swift-crypto.git from cache (4.39s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.39s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (8.30s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.36s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.30s)
Fetching https://github.com/apple/swift-asn1.git
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.08s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Downloading binary artifact https://github.com/worldcoin/idkit-swift/releases/download/4.0.1/IDKitFFI.xcframework.zip
[1397/10159418] Downloading https://github.com/worldcoin/idkit-swift/releases/download/4.0.1/IDKitFFI.xcframework.zip
Downloaded https://github.com/worldcoin/idkit-swift/releases/download/4.0.1/IDKitFFI.xcframework.zip (1.45s)
Building for debugging...
[0/374] Write sources
[4/374] Copying PrivacyInfo.xcprivacy
[5/374] Write sources
[6/374] Compiling CCryptoBoringSSLShims shims.c
[7/374] Compiling fiat_p256_adx_sqr.S
[8/374] Compiling fiat_p256_adx_mul.S
[9/374] Compiling fiat_curve25519_adx_square.S
[10/374] Compiling a_i2d_fp.cc
[11/374] Compiling fiat_curve25519_adx_mul.S
[12/374] Compiling md5-x86_64-linux.S
[13/374] Compiling md5-x86_64-apple.S
[14/374] Compiling md5-586-linux.S
[15/374] Compiling md5-586-apple.S
[16/374] Compiling chacha20_poly1305_x86_64-linux.S
[17/374] Compiling a_gentm.cc
[18/374] Compiling pkcs7.cc
[19/374] Write swift-version-2B04F66FBCF4E350.txt
[20/374] Compiling a_bool.cc
[21/374] Compiling chacha20_poly1305_x86_64-apple.S
[22/390] Compiling x_spki.cc
[23/395] Compiling chacha20_poly1305_armv8-win.S
[24/396] Compiling chacha20_poly1305_armv8-linux.S
[25/411] Compiling pem_xaux.cc
[26/420] Compiling chacha20_poly1305_armv8-apple.S
[27/428] Compiling chacha-x86_64-apple.S
[28/431] Compiling chacha-x86_64-linux.S
[29/450] Compiling chacha-x86-linux.S
[30/478] Compiling chacha-armv8-apple.S
[31/479] Compiling chacha-x86-apple.S
[32/493] Compiling chacha-armv8-win.S
[33/496] Compiling chacha-armv4-linux.S
[34/496] Compiling chacha-armv8-linux.S
[35/496] Compiling aes128gcmsiv-x86_64-apple.S
[35/496] Compiling aes128gcmsiv-x86_64-linux.S
[37/496] Compiling x86_64-mont5-linux.S
[38/496] Compiling x86_64-mont-linux.S
[39/496] Compiling x86_64-mont5-apple.S
[40/496] Compiling x86-mont-linux.S
[41/496] Compiling err_data.cc
[42/496] Compiling x86-mont-apple.S
[43/496] Compiling x86_64-mont-apple.S
[44/496] Compiling vpaes-x86_64-linux.S
[45/496] Compiling vpaes-x86_64-apple.S
[46/496] Compiling vpaes-x86-linux.S
[47/496] Compiling vpaes-armv8-apple.S
[48/496] Compiling vpaes-x86-apple.S
[49/496] Compiling vpaes-armv8-win.S
[50/496] Compiling vpaes-armv7-linux.S
[51/496] Compiling vpaes-armv8-linux.S
[52/496] Compiling sha512-x86_64-apple.S
[52/496] Compiling sha512-x86_64-linux.S
[54/496] Compiling sha512-armv8-apple.S
[54/496] Compiling sha512-armv8-win.S
[54/496] Compiling sha512-armv4-linux.S
[57/496] Compiling sha256-x86_64-linux.S
[57/496] Compiling sha512-586-apple.S
[59/496] Compiling sha512-armv8-linux.S
[59/496] Compiling sha512-586-linux.S
[61/496] Compiling sha256-armv8-win.S
[62/496] Compiling sha256-x86_64-apple.S
[63/496] Compiling sha256-armv8-apple.S
[64/496] Compiling sha256-armv4-linux.S
[65/496] Compiling sha256-586-linux.S
[66/496] Compiling sha256-586-apple.S
[67/496] Compiling sha1-x86_64-linux.S
[68/496] Compiling sha256-armv8-linux.S
[69/496] Compiling sha1-x86_64-apple.S
[70/496] Compiling sha1-armv8-win.S
[71/496] Compiling sha1-armv8-apple.S
[72/496] Compiling sha1-armv4-large-linux.S
[73/496] Compiling sha1-586-linux.S
[74/496] Compiling sha1-586-apple.S
[75/496] Compiling rsaz-avx2-linux.S
[76/496] Compiling sha1-armv8-linux.S
[77/496] Compiling rsaz-avx2-apple.S
[78/496] Compiling rdrand-x86_64-linux.S
[79/496] Compiling rdrand-x86_64-apple.S
[80/496] Compiling p256_beeu-x86_64-asm-linux.S
[81/496] Compiling p256_beeu-x86_64-asm-apple.S
[82/496] Compiling p256_beeu-armv8-asm-win.S
[83/496] Compiling p256_beeu-armv8-asm-linux.S
[84/496] Compiling p256_beeu-armv8-asm-apple.S
[85/496] Compiling p256-x86_64-asm-linux.S
[86/496] Compiling p256-x86_64-asm-apple.S
[87/496] Compiling p256-armv8-asm-win.S
[88/496] Compiling p256-armv8-asm-apple.S
[89/496] Compiling ghashv8-armv8-win.S
[90/496] Compiling p256-armv8-asm-linux.S
[91/496] Compiling ghashv8-armv8-linux.S
[92/496] Compiling ghashv8-armv8-apple.S
[93/496] Compiling ghash-x86_64-apple.S
[94/496] Compiling ghashv8-armv7-linux.S
[95/496] Compiling ghash-x86_64-linux.S
[96/496] Compiling ghash-ssse3-x86_64-linux.S
[97/496] Compiling ghash-x86-linux.S
[98/496] Compiling ghash-x86-apple.S
[99/496] Compiling ghash-ssse3-x86_64-apple.S
[100/496] Compiling ghash-ssse3-x86-apple.S
[101/496] Compiling ghash-ssse3-x86-linux.S
[102/496] Compiling ghash-neon-armv8-win.S
[103/496] Compiling ghash-neon-armv8-linux.S
[104/496] Compiling ghash-neon-armv8-apple.S
[105/496] Compiling ghash-armv4-linux.S
[106/496] Compiling co-586-linux.S
[107/496] Compiling co-586-apple.S
[108/496] Compiling bn-armv8-win.S
[108/496] Compiling bsaes-armv7-linux.S
[110/496] Compiling bn-armv8-linux.S
[111/496] Compiling bn-armv8-apple.S
[112/496] Compiling bn-586-linux.S
[113/496] Compiling bn-586-apple.S
[114/496] Compiling armv8-mont-win.S
[115/496] Compiling armv8-mont-linux.S
[116/496] Compiling armv8-mont-apple.S
[117/496] Compiling armv4-mont-linux.S
[118/496] Compiling aesv8-gcm-armv8-win.S
[119/496] Compiling aesv8-gcm-armv8-apple.S
[120/496] Compiling aesv8-gcm-armv8-linux.S
[121/496] Compiling aesv8-armv8-linux.S
[122/496] Compiling aesv8-armv8-win.S
[123/496] Compiling aesv8-armv8-apple.S
[124/496] Compiling aesv8-armv7-linux.S
[125/496] Compiling aesni-x86_64-linux.S
[126/496] Compiling aesni-x86_64-apple.S
[127/496] Compiling aesni-x86-linux.S
[128/496] Compiling aesni-x86-apple.S
[129/496] Compiling aesni-gcm-x86_64-linux.S
[130/496] Compiling aes-gcm-avx512-x86_64-linux.S
[131/496] Compiling aesni-gcm-x86_64-apple.S
[132/496] Compiling aes-gcm-avx512-x86_64-apple.S
[133/496] Compiling aes-gcm-avx2-x86_64-linux.S
[134/496] Compiling aes-gcm-avx2-x86_64-apple.S
[135/496] Compiling xwing.cc
[136/496] Compiling x_req.cc
[137/496] Compiling x_sig.cc
[138/496] Compiling x_x509a.cc
[139/496] Compiling x_x509.cc
[140/496] Compiling x_pubkey.cc
[141/496] Compiling x_name.cc
[142/496] Compiling x_exten.cc
[143/496] Compiling x_attrib.cc
[144/496] Compiling x_crl.cc
[145/496] Compiling x509name.cc
[146/496] Compiling x_algor.cc
[147/496] Compiling x_all.cc
[148/496] Compiling x509spki.cc
[149/496] Compiling x509_vfy.cc
[150/496] Compiling x509rset.cc
[151/496] Compiling x509cset.cc
[152/496] Compiling x509_vpm.cc
[153/496] Compiling x509_v3.cc
[154/496] Compiling x509_req.cc
[155/496] Compiling x509_txt.cc
[156/496] Compiling x509_trs.cc
[157/496] Compiling x509_set.cc
[158/496] Compiling x509_obj.cc
[159/496] Compiling x509_ext.cc
[160/496] Compiling x509_lu.cc
[161/496] Compiling x509_def.cc
[162/496] Compiling x509_d2.cc
[163/496] Compiling x509_cmp.cc
[164/496] Compiling x509.cc
[165/496] Compiling x509_att.cc
[166/496] Compiling v3_purp.cc
[167/496] Compiling v3_skey.cc
[168/496] Compiling v3_utl.cc
[170/496] Compiling CryptoSwift AES.Cryptors.swift
[171/496] Compiling CryptoSwift AES.swift
[172/498] Compiling CryptoSwift PCBC.swift
[173/498] Compiling CryptoSwift Blowfish.swift
[174/498] Compiling CryptoSwift CBCMAC.swift
[175/498] Compiling CryptoSwift AEAD.swift
[176/498] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[177/498] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[178/498] Emitting module BigInt
[178/498] Compiling v3_prn.cc
[179/498] Compiling v3_lib.cc
[180/498] Compiling v3_pmaps.cc
[181/498] Compiling v3_pcons.cc
[182/498] Compiling v3_ncons.cc
[184/498] Compiling BigInt Subtraction.swift
[185/498] Compiling BigInt Words and Bits.swift
[185/498] Compiling v3_ocsp.cc
[186/498] Compiling v3_int.cc
[187/498] Compiling v3_genn.cc
[188/498] Compiling v3_ia5.cc
[189/498] Compiling v3_info.cc
[190/498] Compiling v3_extku.cc
[191/498] Compiling v3_enum.cc
[192/498] Compiling v3_crld.cc
[194/498] Compiling CryptoSwift BlockEncryptor.swift
[195/498] Compiling CryptoSwift BlockMode.swift
[196/498] Compiling CryptoSwift BlockModeOptions.swift
[197/498] Compiling CryptoSwift CBC.swift
[198/498] Compiling CryptoSwift CCM.swift
[199/498] Compiling CryptoSwift CFB.swift
[200/498] Compiling CryptoSwift CTR.swift
[201/498] Compiling CryptoSwift CipherModeWorker.swift
[202/498] Compiling CryptoSwift ECB.swift
[203/498] Compiling CryptoSwift GCM.swift
[204/498] Compiling CryptoSwift OCB.swift
[205/498] Compiling CryptoSwift OFB.swift
[215/512] Emitting module CryptoSwift
[223/512] Compiling CryptoSwift ASN1Encoder.swift
[224/512] Compiling CryptoSwift ASN1Scanner.swift
[225/512] Compiling CryptoSwift Array+Extension.swift
[226/512] Compiling CryptoSwift Authenticator.swift
[227/512] Compiling CryptoSwift BatchedCollection.swift
[228/512] Compiling CryptoSwift Bit.swift
[229/512] Compiling CryptoSwift BlockCipher.swift
[230/512] Compiling CryptoSwift BlockDecryptor.swift
[231/512] Compiling CryptoSwift IntegerConversion.swift
[232/512] Compiling CryptoSwift Multiplication.swift
[233/512] Compiling CryptoSwift PrimeTest.swift
[234/512] Compiling CryptoSwift Random.swift
[235/512] Compiling CryptoSwift Shifts.swift
[236/512] Compiling CryptoSwift SquareRoot.swift
[237/512] Compiling CryptoSwift Strideable.swift
[238/512] Compiling CryptoSwift StringConversion.swift
[239/512] Compiling CryptoSwift Subtraction.swift
[240/512] Compiling CryptoSwift WordsAndBits.swift
[241/512] Compiling CryptoSwift ChaCha20.swift
[242/512] Compiling CryptoSwift Checksum.swift
[243/512] Compiling CryptoSwift Cipher.swift
[244/512] Compiling CryptoSwift Collection+Extension.swift
[245/512] Compiling CryptoSwift CompactMap.swift
[246/512] Compiling CryptoSwift Cryptor.swift
[247/512] Compiling CryptoSwift Cryptors.swift
[248/512] Compiling CryptoSwift Digest.swift
[249/512] Compiling CryptoSwift DigestType.swift
[250/512] Compiling CryptoSwift AES+Foundation.swift
[251/512] Compiling CryptoSwift Array+Foundation.swift
[252/512] Compiling CryptoSwift Blowfish+Foundation.swift
[253/512] Compiling CryptoSwift ChaCha20+Foundation.swift
[254/512] Compiling CryptoSwift Data+Extension.swift
[255/512] Compiling CryptoSwift HMAC+Foundation.swift
[256/512] Compiling CryptoSwift Rabbit+Foundation.swift
[257/512] Compiling CryptoSwift String+FoundationExtension.swift
[258/512] Compiling CryptoSwift Utils+Foundation.swift
[259/512] Compiling CryptoSwift CMAC.swift
[260/512] Compiling CryptoSwift Addition.swift
[261/512] Compiling CryptoSwift BigInt.swift
[262/512] Compiling CryptoSwift BigUInt.swift
[263/512] Compiling CryptoSwift BitwiseOps.swift
[264/512] Compiling CryptoSwift CS.swift
[265/512] Compiling CryptoSwift Codable.swift
[266/512] Compiling CryptoSwift Comparable.swift
[267/512] Compiling CryptoSwift DataConversion.swift
[268/512] Compiling CryptoSwift Division.swift
[269/512] Compiling CryptoSwift Exponentiation.swift
[270/512] Compiling CryptoSwift FloatingPointConversion.swift
[271/512] Compiling CryptoSwift GCD.swift
[272/512] Compiling CryptoSwift Hashable.swift
[278/512] Compiling v3_cpols.cc
[280/512] Compiling CryptoSwift XChaCha20+Foundation.swift
[281/512] Compiling CryptoSwift Generics.swift
[282/512] Compiling CryptoSwift HKDF.swift
[283/512] Compiling CryptoSwift HMAC.swift
[284/512] Compiling CryptoSwift ISO10126Padding.swift
[285/512] Compiling CryptoSwift ISO78164Padding.swift
[286/512] Compiling CryptoSwift Int+Extension.swift
[287/512] Compiling CryptoSwift MD5.swift
[288/512] Compiling CryptoSwift NoPadding.swift
[289/512] Compiling CryptoSwift Operators.swift
[290/512] Compiling CryptoSwift DER.swift
[291/512] Compiling CryptoSwift PBKDF1.swift
[292/512] Compiling CryptoSwift PBKDF2.swift
[293/512] Compiling CryptoSwift PKCS1v15.swift
[294/512] Compiling CryptoSwift PKCS5.swift
[295/512] Compiling CryptoSwift PKCS7.swift
[296/512] Compiling CryptoSwift PKCS7Padding.swift
[297/512] Compiling CryptoSwift Padding.swift
[298/512] Compiling CryptoSwift Poly1305.swift
[299/512] Compiling CryptoSwift RSA+Cipher.swift
[300/512] Compiling CryptoSwift RSA+Signature.swift
[301/512] Compiling CryptoSwift RSA.swift
[302/512] Compiling CryptoSwift Rabbit.swift
[303/512] Compiling CryptoSwift SHA1.swift
[304/512] Compiling CryptoSwift SHA2.swift
[305/512] Compiling CryptoSwift SHA3.swift
[306/512] Compiling CryptoSwift Scrypt.swift
[307/512] Compiling CryptoSwift SecureBytes.swift
[308/513] Compiling v3_conf.cc
[309/513] Compiling v3_bitst.cc
[310/513] Compiling v3_bcons.cc
[311/513] Compiling v3_alt.cc
[312/513] Compiling v3_akeya.cc
[313/513] Compiling t_x509a.cc
[314/513] Compiling v3_akey.cc
[315/513] Compiling t_x509.cc
[316/513] Compiling t_req.cc
[317/513] Compiling rsa_pss.cc
[318/513] Compiling t_crl.cc
[319/513] Compiling policy.cc
[320/513] Compiling i2d_pr.cc
[321/513] Compiling name_print.cc
[323/513] Compiling CryptoSwift Signature.swift
[324/513] Compiling CryptoSwift StreamDecryptor.swift
[325/513] Compiling CryptoSwift StreamEncryptor.swift
[326/513] Compiling CryptoSwift String+Extension.swift
[327/513] Compiling CryptoSwift UInt128.swift
[328/513] Compiling CryptoSwift UInt16+Extension.swift
[329/513] Compiling CryptoSwift UInt32+Extension.swift
[330/513] Compiling CryptoSwift UInt64+Extension.swift
[331/513] Compiling CryptoSwift UInt8+Extension.swift
[332/513] Compiling CryptoSwift Updatable.swift
[333/513] Compiling CryptoSwift Utils.swift
[334/513] Compiling CryptoSwift XChaCha20.swift
[335/513] Compiling CryptoSwift ZeroPadding.swift
[336/513] Compiling CryptoSwift resource_bundle_accessor.swift
[337/514] Compiling asn1_gen.cc
[338/514] Compiling by_file.cc
[339/514] Compiling algorithm.cc
[340/514] Compiling a_verify.cc
[341/514] Compiling by_dir.cc
[342/514] Compiling a_sign.cc
[343/514] Compiling thread_pthread.cc
[344/514] Compiling thread_win.cc
[345/514] Compiling thread_none.cc
[346/514] Compiling a_digest.cc
[347/514] Compiling trust_token.cc
[348/514] Compiling pmbtoken.cc
[349/514] Compiling voprf.cc
[350/514] Compiling stack.cc
[351/514] Compiling thread.cc
[352/514] Compiling sha512.cc
[353/514] Compiling sha256.cc
[354/514] Compiling siphash.cc
[355/514] Compiling slhdsa.cc
[356/514] Compiling spake2plus.cc
[357/514] Compiling sha1.cc
[358/514] Compiling rsa_print.cc
[359/514] Compiling rsa_extra.cc
[360/514] Compiling refcount.cc
[361/514] Compiling rsa_crypt.cc
[362/514] Compiling rc4.cc
[363/514] Compiling urandom.cc
[364/514] Compiling trusty.cc
[365/514] Compiling windows.cc
[366/514] Compiling rsa_asn1.cc
[367/514] Compiling rand.cc
[368/514] Compiling getentropy.cc
[369/514] Compiling passive.cc
[370/514] Compiling ios.cc
[371/514] Compiling forkunsafe.cc
[372/514] Compiling fork_detect.cc
[373/514] Compiling poly1305_arm_asm.S
[374/514] Compiling deterministic.cc
[375/514] Compiling poly1305_vec.cc
[376/514] Compiling poly1305_arm.cc
[377/514] Compiling pool.cc
[378/514] Compiling poly1305.cc
[379/514] Compiling pkcs8_x509.cc
[380/514] Compiling pkcs8.cc
[381/514] Compiling p5_pbev2.cc
[382/514] Compiling pkcs7_x509.cc
[383/514] Compiling pem_x509.cc
[384/514] Compiling pem_pkey.cc
[385/514] Compiling pem_oth.cc
[386/514] Compiling pem_pk8.cc
[387/514] Compiling mlkem.cc
[388/514] Compiling obj_xref.cc
[389/514] Compiling mldsa.cc
[390/514] Compiling pem_info.cc
[391/514] Compiling pem_lib.cc
[392/514] Compiling pem_all.cc
[393/514] Compiling poly_rq_mul.S
[394/514] Compiling obj.cc
[395/514] Compiling mem.cc
[396/514] Compiling fips_shared_support.cc
[397/514] Compiling md4.cc
[398/514] Compiling lhash.cc
[399/514] Compiling fuzzer_mode.cc
[400/514] Compiling md5.cc
[401/514] Compiling kyber.cc
[402/514] Compiling hrss.cc
[403/514] Compiling ex_data.cc
[404/514] Compiling hpke.cc
[405/514] Compiling scrypt.cc
[406/514] Compiling print.cc
[407/514] Compiling sign.cc
[408/514] Compiling pbkdf.cc
[409/514] Compiling p_x25519.cc
[410/514] Compiling p_rsa_asn1.cc
[411/514] Compiling p_x25519_asn1.cc
[412/514] Compiling p_hkdf.cc
[413/514] Compiling p_ed25519.cc
[414/514] Compiling p_rsa.cc
[415/514] Compiling p_ed25519_asn1.cc
[416/514] Compiling p_ec.cc
[417/514] Compiling p_ec_asn1.cc
[418/514] Compiling p_dsa_asn1.cc
[419/514] Compiling p_dh_asn1.cc
[420/514] Compiling p_dh.cc
[421/514] Compiling err.cc
[422/514] Compiling engine.cc
[423/514] Compiling evp_ctx.cc
[424/514] Compiling ecdsa_p1363.cc
[425/514] Compiling evp_asn1.cc
[426/514] Compiling evp.cc
[427/514] Compiling ecdh.cc
[428/514] Compiling ec_derive.cc
[429/514] Compiling ecdsa_asn1.cc
[430/514] Compiling ec_asn1.cc
[431/514] Compiling dsa.cc
[432/514] Compiling hash_to_curve.cc
[433/514] Compiling dsa_asn1.cc
[434/514] Compiling digest_extra.cc
[435/514] Compiling x25519-asm-arm.S
[436/514] Compiling params.cc
[437/514] Compiling des.cc
[438/514] Compiling curve25519_64_adx.cc
[439/514] Compiling dh_asn1.cc
[440/514] Compiling spake25519.cc
[441/514] Compiling crypto.cc
[442/514] Compiling curve25519.cc
[443/514] Compiling cpu_intel.cc
[444/514] Compiling cpu_arm_freebsd.cc
[445/514] Compiling cpu_arm_linux.cc
[446/514] Compiling cpu_aarch64_win.cc
[447/514] Compiling cpu_aarch64_linux.cc
[448/514] Compiling cpu_aarch64_openbsd.cc
[449/514] Compiling cpu_aarch64_fuchsia.cc
[450/514] Compiling cpu_aarch64_apple.cc
[451/514] Compiling cpu_aarch64_sysreg.cc
[452/514] Compiling conf.cc
[453/514] Compiling e_tls.cc
[454/514] Compiling get_cipher.cc
[455/514] Compiling tls_cbc.cc
[455/514] Compiling e_rc4.cc
[457/514] Compiling e_rc2.cc
[458/514] Compiling cms.cc
[459/514] Compiling e_null.cc
[460/514] Compiling e_aesctrhmac.cc
[461/514] Compiling e_chacha20poly1305.cc
[462/514] Compiling e_aeseax.cc
[463/514] Compiling derive_key.cc
[464/514] Compiling e_des.cc
[465/514] Compiling chacha.cc
[466/514] Compiling e_aesgcmsiv.cc
[467/514] Compiling buf.cc
[468/514] Compiling ber.cc
[469/514] Compiling sqrt.cc
[470/514] Compiling unicode.cc
[471/514] Compiling cbb.cc
[472/514] Compiling asn1_compat.cc
[473/514] Compiling cbs.cc
[474/514] Compiling exponentiation.cc
[475/514] Compiling div.cc
[476/514] Compiling blake2.cc
[477/514] Compiling printf.cc
[478/514] Compiling convert.cc
[479/514] Compiling bn_asn1.cc
[480/514] Compiling pair.cc
[481/514] Compiling hexdump.cc
[482/514] Compiling fd.cc
[483/514] Compiling errno.cc
[484/514] Compiling file.cc
[485/514] Compiling bio_mem.cc
[486/514] Compiling bio.cc
[487/514] Compiling base64.cc
[488/514] Compiling tasn_fre.cc
[489/514] Compiling tasn_enc.cc
[490/514] Compiling tasn_typ.cc
[491/514] Compiling tasn_dec.cc
[492/514] Compiling tasn_new.cc
[493/514] Compiling tasn_utl.cc
[494/514] Compiling posix_time.cc
[495/514] Compiling f_string.cc
[496/514] Compiling asn_pack.cc
[497/514] Compiling f_int.cc
[498/514] Compiling asn1_par.cc
[499/514] Compiling a_utctm.cc
[500/514] Compiling bcm.cc
[501/514] Compiling asn1_lib.cc
[502/514] Compiling a_type.cc
[503/514] Compiling a_time.cc
[504/514] Compiling a_strex.cc
[505/514] Compiling a_strnid.cc
[506/514] Compiling a_octet.cc
[507/514] Compiling a_mbstr.cc
[508/514] Compiling a_d2i_fp.cc
[509/514] Compiling a_int.cc
[510/514] Compiling a_dup.cc
[511/514] Compiling aes.cc
[512/514] Compiling a_object.cc
[513/514] Compiling a_bitstr.cc
[515/522] Compiling CryptoBoringWrapper RandomBytes.swift
[516/522] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[517/522] Compiling CryptoBoringWrapper EllipticCurve.swift
[518/522] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[519/522] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[520/522] Emitting module CryptoBoringWrapper
[521/522] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[522/522] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[524/594] Emitting module Crypto
[525/604] Compiling Crypto X25519Keys.swift
[526/604] Compiling Crypto SymmetricKeys.swift
[527/604] Compiling Crypto HMAC.swift
[528/604] Compiling Crypto MACFunctions.swift
[529/604] Compiling Crypto MessageAuthenticationCode.swift
[530/604] Compiling Crypto AES.swift
[531/604] Compiling Crypto ECDSASignature_boring.swift
[532/604] Compiling Crypto ECDSA_boring.swift
[533/604] Compiling Crypto EdDSA_boring.swift
[534/604] Compiling Crypto ECDSA.swift
[535/604] Compiling Crypto HPKE-Errors.swift
[536/604] Compiling Crypto HPKE.swift
[537/604] Compiling Crypto HPKE-Context.swift
[538/604] Compiling Crypto HPKE-KeySchedule.swift
[539/604] Compiling Crypto HPKE-Modes.swift
[540/604] Compiling Crypto Insecure.swift
[541/604] Compiling Crypto Insecure_HashFunctions.swift
[542/604] Compiling Crypto KEM.swift
[543/604] Compiling Crypto ECDH_boring.swift
[544/604] Compiling Crypto DH.swift
[545/604] Compiling Crypto PKCS8PrivateKey.swift
[546/604] Compiling Crypto SEC1PrivateKey.swift
[547/604] Compiling Crypto SubjectPublicKeyInfo.swift
[548/604] Compiling Crypto CryptoError_boring.swift
[549/604] Compiling Crypto CryptoKitErrors.swift
[550/604] Compiling Crypto Digest_boring.swift
[551/604] Compiling Crypto Digest.swift
[552/604] Compiling Crypto Digests.swift
[553/604] Compiling Crypto HashFunctions.swift
[554/604] Compiling Crypto HashFunctions_SHA2.swift
[555/604] Compiling Crypto AES-GCM.swift
[556/604] Compiling Crypto AES-GCM_boring.swift
[557/604] Compiling Crypto ChaChaPoly_boring.swift
[558/604] Compiling Crypto ChaChaPoly.swift
[559/604] Compiling Crypto Cipher.swift
[560/604] Compiling Crypto Nonces.swift
[561/604] Compiling Crypto ASN1.swift
[562/604] Compiling Crypto ASN1Any.swift
[563/604] Compiling Crypto ASN1BitString.swift
[564/604] Compiling Crypto ASN1Boolean.swift
[565/604] Compiling Crypto ECDH.swift
[566/604] Compiling Crypto HKDF.swift
[567/604] Compiling Crypto AESWrap.swift
[568/604] Compiling Crypto AESWrap_boring.swift
[569/604] Compiling Crypto Ed25519_boring.swift
[570/604] Compiling Crypto NISTCurvesKeys_boring.swift
[571/604] Compiling Crypto X25519Keys_boring.swift
[572/604] Compiling Crypto Curve25519.swift
[573/604] Compiling Crypto Ed25519Keys.swift
[574/604] Compiling Crypto NISTCurvesKeys.swift
[575/604] Compiling Crypto HPKE-AEAD.swift
[576/604] Compiling Crypto HPKE-Ciphersuite.swift
[577/604] Compiling Crypto HPKE-KDF.swift
[578/604] Compiling Crypto HPKE-KexKeyDerivation.swift
[579/604] Compiling Crypto HPKE-LabeledExtract.swift
[580/604] Compiling Crypto HPKE-Utils.swift
[581/604] Compiling Crypto DHKEM.swift
[582/604] Compiling Crypto HPKE-KEM-Curve25519.swift
[583/604] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[584/604] Compiling Crypto HPKE-KEM.swift
[585/604] Compiling Crypto ASN1Identifier.swift
[586/604] Compiling Crypto ASN1Integer.swift
[587/604] Compiling Crypto ASN1Null.swift
[588/604] Compiling Crypto ASN1OctetString.swift
[589/604] Compiling Crypto ASN1Strings.swift
[590/604] Compiling Crypto ArraySliceBigint.swift
[591/604] Compiling Crypto GeneralizedTime.swift
[592/604] Compiling Crypto ObjectIdentifier.swift
[593/604] Compiling Crypto ECDSASignature.swift
[594/604] Compiling Crypto PEMDocument.swift
[595/604] Compiling Crypto Ed25519.swift
[596/604] Compiling Crypto Signature.swift
[597/604] Compiling Crypto CryptoKitErrors_boring.swift
[598/604] Compiling Crypto RNG_boring.swift
[599/604] Compiling Crypto SafeCompare_boring.swift
[600/604] Compiling Crypto Zeroization_boring.swift
[601/604] Compiling Crypto PrettyBytes.swift
[602/604] Compiling Crypto SafeCompare.swift
[603/604] Compiling Crypto SecureBytes.swift
[604/604] Compiling Crypto Zeroization.swift
[606/611] Compiling IDKit IDKit.swift
[607/611] Compiling IDKit Request+Convenience.swift
[608/611] Compiling IDKit Session+Compatibility.swift
[609/611] Compiling IDKit idkit_core.swift
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:14:23: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | fileprivate extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | // Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:38:23: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | fileprivate extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | fileprivate extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | self.init(
54 | bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:190:76: error: cannot find type 'RustBuffer' in scope
188 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | // Used for complex types where it's hard to write a custom lift/lower.
190 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 | @_documentation(visibility: private)
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
197 | var reader = createReader(data: Data(rustBuffer: buf))
198 | let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 | @_documentation(visibility: private)
208 | #endif
209 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:256:23: error: cannot find type 'RustCallStatus' in scope
254 | fileprivate let CALL_CANCELLED: Int8 = 3
255 |
256 | fileprivate extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
257 | init() {
258 | self.init(
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:269:60: error: cannot find type 'RustCallStatus' in scope
267 | }
268 |
269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
270 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
271 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:275:32: error: cannot find type 'RustBuffer' in scope
273 |
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
| `- error: cannot find type 'RustBuffer' in scope
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
277 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:276:39: error: cannot find type 'RustCallStatus' in scope
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
277 | try makeRustCall(callback, errorHandler: errorHandler)
278 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:281:39: error: cannot find type 'RustCallStatus' in scope
279 |
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
282 | errorHandler: ((RustBuffer) throws -> E)?
283 | ) throws -> T {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:282:21: error: cannot find type 'RustBuffer' in scope
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
282 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitCoreInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:292:17: error: cannot find type 'RustCallStatus' in scope
290 |
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
293 | errorHandler: ((RustBuffer) throws -> E)?
294 | ) throws {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:293:21: error: cannot find type 'RustBuffer' in scope
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
293 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
294 | ) throws {
295 | switch callStatus.code {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:327:38: error: cannot find type 'RustCallStatus' in scope
325 |
326 | private func uniffiTraitInterfaceCall<T>(
327 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:340:38: error: cannot find type 'RustCallStatus' in scope
338 |
339 | private func uniffiTraitInterfaceCallWithError<T, E>(
340 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:343:24: error: cannot find type 'RustBuffer' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
343 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
344 | ) {
345 | do {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:424:25: error: cannot find type 'RustBuffer' in scope
422 | fileprivate struct FfiConverterString: FfiConverter {
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:426:38: error: cannot find type 'RustBuffer' in scope
424 | typealias FfiType = RustBuffer
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
427 | defer {
428 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:437:50: error: cannot find type 'RustBuffer' in scope
435 | }
436 |
437 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
438 | return value.utf8CString.withUnsafeBufferPointer { ptr in
439 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:422:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
420 | @_documentation(visibility: private)
421 | #endif
422 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:513:15: error: type 'FfiConverterTypeProof' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'
162 |
163 | static func lift(_ value: FfiType) throws -> SwiftType
:
511 | @_documentation(visibility: private)
512 | #endif
513 | public struct FfiConverterTypeProof: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeProof' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
514 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Proof {
515 | return
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:603:15: error: type 'FfiConverterTypeAppError' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
601 | @_documentation(visibility: private)
602 | #endif
603 | public struct FfiConverterTypeAppError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeAppError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
604 | typealias SwiftType = AppError
605 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:679:50: error: cannot find type 'RustBuffer' in scope
677 | @_documentation(visibility: private)
678 | #endif
679 | public func FfiConverterTypeAppError_lift(_ buf: RustBuffer) throws -> AppError {
| `- error: cannot find type 'RustBuffer' in scope
680 | return try FfiConverterTypeAppError.lift(buf)
681 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:686:66: error: cannot find type 'RustBuffer' in scope
684 | @_documentation(visibility: private)
685 | #endif
686 | public func FfiConverterTypeAppError_lower(_ value: AppError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
687 | return FfiConverterTypeAppError.lower(value)
688 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:731:15: error: type 'FfiConverterTypeCredentialType' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
729 | @_documentation(visibility: private)
730 | #endif
731 | public struct FfiConverterTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
732 | typealias SwiftType = CredentialType
733 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:835:15: error: type 'FfiConverterTypeVerificationLevel' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
833 | @_documentation(visibility: private)
834 | #endif
835 | public struct FfiConverterTypeVerificationLevel: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeVerificationLevel' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
836 | typealias SwiftType = VerificationLevel
837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:887:59: error: cannot find type 'RustBuffer' in scope
885 | @_documentation(visibility: private)
886 | #endif
887 | public func FfiConverterTypeVerificationLevel_lift(_ buf: RustBuffer) throws -> VerificationLevel {
| `- error: cannot find type 'RustBuffer' in scope
888 | return try FfiConverterTypeVerificationLevel.lift(buf)
889 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:910:40: error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
908 | let bindings_contract_version = 30
909 | // Get the scaffolding contract version by calling the into the dylib
910 | let scaffolding_contract_version = ffi_idkit_core_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
911 | if bindings_contract_version != scaffolding_contract_version {
912 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:197:41: error: no exact matches in call to initializer
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
197 | var reader = createReader(data: Data(rustBuffer: buf))
| `- error: no exact matches in call to initializer
198 | let value = try read(from: &reader)
199 | if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:270:23: error: cannot find type 'RustBuffer' in scope
268 |
269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
270 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
| `- error: cannot find type 'RustBuffer' in scope
271 | return try makeRustCall(callback, errorHandler: neverThrow)
272 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitCoreInitialized()
285 | var callStatus = RustCallStatus.init()
| `- error: cannot find 'RustCallStatus' in scope
286 | let returnedVal = callback(&callStatus)
287 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:23:28: error: cannot find type 'RustBuffer' in scope
21 | }
22 |
23 | static func empty() -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
24 | RustBuffer(capacity: 0, len:0, data: nil)
25 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:27:60: error: cannot find type 'RustBuffer' in scope
25 | }
26 |
27 | static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
28 | try! rustCall { ffi_idkit_core_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[610/611] Emitting module IDKit
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:14:23: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | fileprivate extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | // Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:38:23: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | fileprivate extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | fileprivate extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | self.init(
54 | bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:190:76: error: cannot find type 'RustBuffer' in scope
188 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | // Used for complex types where it's hard to write a custom lift/lower.
190 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 | @_documentation(visibility: private)
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
197 | var reader = createReader(data: Data(rustBuffer: buf))
198 | let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 | @_documentation(visibility: private)
208 | #endif
209 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:256:23: error: cannot find type 'RustCallStatus' in scope
254 | fileprivate let CALL_CANCELLED: Int8 = 3
255 |
256 | fileprivate extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
257 | init() {
258 | self.init(
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:269:60: error: cannot find type 'RustCallStatus' in scope
267 | }
268 |
269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
270 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
271 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:275:32: error: cannot find type 'RustBuffer' in scope
273 |
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
| `- error: cannot find type 'RustBuffer' in scope
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
277 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:276:39: error: cannot find type 'RustCallStatus' in scope
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
277 | try makeRustCall(callback, errorHandler: errorHandler)
278 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:281:39: error: cannot find type 'RustCallStatus' in scope
279 |
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
282 | errorHandler: ((RustBuffer) throws -> E)?
283 | ) throws -> T {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:282:21: error: cannot find type 'RustBuffer' in scope
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
282 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:292:17: error: cannot find type 'RustCallStatus' in scope
290 |
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
293 | errorHandler: ((RustBuffer) throws -> E)?
294 | ) throws {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:293:21: error: cannot find type 'RustBuffer' in scope
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
293 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
294 | ) throws {
295 | switch callStatus.code {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:327:38: error: cannot find type 'RustCallStatus' in scope
325 |
326 | private func uniffiTraitInterfaceCall<T>(
327 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:340:38: error: cannot find type 'RustCallStatus' in scope
338 |
339 | private func uniffiTraitInterfaceCallWithError<T, E>(
340 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:343:24: error: cannot find type 'RustBuffer' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
343 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
344 | ) {
345 | do {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:464:25: error: cannot find type 'RustBuffer' in scope
462 | fileprivate struct FfiConverterString: FfiConverter {
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:466:38: error: cannot find type 'RustBuffer' in scope
464 | typealias FfiType = RustBuffer
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
467 | defer {
468 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:477:50: error: cannot find type 'RustBuffer' in scope
475 | }
476 |
477 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
478 | return value.utf8CString.withUnsafeBufferPointer { ptr in
479 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:462:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
460 | @_documentation(visibility: private)
461 | #endif
462 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:503:20: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
501 | @_documentation(visibility: private)
502 | #endif
503 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
504 | typealias SwiftType = Data
505 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1676:15: error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1674 | @_documentation(visibility: private)
1675 | #endif
1676 | public struct FfiConverterTypeIdkitError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1677 | typealias SwiftType = IdkitError
1678 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1784:52: error: cannot find type 'RustBuffer' in scope
1782 | @_documentation(visibility: private)
1783 | #endif
1784 | public func FfiConverterTypeIdkitError_lift(_ buf: RustBuffer) throws -> IdkitError {
| `- error: cannot find type 'RustBuffer' in scope
1785 | return try FfiConverterTypeIdkitError.lift(buf)
1786 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1791:70: error: cannot find type 'RustBuffer' in scope
1789 | @_documentation(visibility: private)
1790 | #endif
1791 | public func FfiConverterTypeIdkitError_lower(_ value: IdkitError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1792 | return FfiConverterTypeIdkitError.lower(value)
1793 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1835:15: error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public struct FfiConverterTypeStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1836 | typealias SwiftType = Status
1837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1885:48: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeStatus_lift(_ buf: RustBuffer) throws -> Status {
| `- error: cannot find type 'RustBuffer' in scope
1886 | return try FfiConverterTypeStatus.lift(buf)
1887 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1892:62: error: cannot find type 'RustBuffer' in scope
1890 | @_documentation(visibility: private)
1891 | #endif
1892 | public func FfiConverterTypeStatus_lower(_ value: Status) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1893 | return FfiConverterTypeStatus.lower(value)
1894 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1900:20: error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1898 | @_documentation(visibility: private)
1899 | #endif
1900 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1901 | typealias SwiftType = Bool?
1902 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1924:20: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1922 | @_documentation(visibility: private)
1923 | #endif
1924 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1925 | typealias SwiftType = String?
1926 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1948:20: error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1946 | @_documentation(visibility: private)
1947 | #endif
1948 | fileprivate struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1949 | typealias SwiftType = Data?
1950 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1972:20: error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1970 | @_documentation(visibility: private)
1971 | #endif
1972 | fileprivate struct FfiConverterOptionTypeConstraints: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1973 | typealias SwiftType = Constraints?
1974 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1996:20: error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1994 | @_documentation(visibility: private)
1995 | #endif
1996 | fileprivate struct FfiConverterOptionTypeSignal: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1997 | typealias SwiftType = Signal?
1998 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2020:20: error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2018 | @_documentation(visibility: private)
2019 | #endif
2020 | fileprivate struct FfiConverterSequenceTypeConstraintNode: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2021 | typealias SwiftType = [ConstraintNode]
2022 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2045:20: error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2043 | @_documentation(visibility: private)
2044 | #endif
2045 | fileprivate struct FfiConverterSequenceTypeRequest: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = [Request]
2047 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2070:20: error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | fileprivate struct FfiConverterSequenceTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2071 | typealias SwiftType = [CredentialType]
2072 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2141:40: error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2139 | let bindings_contract_version = 30
2140 | // Get the scaffolding contract version by calling the into the dylib
2141 | let scaffolding_contract_version = ffi_idkit_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2142 | if bindings_contract_version != scaffolding_contract_version {
2143 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2145:9: error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2143 | return InitializationResult.contractVersionMismatch
2144 | }
2145 | if (uniffi_idkit_checksum_func_credential_to_string() != 61137) {
| `- error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2148:9: error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
2148 | if (uniffi_idkit_checksum_func_proof_from_json() != 41451) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2151:9: error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
2151 | if (uniffi_idkit_checksum_func_proof_to_json() != 11599) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2154:9: error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
2154 | if (uniffi_idkit_checksum_method_constraintnode_to_json() != 54484) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2157:9: error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
2157 | if (uniffi_idkit_checksum_method_constraints_to_json() != 54987) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2160:9: error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
2160 | if (uniffi_idkit_checksum_method_request_credential_type() != 11276) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2163:9: error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
2163 | if (uniffi_idkit_checksum_method_request_face_auth() != 29714) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2166:9: error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
2166 | if (uniffi_idkit_checksum_method_request_get_signal_bytes() != 62795) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2169:9: error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
2169 | if (uniffi_idkit_checksum_method_request_to_json() != 58566) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2172:9: error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
2172 | if (uniffi_idkit_checksum_method_request_with_face_auth() != 2778) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2175:9: error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
2175 | if (uniffi_idkit_checksum_method_session_connect_url() != 12307) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2178:9: error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
2178 | if (uniffi_idkit_checksum_method_session_poll_for_status() != 46168) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2181:9: error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
2181 | if (uniffi_idkit_checksum_method_session_request_id() != 24304) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2184:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
2184 | if (uniffi_idkit_checksum_method_session_wait_for_proof() != 46359) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2187:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
2187 | if (uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout() != 38030) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2190:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
2190 | if (uniffi_idkit_checksum_method_signal_as_bytes() != 58268) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2193:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
2193 | if (uniffi_idkit_checksum_method_signal_as_string() != 53522) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2196:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
2196 | if (uniffi_idkit_checksum_constructor_constraintnode_all() != 34904) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2199:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
2199 | if (uniffi_idkit_checksum_constructor_constraintnode_any() != 13996) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2202:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
2202 | if (uniffi_idkit_checksum_constructor_constraintnode_credential() != 25782) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2205:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
2205 | if (uniffi_idkit_checksum_constructor_constraintnode_from_json() != 8810) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2208:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_idkit_checksum_constructor_constraints_all() != 22097) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2211:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_idkit_checksum_constructor_constraints_any() != 27843) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2214:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_idkit_checksum_constructor_constraints_from_json() != 52569) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2217:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_idkit_checksum_constructor_constraints_new() != 48105) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2220:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_idkit_checksum_constructor_request_from_json() != 40767) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2223:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_idkit_checksum_constructor_request_new() != 56562) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2226:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_idkit_checksum_constructor_session_create() != 30873) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2229:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
2229 | if (uniffi_idkit_checksum_constructor_session_create_with_options() != 10844) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2232:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
2232 | if (uniffi_idkit_checksum_constructor_session_from_verification_level() != 29046) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2235:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
2235 | if (uniffi_idkit_checksum_constructor_signal_from_abi_encoded() != 47274) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2238:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
2238 | if (uniffi_idkit_checksum_constructor_signal_from_string() != 7997) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2239 | return InitializationResult.apiChecksumMismatch
2240 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:14:23: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | fileprivate extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | // Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:38:23: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | fileprivate extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | fileprivate extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | self.init(
54 | bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:190:76: error: cannot find type 'RustBuffer' in scope
188 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | // Used for complex types where it's hard to write a custom lift/lower.
190 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 | @_documentation(visibility: private)
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
197 | var reader = createReader(data: Data(rustBuffer: buf))
198 | let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 | @_documentation(visibility: private)
208 | #endif
209 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:256:23: error: cannot find type 'RustCallStatus' in scope
254 | fileprivate let CALL_CANCELLED: Int8 = 3
255 |
256 | fileprivate extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
257 | init() {
258 | self.init(
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:269:60: error: cannot find type 'RustCallStatus' in scope
267 | }
268 |
269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
270 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
271 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:275:32: error: cannot find type 'RustBuffer' in scope
273 |
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
| `- error: cannot find type 'RustBuffer' in scope
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
277 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:276:39: error: cannot find type 'RustCallStatus' in scope
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
277 | try makeRustCall(callback, errorHandler: errorHandler)
278 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:281:39: error: cannot find type 'RustCallStatus' in scope
279 |
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
282 | errorHandler: ((RustBuffer) throws -> E)?
283 | ) throws -> T {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:282:21: error: cannot find type 'RustBuffer' in scope
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
282 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitCoreInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:292:17: error: cannot find type 'RustCallStatus' in scope
290 |
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
293 | errorHandler: ((RustBuffer) throws -> E)?
294 | ) throws {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:293:21: error: cannot find type 'RustBuffer' in scope
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
293 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
294 | ) throws {
295 | switch callStatus.code {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:327:38: error: cannot find type 'RustCallStatus' in scope
325 |
326 | private func uniffiTraitInterfaceCall<T>(
327 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:340:38: error: cannot find type 'RustCallStatus' in scope
338 |
339 | private func uniffiTraitInterfaceCallWithError<T, E>(
340 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:343:24: error: cannot find type 'RustBuffer' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
343 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
344 | ) {
345 | do {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:424:25: error: cannot find type 'RustBuffer' in scope
422 | fileprivate struct FfiConverterString: FfiConverter {
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:426:38: error: cannot find type 'RustBuffer' in scope
424 | typealias FfiType = RustBuffer
425 |
426 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
427 | defer {
428 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:437:50: error: cannot find type 'RustBuffer' in scope
435 | }
436 |
437 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
438 | return value.utf8CString.withUnsafeBufferPointer { ptr in
439 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:422:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
420 | @_documentation(visibility: private)
421 | #endif
422 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
423 | typealias SwiftType = String
424 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:513:15: error: type 'FfiConverterTypeProof' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
| `- note: protocol requires nested type 'SwiftType'
162 |
163 | static func lift(_ value: FfiType) throws -> SwiftType
:
511 | @_documentation(visibility: private)
512 | #endif
513 | public struct FfiConverterTypeProof: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeProof' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
514 | public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> Proof {
515 | return
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:603:15: error: type 'FfiConverterTypeAppError' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
601 | @_documentation(visibility: private)
602 | #endif
603 | public struct FfiConverterTypeAppError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeAppError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
604 | typealias SwiftType = AppError
605 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:679:50: error: cannot find type 'RustBuffer' in scope
677 | @_documentation(visibility: private)
678 | #endif
679 | public func FfiConverterTypeAppError_lift(_ buf: RustBuffer) throws -> AppError {
| `- error: cannot find type 'RustBuffer' in scope
680 | return try FfiConverterTypeAppError.lift(buf)
681 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:686:66: error: cannot find type 'RustBuffer' in scope
684 | @_documentation(visibility: private)
685 | #endif
686 | public func FfiConverterTypeAppError_lower(_ value: AppError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
687 | return FfiConverterTypeAppError.lower(value)
688 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:731:15: error: type 'FfiConverterTypeCredentialType' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
729 | @_documentation(visibility: private)
730 | #endif
731 | public struct FfiConverterTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
732 | typealias SwiftType = CredentialType
733 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:835:15: error: type 'FfiConverterTypeVerificationLevel' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
833 | @_documentation(visibility: private)
834 | #endif
835 | public struct FfiConverterTypeVerificationLevel: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeVerificationLevel' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
836 | typealias SwiftType = VerificationLevel
837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:887:59: error: cannot find type 'RustBuffer' in scope
885 | @_documentation(visibility: private)
886 | #endif
887 | public func FfiConverterTypeVerificationLevel_lift(_ buf: RustBuffer) throws -> VerificationLevel {
| `- error: cannot find type 'RustBuffer' in scope
888 | return try FfiConverterTypeVerificationLevel.lift(buf)
889 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:910:40: error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
908 | let bindings_contract_version = 30
909 | // Get the scaffolding contract version by calling the into the dylib
910 | let scaffolding_contract_version = ffi_idkit_core_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_core_uniffi_contract_version' in scope
911 | if bindings_contract_version != scaffolding_contract_version {
912 | return InitializationResult.contractVersionMismatch
[611/611] Compiling IDKit idkit.swift
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:14:23: error: cannot find type 'RustBuffer' in scope
12 | #endif
13 |
14 | fileprivate extension RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
15 | // Allocate a new buffer, copying the contents of a `UInt8` array.
16 | init(bytes: [UInt8]) {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:38:23: error: cannot find type 'ForeignBytes' in scope
36 | }
37 |
38 | fileprivate extension ForeignBytes {
| `- error: cannot find type 'ForeignBytes' in scope
39 | init(bufferPointer: UnsafeBufferPointer<UInt8>) {
40 | self.init(len: Int32(bufferPointer.count), data: bufferPointer.baseAddress)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:52:22: error: cannot find type 'RustBuffer' in scope
50 |
51 | fileprivate extension Data {
52 | init(rustBuffer: RustBuffer) {
| `- error: cannot find type 'RustBuffer' in scope
53 | self.init(
54 | bytesNoCopy: rustBuffer.data!,
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:190:76: error: cannot find type 'RustBuffer' in scope
188 | // Types conforming to `FfiConverterRustBuffer` lift and lower into a `RustBuffer`.
189 | // Used for complex types where it's hard to write a custom lift/lower.
190 | fileprivate protocol FfiConverterRustBuffer: FfiConverter where FfiType == RustBuffer {}
| `- error: cannot find type 'RustBuffer' in scope
191 |
192 | extension FfiConverterRustBuffer {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:196:36: error: cannot find type 'RustBuffer' in scope
194 | @_documentation(visibility: private)
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
| `- error: cannot find type 'RustBuffer' in scope
197 | var reader = createReader(data: Data(rustBuffer: buf))
198 | let value = try read(from: &reader)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:209:53: error: cannot find type 'RustBuffer' in scope
207 | @_documentation(visibility: private)
208 | #endif
209 | public static func lower(_ value: SwiftType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
210 | var writer = createWriter()
211 | write(value, into: &writer)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:256:23: error: cannot find type 'RustCallStatus' in scope
254 | fileprivate let CALL_CANCELLED: Int8 = 3
255 |
256 | fileprivate extension RustCallStatus {
| `- error: cannot find type 'RustCallStatus' in scope
257 | init() {
258 | self.init(
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:269:60: error: cannot find type 'RustCallStatus' in scope
267 | }
268 |
269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
270 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
271 | return try makeRustCall(callback, errorHandler: neverThrow)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:275:32: error: cannot find type 'RustBuffer' in scope
273 |
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
| `- error: cannot find type 'RustBuffer' in scope
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
277 | try makeRustCall(callback, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:276:39: error: cannot find type 'RustCallStatus' in scope
274 | private func rustCallWithError<T, E: Swift.Error>(
275 | _ errorHandler: @escaping (RustBuffer) throws -> E,
276 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
| `- error: cannot find type 'RustCallStatus' in scope
277 | try makeRustCall(callback, errorHandler: errorHandler)
278 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:281:39: error: cannot find type 'RustCallStatus' in scope
279 |
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
| `- error: cannot find type 'RustCallStatus' in scope
282 | errorHandler: ((RustBuffer) throws -> E)?
283 | ) throws -> T {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:282:21: error: cannot find type 'RustBuffer' in scope
280 | private func makeRustCall<T, E: Swift.Error>(
281 | _ callback: (UnsafeMutablePointer<RustCallStatus>) -> T,
282 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitInitialized()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:292:17: error: cannot find type 'RustCallStatus' in scope
290 |
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
| `- error: cannot find type 'RustCallStatus' in scope
293 | errorHandler: ((RustBuffer) throws -> E)?
294 | ) throws {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:293:21: error: cannot find type 'RustBuffer' in scope
291 | private func uniffiCheckCallStatus<E: Swift.Error>(
292 | callStatus: RustCallStatus,
293 | errorHandler: ((RustBuffer) throws -> E)?
| `- error: cannot find type 'RustBuffer' in scope
294 | ) throws {
295 | switch callStatus.code {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:327:38: error: cannot find type 'RustCallStatus' in scope
325 |
326 | private func uniffiTraitInterfaceCall<T>(
327 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
328 | makeCall: () throws -> T,
329 | writeReturn: (T) -> ()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:340:38: error: cannot find type 'RustCallStatus' in scope
338 |
339 | private func uniffiTraitInterfaceCallWithError<T, E>(
340 | callStatus: UnsafeMutablePointer<RustCallStatus>,
| `- error: cannot find type 'RustCallStatus' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:343:24: error: cannot find type 'RustBuffer' in scope
341 | makeCall: () throws -> T,
342 | writeReturn: (T) -> (),
343 | lowerError: (E) -> RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
344 | ) {
345 | do {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:464:25: error: cannot find type 'RustBuffer' in scope
462 | fileprivate struct FfiConverterString: FfiConverter {
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
| `- error: cannot find type 'RustBuffer' in scope
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:466:38: error: cannot find type 'RustBuffer' in scope
464 | typealias FfiType = RustBuffer
465 |
466 | public static func lift(_ value: RustBuffer) throws -> String {
| `- error: cannot find type 'RustBuffer' in scope
467 | defer {
468 | value.deallocate()
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:477:50: error: cannot find type 'RustBuffer' in scope
475 | }
476 |
477 | public static func lower(_ value: String) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
478 | return value.utf8CString.withUnsafeBufferPointer { ptr in
479 | // The swift string gives us int8_t, we want uint8_t.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:462:20: error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
460 | @_documentation(visibility: private)
461 | #endif
462 | fileprivate struct FfiConverterString: FfiConverter {
| |- error: type 'FfiConverterString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
463 | typealias SwiftType = String
464 | typealias FfiType = RustBuffer
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:503:20: error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
501 | @_documentation(visibility: private)
502 | #endif
503 | fileprivate struct FfiConverterData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
504 | typealias SwiftType = Data
505 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1676:15: error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1674 | @_documentation(visibility: private)
1675 | #endif
1676 | public struct FfiConverterTypeIdkitError: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeIdkitError' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1677 | typealias SwiftType = IdkitError
1678 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1784:52: error: cannot find type 'RustBuffer' in scope
1782 | @_documentation(visibility: private)
1783 | #endif
1784 | public func FfiConverterTypeIdkitError_lift(_ buf: RustBuffer) throws -> IdkitError {
| `- error: cannot find type 'RustBuffer' in scope
1785 | return try FfiConverterTypeIdkitError.lift(buf)
1786 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1791:70: error: cannot find type 'RustBuffer' in scope
1789 | @_documentation(visibility: private)
1790 | #endif
1791 | public func FfiConverterTypeIdkitError_lower(_ value: IdkitError) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1792 | return FfiConverterTypeIdkitError.lower(value)
1793 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1835:15: error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1833 | @_documentation(visibility: private)
1834 | #endif
1835 | public struct FfiConverterTypeStatus: FfiConverterRustBuffer {
| |- error: type 'FfiConverterTypeStatus' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1836 | typealias SwiftType = Status
1837 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1885:48: error: cannot find type 'RustBuffer' in scope
1883 | @_documentation(visibility: private)
1884 | #endif
1885 | public func FfiConverterTypeStatus_lift(_ buf: RustBuffer) throws -> Status {
| `- error: cannot find type 'RustBuffer' in scope
1886 | return try FfiConverterTypeStatus.lift(buf)
1887 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1892:62: error: cannot find type 'RustBuffer' in scope
1890 | @_documentation(visibility: private)
1891 | #endif
1892 | public func FfiConverterTypeStatus_lower(_ value: Status) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
1893 | return FfiConverterTypeStatus.lower(value)
1894 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1900:20: error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1898 | @_documentation(visibility: private)
1899 | #endif
1900 | fileprivate struct FfiConverterOptionBool: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionBool' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1901 | typealias SwiftType = Bool?
1902 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1924:20: error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1922 | @_documentation(visibility: private)
1923 | #endif
1924 | fileprivate struct FfiConverterOptionString: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionString' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1925 | typealias SwiftType = String?
1926 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1948:20: error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1946 | @_documentation(visibility: private)
1947 | #endif
1948 | fileprivate struct FfiConverterOptionData: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionData' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1949 | typealias SwiftType = Data?
1950 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1972:20: error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1970 | @_documentation(visibility: private)
1971 | #endif
1972 | fileprivate struct FfiConverterOptionTypeConstraints: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeConstraints' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1973 | typealias SwiftType = Constraints?
1974 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1996:20: error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
1994 | @_documentation(visibility: private)
1995 | #endif
1996 | fileprivate struct FfiConverterOptionTypeSignal: FfiConverterRustBuffer {
| |- error: type 'FfiConverterOptionTypeSignal' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
1997 | typealias SwiftType = Signal?
1998 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2020:20: error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2018 | @_documentation(visibility: private)
2019 | #endif
2020 | fileprivate struct FfiConverterSequenceTypeConstraintNode: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeConstraintNode' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2021 | typealias SwiftType = [ConstraintNode]
2022 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2045:20: error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2043 | @_documentation(visibility: private)
2044 | #endif
2045 | fileprivate struct FfiConverterSequenceTypeRequest: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeRequest' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2046 | typealias SwiftType = [Request]
2047 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2070:20: error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
158 | // analogous to the Rust trait of the same name.
159 | fileprivate protocol FfiConverter {
160 | associatedtype FfiType
| `- note: protocol requires nested type 'FfiType'
161 | associatedtype SwiftType
162 |
:
2068 | @_documentation(visibility: private)
2069 | #endif
2070 | fileprivate struct FfiConverterSequenceTypeCredentialType: FfiConverterRustBuffer {
| |- error: type 'FfiConverterSequenceTypeCredentialType' does not conform to protocol 'FfiConverter'
| `- note: add stubs for conformance
2071 | typealias SwiftType = [CredentialType]
2072 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2141:40: error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2139 | let bindings_contract_version = 30
2140 | // Get the scaffolding contract version by calling the into the dylib
2141 | let scaffolding_contract_version = ffi_idkit_uniffi_contract_version()
| `- error: cannot find 'ffi_idkit_uniffi_contract_version' in scope
2142 | if bindings_contract_version != scaffolding_contract_version {
2143 | return InitializationResult.contractVersionMismatch
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2145:9: error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2143 | return InitializationResult.contractVersionMismatch
2144 | }
2145 | if (uniffi_idkit_checksum_func_credential_to_string() != 61137) {
| `- error: cannot find 'uniffi_idkit_checksum_func_credential_to_string' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2148:9: error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2146 | return InitializationResult.apiChecksumMismatch
2147 | }
2148 | if (uniffi_idkit_checksum_func_proof_from_json() != 41451) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_from_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2151:9: error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2149 | return InitializationResult.apiChecksumMismatch
2150 | }
2151 | if (uniffi_idkit_checksum_func_proof_to_json() != 11599) {
| `- error: cannot find 'uniffi_idkit_checksum_func_proof_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2154:9: error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2152 | return InitializationResult.apiChecksumMismatch
2153 | }
2154 | if (uniffi_idkit_checksum_method_constraintnode_to_json() != 54484) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraintnode_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2157:9: error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2155 | return InitializationResult.apiChecksumMismatch
2156 | }
2157 | if (uniffi_idkit_checksum_method_constraints_to_json() != 54987) {
| `- error: cannot find 'uniffi_idkit_checksum_method_constraints_to_json' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2160:9: error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2158 | return InitializationResult.apiChecksumMismatch
2159 | }
2160 | if (uniffi_idkit_checksum_method_request_credential_type() != 11276) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_credential_type' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2163:9: error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2161 | return InitializationResult.apiChecksumMismatch
2162 | }
2163 | if (uniffi_idkit_checksum_method_request_face_auth() != 29714) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_face_auth' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2166:9: error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2164 | return InitializationResult.apiChecksumMismatch
2165 | }
2166 | if (uniffi_idkit_checksum_method_request_get_signal_bytes() != 62795) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_get_signal_bytes' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2169:9: error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2167 | return InitializationResult.apiChecksumMismatch
2168 | }
2169 | if (uniffi_idkit_checksum_method_request_to_json() != 58566) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_to_json' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2172:9: error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2170 | return InitializationResult.apiChecksumMismatch
2171 | }
2172 | if (uniffi_idkit_checksum_method_request_with_face_auth() != 2778) {
| `- error: cannot find 'uniffi_idkit_checksum_method_request_with_face_auth' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2175:9: error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2173 | return InitializationResult.apiChecksumMismatch
2174 | }
2175 | if (uniffi_idkit_checksum_method_session_connect_url() != 12307) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_connect_url' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2178:9: error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2176 | return InitializationResult.apiChecksumMismatch
2177 | }
2178 | if (uniffi_idkit_checksum_method_session_poll_for_status() != 46168) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_poll_for_status' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2181:9: error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2179 | return InitializationResult.apiChecksumMismatch
2180 | }
2181 | if (uniffi_idkit_checksum_method_session_request_id() != 24304) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_request_id' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2184:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2182 | return InitializationResult.apiChecksumMismatch
2183 | }
2184 | if (uniffi_idkit_checksum_method_session_wait_for_proof() != 46359) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2187:9: error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2185 | return InitializationResult.apiChecksumMismatch
2186 | }
2187 | if (uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout() != 38030) {
| `- error: cannot find 'uniffi_idkit_checksum_method_session_wait_for_proof_with_timeout' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2190:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2188 | return InitializationResult.apiChecksumMismatch
2189 | }
2190 | if (uniffi_idkit_checksum_method_signal_as_bytes() != 58268) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_bytes' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2193:9: error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2191 | return InitializationResult.apiChecksumMismatch
2192 | }
2193 | if (uniffi_idkit_checksum_method_signal_as_string() != 53522) {
| `- error: cannot find 'uniffi_idkit_checksum_method_signal_as_string' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2196:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2194 | return InitializationResult.apiChecksumMismatch
2195 | }
2196 | if (uniffi_idkit_checksum_constructor_constraintnode_all() != 34904) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_all' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2199:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2197 | return InitializationResult.apiChecksumMismatch
2198 | }
2199 | if (uniffi_idkit_checksum_constructor_constraintnode_any() != 13996) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_any' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2202:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2200 | return InitializationResult.apiChecksumMismatch
2201 | }
2202 | if (uniffi_idkit_checksum_constructor_constraintnode_credential() != 25782) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_credential' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2205:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2203 | return InitializationResult.apiChecksumMismatch
2204 | }
2205 | if (uniffi_idkit_checksum_constructor_constraintnode_from_json() != 8810) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraintnode_from_json' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2208:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2206 | return InitializationResult.apiChecksumMismatch
2207 | }
2208 | if (uniffi_idkit_checksum_constructor_constraints_all() != 22097) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_all' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2211:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2209 | return InitializationResult.apiChecksumMismatch
2210 | }
2211 | if (uniffi_idkit_checksum_constructor_constraints_any() != 27843) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_any' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2214:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2212 | return InitializationResult.apiChecksumMismatch
2213 | }
2214 | if (uniffi_idkit_checksum_constructor_constraints_from_json() != 52569) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_from_json' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2217:9: error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2215 | return InitializationResult.apiChecksumMismatch
2216 | }
2217 | if (uniffi_idkit_checksum_constructor_constraints_new() != 48105) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_constraints_new' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2220:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2218 | return InitializationResult.apiChecksumMismatch
2219 | }
2220 | if (uniffi_idkit_checksum_constructor_request_from_json() != 40767) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_from_json' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2223:9: error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2221 | return InitializationResult.apiChecksumMismatch
2222 | }
2223 | if (uniffi_idkit_checksum_constructor_request_new() != 56562) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_request_new' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2226:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2224 | return InitializationResult.apiChecksumMismatch
2225 | }
2226 | if (uniffi_idkit_checksum_constructor_session_create() != 30873) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2229:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2227 | return InitializationResult.apiChecksumMismatch
2228 | }
2229 | if (uniffi_idkit_checksum_constructor_session_create_with_options() != 10844) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_create_with_options' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2232:9: error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2230 | return InitializationResult.apiChecksumMismatch
2231 | }
2232 | if (uniffi_idkit_checksum_constructor_session_from_verification_level() != 29046) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_session_from_verification_level' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2235:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2233 | return InitializationResult.apiChecksumMismatch
2234 | }
2235 | if (uniffi_idkit_checksum_constructor_signal_from_abi_encoded() != 47274) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_abi_encoded' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2238:9: error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2236 | return InitializationResult.apiChecksumMismatch
2237 | }
2238 | if (uniffi_idkit_checksum_constructor_signal_from_string() != 7997) {
| `- error: cannot find 'uniffi_idkit_checksum_constructor_signal_from_string' in scope
2239 | return InitializationResult.apiChecksumMismatch
2240 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:197:41: error: no exact matches in call to initializer
195 | #endif
196 | public static func lift(_ buf: RustBuffer) throws -> SwiftType {
197 | var reader = createReader(data: Data(rustBuffer: buf))
| `- error: no exact matches in call to initializer
198 | let value = try read(from: &reader)
199 | if hasRemaining(reader) {
FoundationEssentials.Data.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | struct Data {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, S.Element == UInt8}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rustBuffer:)', expected: '(_:)')
3 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:270:23: error: cannot find type 'RustBuffer' in scope
268 |
269 | private func rustCall<T>(_ callback: (UnsafeMutablePointer<RustCallStatus>) -> T) throws -> T {
270 | let neverThrow: ((RustBuffer) throws -> Never)? = nil
| `- error: cannot find type 'RustBuffer' in scope
271 | return try makeRustCall(callback, errorHandler: neverThrow)
272 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:285:22: error: cannot find 'RustCallStatus' in scope
283 | ) throws -> T {
284 | uniffiEnsureIdkitInitialized()
285 | var callStatus = RustCallStatus.init()
| `- error: cannot find 'RustCallStatus' in scope
286 | let returnedVal = callback(&callStatus)
287 | try uniffiCheckCallStatus(callStatus: callStatus, errorHandler: errorHandler)
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:580:32: error: cannot find 'uniffi_idkit_fn_clone_constraintnode' in scope
578 | #endif
579 | public func uniffiCloneHandle() -> UInt64 {
580 | return try! rustCall { uniffi_idkit_fn_clone_constraintnode(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_constraintnode' in scope
581 | }
582 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:585:25: error: cannot find 'uniffi_idkit_fn_free_constraintnode' in scope
583 |
584 | deinit {
585 | try! rustCall { uniffi_idkit_fn_free_constraintnode(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_constraintnode' in scope
586 | }
587 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:596:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_all' in scope
594 | public static func all(nodes: [ConstraintNode]) -> ConstraintNode {
595 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
596 | uniffi_idkit_fn_constructor_constraintnode_all(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_all' in scope
597 | FfiConverterSequenceTypeConstraintNode.lower(nodes),$0
598 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:610:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_any' in scope
608 | public static func any(nodes: [ConstraintNode]) -> ConstraintNode {
609 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
610 | uniffi_idkit_fn_constructor_constraintnode_any(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_any' in scope
611 | FfiConverterSequenceTypeConstraintNode.lower(nodes),$0
612 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:621:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_credential' in scope
619 | public static func credential(credentialType: CredentialType) -> ConstraintNode {
620 | return try! FfiConverterTypeConstraintNode_lift(try! rustCall() {
621 | uniffi_idkit_fn_constructor_constraintnode_credential(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_credential' in scope
622 | FfiConverterTypeCredentialType_lower(credentialType),$0
623 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:790:78: error: cannot find type 'RustBuffer' in scope
788 | @_documentation(visibility: private)
789 | #endif
790 | public func FfiConverterTypeCredentialType_lower(_ value: CredentialType) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
791 | return FfiConverterTypeCredentialType.lower(value)
792 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:636:5: error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_from_json' in scope
634 | public static func fromJson(json: String)throws -> ConstraintNode {
635 | return try FfiConverterTypeConstraintNode_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
636 | uniffi_idkit_fn_constructor_constraintnode_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraintnode_from_json' in scope
637 | FfiConverterString.lower(json),$0
638 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:653:5: error: cannot find 'uniffi_idkit_fn_method_constraintnode_to_json' in scope
651 | open func toJson()throws -> String {
652 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
653 | uniffi_idkit_fn_method_constraintnode_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_constraintnode_to_json' in scope
654 | self.uniffiCloneHandle(),$0
655 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:768:32: error: cannot find 'uniffi_idkit_fn_clone_constraints' in scope
766 | #endif
767 | public func uniffiCloneHandle() -> UInt64 {
768 | return try! rustCall { uniffi_idkit_fn_clone_constraints(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_constraints' in scope
769 | }
770 | /**
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:776:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_new' in scope
774 | let handle =
775 | try! rustCall() {
776 | uniffi_idkit_fn_constructor_constraints_new(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_new' in scope
777 | FfiConverterTypeConstraintNode_lower(root),$0
778 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:784:25: error: cannot find 'uniffi_idkit_fn_free_constraints' in scope
782 |
783 | deinit {
784 | try! rustCall { uniffi_idkit_fn_free_constraints(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_constraints' in scope
785 | }
786 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:793:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_all' in scope
791 | public static func all(credentials: [CredentialType]) -> Constraints {
792 | return try! FfiConverterTypeConstraints_lift(try! rustCall() {
793 | uniffi_idkit_fn_constructor_constraints_all(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_all' in scope
794 | FfiConverterSequenceTypeCredentialType.lower(credentials),$0
795 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:804:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_any' in scope
802 | public static func any(credentials: [CredentialType]) -> Constraints {
803 | return try! FfiConverterTypeConstraints_lift(try! rustCall() {
804 | uniffi_idkit_fn_constructor_constraints_any(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_any' in scope
805 | FfiConverterSequenceTypeCredentialType.lower(credentials),$0
806 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:819:5: error: cannot find 'uniffi_idkit_fn_constructor_constraints_from_json' in scope
817 | public static func fromJson(json: String)throws -> Constraints {
818 | return try FfiConverterTypeConstraints_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
819 | uniffi_idkit_fn_constructor_constraints_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_constraints_from_json' in scope
820 | FfiConverterString.lower(json),$0
821 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:836:5: error: cannot find 'uniffi_idkit_fn_method_constraints_to_json' in scope
834 | open func toJson()throws -> String {
835 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
836 | uniffi_idkit_fn_method_constraints_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_constraints_to_json' in scope
837 | self.uniffiCloneHandle(),$0
838 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:973:32: error: cannot find 'uniffi_idkit_fn_clone_request' in scope
971 | #endif
972 | public func uniffiCloneHandle() -> UInt64 {
973 | return try! rustCall { uniffi_idkit_fn_clone_request(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_request' in scope
974 | }
975 | /**
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:985:5: error: cannot find 'uniffi_idkit_fn_constructor_request_new' in scope
983 | let handle =
984 | try! rustCall() {
985 | uniffi_idkit_fn_constructor_request_new(
| `- error: cannot find 'uniffi_idkit_fn_constructor_request_new' in scope
986 | FfiConverterTypeCredentialType_lower(credentialType),
987 | FfiConverterOptionTypeSignal.lower(signal),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:994:25: error: cannot find 'uniffi_idkit_fn_free_request' in scope
992 |
993 | deinit {
994 | try! rustCall { uniffi_idkit_fn_free_request(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_request' in scope
995 | }
996 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1007:5: error: cannot find 'uniffi_idkit_fn_constructor_request_from_json' in scope
1005 | public static func fromJson(json: String)throws -> Request {
1006 | return try FfiConverterTypeRequest_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1007 | uniffi_idkit_fn_constructor_request_from_json(
| `- error: cannot find 'uniffi_idkit_fn_constructor_request_from_json' in scope
1008 | FfiConverterString.lower(json),$0
1009 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1020:5: error: cannot find 'uniffi_idkit_fn_method_request_credential_type' in scope
1018 | open func credentialType() -> CredentialType {
1019 | return try! FfiConverterTypeCredentialType_lift(try! rustCall() {
1020 | uniffi_idkit_fn_method_request_credential_type(
| `- error: cannot find 'uniffi_idkit_fn_method_request_credential_type' in scope
1021 | self.uniffiCloneHandle(),$0
1022 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:783:56: error: cannot find type 'RustBuffer' in scope
781 | @_documentation(visibility: private)
782 | #endif
783 | public func FfiConverterTypeCredentialType_lift(_ buf: RustBuffer) throws -> CredentialType {
| `- error: cannot find type 'RustBuffer' in scope
784 | return try FfiConverterTypeCredentialType.lift(buf)
785 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1031:5: error: cannot find 'uniffi_idkit_fn_method_request_face_auth' in scope
1029 | open func faceAuth() -> Bool? {
1030 | return try! FfiConverterOptionBool.lift(try! rustCall() {
1031 | uniffi_idkit_fn_method_request_face_auth(
| `- error: cannot find 'uniffi_idkit_fn_method_request_face_auth' in scope
1032 | self.uniffiCloneHandle(),$0
1033 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1042:5: error: cannot find 'uniffi_idkit_fn_method_request_get_signal_bytes' in scope
1040 | open func getSignalBytes() -> Data? {
1041 | return try! FfiConverterOptionData.lift(try! rustCall() {
1042 | uniffi_idkit_fn_method_request_get_signal_bytes(
| `- error: cannot find 'uniffi_idkit_fn_method_request_get_signal_bytes' in scope
1043 | self.uniffiCloneHandle(),$0
1044 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1057:5: error: cannot find 'uniffi_idkit_fn_method_request_to_json' in scope
1055 | open func toJson()throws -> String {
1056 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1057 | uniffi_idkit_fn_method_request_to_json(
| `- error: cannot find 'uniffi_idkit_fn_method_request_to_json' in scope
1058 | self.uniffiCloneHandle(),$0
1059 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1070:5: error: cannot find 'uniffi_idkit_fn_method_request_with_face_auth' in scope
1068 | open func withFaceAuth(faceAuth: Bool) -> Request {
1069 | return try! FfiConverterTypeRequest_lift(try! rustCall() {
1070 | uniffi_idkit_fn_method_request_with_face_auth(
| `- error: cannot find 'uniffi_idkit_fn_method_request_with_face_auth' in scope
1071 | self.uniffiCloneHandle(),
1072 | FfiConverterBool.lower(faceAuth),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1223:32: error: cannot find 'uniffi_idkit_fn_clone_session' in scope
1221 | #endif
1222 | public func uniffiCloneHandle() -> UInt64 {
1223 | return try! rustCall { uniffi_idkit_fn_clone_session(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_session' in scope
1224 | }
1225 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1228:25: error: cannot find 'uniffi_idkit_fn_free_session' in scope
1226 |
1227 | deinit {
1228 | try! rustCall { uniffi_idkit_fn_free_session(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_session' in scope
1229 | }
1230 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1247:5: error: cannot find 'uniffi_idkit_fn_constructor_session_create' in scope
1245 | public static func create(appId: String, action: String, requests: [Request])throws -> Session {
1246 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1247 | uniffi_idkit_fn_constructor_session_create(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_create' in scope
1248 | FfiConverterString.lower(appId),
1249 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1273:5: error: cannot find 'uniffi_idkit_fn_constructor_session_create_with_options' in scope
1271 | public static func createWithOptions(appId: String, action: String, requests: [Request], actionDescription: String?, constraints: Constraints?, bridgeUrl: String?)throws -> Session {
1272 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1273 | uniffi_idkit_fn_constructor_session_create_with_options(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_create_with_options' in scope
1274 | FfiConverterString.lower(appId),
1275 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1296:5: error: cannot find 'uniffi_idkit_fn_constructor_session_from_verification_level' in scope
1294 | public static func fromVerificationLevel(appId: String, action: String, verificationLevel: VerificationLevel, signal: String)throws -> Session {
1295 | return try FfiConverterTypeSession_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1296 | uniffi_idkit_fn_constructor_session_from_verification_level(
| `- error: cannot find 'uniffi_idkit_fn_constructor_session_from_verification_level' in scope
1297 | FfiConverterString.lower(appId),
1298 | FfiConverterString.lower(action),
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:894:84: error: cannot find type 'RustBuffer' in scope
892 | @_documentation(visibility: private)
893 | #endif
894 | public func FfiConverterTypeVerificationLevel_lower(_ value: VerificationLevel) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
895 | return FfiConverterTypeVerificationLevel.lower(value)
896 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1312:5: error: cannot find 'uniffi_idkit_fn_method_session_connect_url' in scope
1310 | open func connectUrl() -> String {
1311 | return try! FfiConverterString.lift(try! rustCall() {
1312 | uniffi_idkit_fn_method_session_connect_url(
| `- error: cannot find 'uniffi_idkit_fn_method_session_connect_url' in scope
1313 | self.uniffiCloneHandle(),$0
1314 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1330:5: error: cannot find 'uniffi_idkit_fn_method_session_poll_for_status' in scope
1328 | open func pollForStatus()throws -> Status {
1329 | return try FfiConverterTypeStatus_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1330 | uniffi_idkit_fn_method_session_poll_for_status(
| `- error: cannot find 'uniffi_idkit_fn_method_session_poll_for_status' in scope
1331 | self.uniffiCloneHandle(),$0
1332 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1341:5: error: cannot find 'uniffi_idkit_fn_method_session_request_id' in scope
1339 | open func requestId() -> String {
1340 | return try! FfiConverterString.lift(try! rustCall() {
1341 | uniffi_idkit_fn_method_session_request_id(
| `- error: cannot find 'uniffi_idkit_fn_method_session_request_id' in scope
1342 | self.uniffiCloneHandle(),$0
1343 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1359:5: error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof' in scope
1357 | open func waitForProof()throws -> Proof {
1358 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1359 | uniffi_idkit_fn_method_session_wait_for_proof(
| `- error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof' in scope
1360 | self.uniffiCloneHandle(),$0
1361 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:536:47: error: cannot find type 'RustBuffer' in scope
534 | @_documentation(visibility: private)
535 | #endif
536 | public func FfiConverterTypeProof_lift(_ buf: RustBuffer) throws -> Proof {
| `- error: cannot find type 'RustBuffer' in scope
537 | return try FfiConverterTypeProof.lift(buf)
538 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1377:5: error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof_with_timeout' in scope
1375 | open func waitForProofWithTimeout(timeoutSeconds: UInt64)throws -> Proof {
1376 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
1377 | uniffi_idkit_fn_method_session_wait_for_proof_with_timeout(
| `- error: cannot find 'uniffi_idkit_fn_method_session_wait_for_proof_with_timeout' in scope
1378 | self.uniffiCloneHandle(),
1379 | FfiConverterUInt64.lower(timeoutSeconds),$0
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1494:32: error: cannot find 'uniffi_idkit_fn_clone_signal' in scope
1492 | #endif
1493 | public func uniffiCloneHandle() -> UInt64 {
1494 | return try! rustCall { uniffi_idkit_fn_clone_signal(self.handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_clone_signal' in scope
1495 | }
1496 | // No primary constructor declared for this class.
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1499:25: error: cannot find 'uniffi_idkit_fn_free_signal' in scope
1497 |
1498 | deinit {
1499 | try! rustCall { uniffi_idkit_fn_free_signal(handle, $0) }
| `- error: cannot find 'uniffi_idkit_fn_free_signal' in scope
1500 | }
1501 |
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1511:5: error: cannot find 'uniffi_idkit_fn_constructor_signal_from_abi_encoded' in scope
1509 | public static func fromAbiEncoded(bytes: Data) -> Signal {
1510 | return try! FfiConverterTypeSignal_lift(try! rustCall() {
1511 | uniffi_idkit_fn_constructor_signal_from_abi_encoded(
| `- error: cannot find 'uniffi_idkit_fn_constructor_signal_from_abi_encoded' in scope
1512 | FfiConverterData.lower(bytes),$0
1513 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1522:5: error: cannot find 'uniffi_idkit_fn_constructor_signal_from_string' in scope
1520 | public static func fromString(s: String) -> Signal {
1521 | return try! FfiConverterTypeSignal_lift(try! rustCall() {
1522 | uniffi_idkit_fn_constructor_signal_from_string(
| `- error: cannot find 'uniffi_idkit_fn_constructor_signal_from_string' in scope
1523 | FfiConverterString.lower(s),$0
1524 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1535:5: error: cannot find 'uniffi_idkit_fn_method_signal_as_bytes' in scope
1533 | open func asBytes() -> Data {
1534 | return try! FfiConverterData.lift(try! rustCall() {
1535 | uniffi_idkit_fn_method_signal_as_bytes(
| `- error: cannot find 'uniffi_idkit_fn_method_signal_as_bytes' in scope
1536 | self.uniffiCloneHandle(),$0
1537 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:1546:5: error: cannot find 'uniffi_idkit_fn_method_signal_as_string' in scope
1544 | open func asString() -> String? {
1545 | return try! FfiConverterOptionString.lift(try! rustCall() {
1546 | uniffi_idkit_fn_method_signal_as_string(
| `- error: cannot find 'uniffi_idkit_fn_method_signal_as_string' in scope
1547 | self.uniffiCloneHandle(),$0
1548 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2096:5: error: cannot find 'uniffi_idkit_fn_func_credential_to_string' in scope
2094 | public func credentialToString(credential: CredentialType) -> String {
2095 | return try! FfiConverterString.lift(try! rustCall() {
2096 | uniffi_idkit_fn_func_credential_to_string(
| `- error: cannot find 'uniffi_idkit_fn_func_credential_to_string' in scope
2097 | FfiConverterTypeCredentialType_lower(credential),$0
2098 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2110:5: error: cannot find 'uniffi_idkit_fn_func_proof_from_json' in scope
2108 | public func proofFromJson(json: String)throws -> Proof {
2109 | return try FfiConverterTypeProof_lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
2110 | uniffi_idkit_fn_func_proof_from_json(
| `- error: cannot find 'uniffi_idkit_fn_func_proof_from_json' in scope
2111 | FfiConverterString.lower(json),$0
2112 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:2124:5: error: cannot find 'uniffi_idkit_fn_func_proof_to_json' in scope
2122 | public func proofToJson(proof: Proof)throws -> String {
2123 | return try FfiConverterString.lift(try rustCallWithError(FfiConverterTypeIdkitError_lift) {
2124 | uniffi_idkit_fn_func_proof_to_json(
| `- error: cannot find 'uniffi_idkit_fn_func_proof_to_json' in scope
2125 | FfiConverterTypeProof_lower(proof),$0
2126 | )
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit_core.swift:543:60: error: cannot find type 'RustBuffer' in scope
541 | @_documentation(visibility: private)
542 | #endif
543 | public func FfiConverterTypeProof_lower(_ value: Proof) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
544 | return FfiConverterTypeProof.lower(value)
545 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:23:28: error: cannot find type 'RustBuffer' in scope
21 | }
22 |
23 | static func empty() -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
24 | RustBuffer(capacity: 0, len:0, data: nil)
25 | }
/host/spi-builder-workspace/Sources/IDKit/Generated/idkit.swift:27:60: error: cannot find type 'RustBuffer' in scope
25 | }
26 |
27 | static func from(_ ptr: UnsafeBufferPointer<UInt8>) -> RustBuffer {
| `- error: cannot find type 'RustBuffer' in scope
28 | try! rustCall { ffi_idkit_rustbuffer_from_bytes(ForeignBytes(bufferPointer: ptr), $0) }
29 | }
BUILD FAILURE 6.2 android