The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-algorand, reference 0.3.2 (ca29c9), with Swift 6.1 for Wasm on 4 Jan 2026 20:39:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CorvidLabs/swift-algorand.git
Reference: 0.3.2
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/CorvidLabs/swift-algorand
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at ca29c9a Fix zero-value amount encoding in PaymentTransaction (#6)
Cloned https://github.com/CorvidLabs/swift-algorand.git
Revision (git rev-parse @):
ca29c9ae8d355d556d2bd54ebee098ca6b8397f7
SUCCESS checkout https://github.com/CorvidLabs/swift-algorand.git at 0.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CorvidLabs/swift-algorand.git
https://github.com/CorvidLabs/swift-algorand.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-algorand",
  "name" : "swift-algorand",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Algorand",
      "targets" : [
        "Algorand"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AlgorandTests",
      "module_type" : "SwiftTarget",
      "name" : "AlgorandTests",
      "path" : "Tests/AlgorandTests",
      "sources" : [
        "AccountTests.swift",
        "AddressTests.swift",
        "ApplicationTransactionTests.swift",
        "AssetManagementTests.swift",
        "AssetTests.swift",
        "AtomicTransactionGroupTests.swift",
        "ComprehensiveIntegrationTest.swift",
        "IntegrationTests.swift",
        "KeyRegistrationTests.swift",
        "MicroAlgosTests.swift",
        "MnemonicTests.swift",
        "PaymentTransactionTests.swift",
        "ProofOfWorkTest.swift",
        "SHA512_256Tests.swift"
      ],
      "target_dependencies" : [
        "Algorand"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Algorand",
      "module_type" : "SwiftTarget",
      "name" : "Algorand",
      "path" : "Sources/Algorand",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "Algorand"
      ],
      "sources" : [
        "Account.swift",
        "Address.swift",
        "AlgodClient.swift",
        "AlgorandConfiguration.swift",
        "AlgorandError.swift",
        "ApplicationTransaction.swift",
        "AssetTransaction.swift",
        "AtomicTransactionGroup.swift",
        "BIP39Wordlist.swift",
        "IndexerClient.swift",
        "KeyRegistrationTransaction.swift",
        "MessagePackWriter.swift",
        "MicroAlgos.swift",
        "Mnemonic.swift",
        "PaymentTransaction.swift",
        "SHA512_256.swift",
        "SignedTransaction.swift",
        "Transaction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
[239/19618] Fetching swift-docc-plugin, swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (2.40s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.44s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (4.95s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3632] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.01s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/373] Write sources
[4/373] Compiling fiat_p256_adx_sqr.S
[5/373] Compiling fiat_p256_adx_mul.S
[6/373] Compiling fiat_curve25519_adx_mul.S
[7/373] Compiling fiat_curve25519_adx_square.S
[8/373] Compiling md5-x86_64-apple.S
[9/373] Compiling md5-586-linux.S
[10/373] Compiling md5-x86_64-linux.S
[11/373] Compiling chacha20_poly1305_x86_64-linux.S
[12/373] Compiling md5-586-apple.S
[13/373] Compiling chacha20_poly1305_armv8-win.S
[14/373] Compiling chacha20_poly1305_armv8-linux.S
[15/373] Compiling chacha20_poly1305_x86_64-apple.S
[16/373] Compiling chacha20_poly1305_armv8-apple.S
[17/373] Compiling chacha-x86_64-linux.S
[18/373] Compiling chacha-x86-linux.S
[19/373] Compiling chacha-x86_64-apple.S
[20/373] Write swift-version-24593BA9C3E375BF.txt
[21/373] Compiling chacha-armv8-win.S
[22/373] Compiling chacha-x86-apple.S
[23/373] Compiling chacha-armv8-linux.S
[24/373] Compiling chacha-armv8-apple.S
[25/373] Compiling aes128gcmsiv-x86_64-linux.S
[26/373] Compiling aes128gcmsiv-x86_64-apple.S
[27/373] Compiling chacha-armv4-linux.S
[28/373] Compiling x86_64-mont5-apple.S
[29/373] Compiling x86_64-mont5-linux.S
[30/373] Compiling x86_64-mont-linux.S
[31/373] Compiling x86_64-mont-apple.S
[32/373] Compiling x86-mont-apple.S
[33/373] Compiling x86-mont-linux.S
[34/373] Compiling vpaes-x86_64-linux.S
[35/373] Compiling vpaes-x86-apple.S
[36/373] Compiling vpaes-x86_64-apple.S
[37/373] Compiling vpaes-x86-linux.S
[38/373] Compiling vpaes-armv8-linux.S
[39/373] Compiling vpaes-armv8-win.S
[40/373] Compiling sha512-armv8-win.S
[41/373] Compiling vpaes-armv7-linux.S
[42/373] Compiling vpaes-armv8-apple.S
[43/373] Compiling sha512-x86_64-linux.S
[44/373] Compiling sha512-armv4-linux.S
[45/373] Compiling sha512-586-linux.S
[46/373] Compiling sha512-x86_64-apple.S
[47/373] Compiling sha512-armv8-apple.S
[48/373] Compiling sha512-armv8-linux.S
[49/373] Compiling sha512-586-apple.S
[50/373] Compiling CCryptoBoringSSLShims shims.c
[51/373] Compiling sha256-x86_64-linux.S
[52/373] Compiling sha256-x86_64-apple.S
[53/373] Compiling sha256-armv8-apple.S
[54/373] Compiling sha256-armv8-linux.S
[55/373] Compiling sha256-armv8-win.S
[56/373] Compiling sha256-armv4-linux.S
[56/373] Compiling sha256-586-linux.S
[56/373] Compiling err_data.cc
[59/373] Compiling sha1-armv8-win.S
[60/373] Compiling sha256-586-apple.S
[61/373] Compiling sha1-x86_64-apple.S
[62/373] Compiling sha1-x86_64-linux.S
[63/373] Compiling sha1-armv8-linux.S
[63/373] Compiling sha1-armv4-large-linux.S
[63/373] Compiling sha1-armv8-apple.S
[66/373] Compiling sha1-586-linux.S
[67/373] Compiling rsaz-avx2-linux.S
[68/373] Compiling sha1-586-apple.S
[69/373] Compiling rsaz-avx2-apple.S
[70/373] Compiling p256_beeu-x86_64-asm-apple.S
[71/373] Compiling rdrand-x86_64-linux.S
[72/373] Compiling rdrand-x86_64-apple.S
[73/373] Compiling p256_beeu-armv8-asm-win.S
[74/373] Compiling p256_beeu-armv8-asm-linux.S
[75/373] Compiling p256_beeu-x86_64-asm-linux.S
[76/373] Compiling p256-x86_64-asm-linux.S
[77/373] Compiling p256_beeu-armv8-asm-apple.S
[78/373] Compiling p256-armv8-asm-win.S
[79/373] Compiling p256-armv8-asm-linux.S
[79/373] Compiling p256-x86_64-asm-apple.S
[81/373] Compiling ghashv8-armv8-win.S
[82/373] Compiling ghashv8-armv8-linux.S
[82/373] Compiling p256-armv8-asm-apple.S
[84/373] Compiling ghashv8-armv8-apple.S
[85/373] Compiling ghash-x86_64-linux.S
[86/373] Compiling ghashv8-armv7-linux.S
[87/373] Compiling ghash-ssse3-x86_64-linux.S
[88/373] Compiling ghash-x86-linux.S
[88/373] Compiling ghash-x86_64-apple.S
[90/373] Compiling ghash-x86-apple.S
[91/373] Compiling ghash-ssse3-x86_64-apple.S
[92/373] Compiling ghash-ssse3-x86-linux.S
[93/373] Compiling ghash-neon-armv8-apple.S
[94/373] Compiling ghash-ssse3-x86-apple.S
[95/373] Compiling ghash-neon-armv8-linux.S
[96/373] Compiling ghash-neon-armv8-win.S
[97/373] Compiling ghash-armv4-linux.S
[98/373] Compiling co-586-linux.S
[99/373] Compiling bsaes-armv7-linux.S
[100/373] Compiling bn-armv8-linux.S
[101/373] Compiling co-586-apple.S
[102/373] Compiling bn-armv8-win.S
[103/373] Compiling bn-armv8-apple.S
[104/373] Compiling bn-586-linux.S
[105/373] Compiling armv8-mont-win.S
[105/373] Compiling bn-586-apple.S
[107/373] Compiling armv8-mont-linux.S
[108/373] Compiling armv4-mont-linux.S
[109/373] Compiling aesv8-gcm-armv8-win.S
[110/373] Compiling armv8-mont-apple.S
[111/373] Compiling aesv8-gcm-armv8-linux.S
[112/373] Compiling aesv8-gcm-armv8-apple.S
[113/373] Compiling aesv8-armv8-win.S
[114/373] Compiling aesv8-armv8-linux.S
[115/373] Compiling aesv8-armv8-apple.S
[116/373] Compiling aesni-x86-linux.S
[117/373] Compiling aesv8-armv7-linux.S
[117/373] Compiling aesni-x86_64-linux.S
[119/373] Compiling aesni-x86-apple.S
[120/373] Compiling aesni-gcm-x86_64-linux.S
[121/373] Compiling aesni-x86_64-apple.S
[122/373] Compiling aes-gcm-avx512-x86_64-linux.S
[123/373] Compiling aesni-gcm-x86_64-apple.S
[124/373] Compiling aes-gcm-avx2-x86_64-linux.S
[125/373] Compiling aes-gcm-avx512-x86_64-apple.S
[126/373] Compiling aes-gcm-avx2-x86_64-apple.S
[127/373] Compiling xwing.cc
[128/373] Compiling x_spki.cc
[129/373] Compiling x_x509.cc
[130/373] Compiling x_sig.cc
[131/373] Compiling x_req.cc
[132/373] Compiling x_x509a.cc
[133/373] Compiling x_name.cc
[134/373] Compiling x_pubkey.cc
[135/373] Compiling x_exten.cc
[136/373] Compiling x_attrib.cc
[137/373] Compiling x_crl.cc
[138/373] Compiling x509spki.cc
[139/373] Compiling x_all.cc
[140/373] Compiling x_algor.cc
[141/373] Compiling x509rset.cc
[142/373] Compiling x509name.cc
[143/373] Compiling x509cset.cc
[144/373] Compiling x509_vpm.cc
[145/373] Compiling x509_txt.cc
[146/373] Compiling x509_vfy.cc
[147/373] Compiling x509_v3.cc
[148/373] Compiling x509_trs.cc
[149/373] Compiling x509_set.cc
[150/373] Compiling x509_req.cc
[151/373] Compiling x509_obj.cc
[152/373] Compiling x509_lu.cc
[153/373] Compiling x509_def.cc
[154/373] Compiling x509_ext.cc
[155/373] Compiling x509_d2.cc
[156/373] Compiling x509_cmp.cc
[157/373] Compiling x509.cc
[158/373] Compiling x509_att.cc
[159/373] Compiling v3_utl.cc
[160/373] Compiling v3_prn.cc
[161/373] Compiling v3_skey.cc
[162/373] Compiling v3_purp.cc
[163/373] Compiling v3_pmaps.cc
[164/373] Compiling v3_ocsp.cc
[165/373] Compiling v3_pcons.cc
[166/373] Compiling v3_ncons.cc
[167/373] Compiling v3_lib.cc
[168/373] Compiling v3_info.cc
[169/373] Compiling v3_int.cc
[170/373] Compiling v3_ia5.cc
[171/373] Compiling v3_extku.cc
[172/373] Compiling v3_enum.cc
[173/373] Compiling v3_genn.cc
[174/373] Compiling v3_bcons.cc
[175/373] Compiling v3_crld.cc
[176/373] Compiling v3_cpols.cc
[177/373] Compiling v3_alt.cc
[178/373] Compiling v3_akey.cc
[179/373] Compiling v3_bitst.cc
[180/373] Compiling v3_conf.cc
[181/373] Compiling v3_akeya.cc
[182/373] Compiling t_x509a.cc
[183/373] Compiling t_x509.cc
[184/373] Compiling i2d_pr.cc
[185/373] Compiling t_req.cc
[186/373] Compiling t_crl.cc
[187/373] Compiling name_print.cc
[188/373] Compiling policy.cc
[189/373] Compiling rsa_pss.cc
[190/373] Compiling by_dir.cc
[191/373] Compiling by_file.cc
[192/373] Compiling asn1_gen.cc
[193/373] Compiling a_verify.cc
[194/373] Compiling algorithm.cc
[195/373] Compiling voprf.cc
[196/373] Compiling a_sign.cc
[197/373] Compiling a_digest.cc
[198/373] Compiling thread_win.cc
[199/373] Compiling trust_token.cc
[200/373] Compiling thread_pthread.cc
[201/373] Compiling pmbtoken.cc
[202/373] Compiling thread_none.cc
[203/373] Compiling thread.cc
[204/373] Compiling stack.cc
[205/373] Compiling sha512.cc
[206/373] Compiling siphash.cc
[207/373] Compiling sha1.cc
[208/373] Compiling sha256.cc
[209/373] Compiling spake2plus.cc
[210/373] Compiling slhdsa.cc
[211/373] Compiling rsa_print.cc
[212/373] Compiling rsa_extra.cc
[213/373] Compiling trusty.cc
[214/373] Compiling rsa_crypt.cc
[215/373] Compiling rand.cc
[216/373] Compiling rc4.cc
[217/373] Compiling refcount.cc
[218/373] Compiling windows.cc
[219/373] Compiling urandom.cc
[220/373] Compiling ios.cc
[221/373] Compiling rsa_asn1.cc
[222/373] Compiling poly1305_arm_asm.S
[223/373] Compiling passive.cc
[224/373] Compiling getentropy.cc
[225/373] Compiling forkunsafe.cc
[226/373] Compiling deterministic.cc
[227/373] Compiling fork_detect.cc
[228/373] Compiling poly1305_vec.cc
[229/373] Compiling pool.cc
[230/373] Compiling poly1305.cc
[231/373] Compiling poly1305_arm.cc
[232/373] Compiling pkcs7.cc
[233/373] Compiling p5_pbev2.cc
[234/373] Compiling pkcs8_x509.cc
[235/373] Compiling pkcs8.cc
[236/373] Compiling pkcs7_x509.cc
[237/373] Compiling pem_xaux.cc
[238/373] Compiling pem_x509.cc
[239/373] Compiling pem_pkey.cc
[240/373] Compiling mlkem.cc
[241/373] Compiling pem_pk8.cc
[242/373] Compiling pem_oth.cc
[243/373] Compiling obj_xref.cc
[244/373] Compiling pem_info.cc
[245/373] Compiling mem.cc
[246/373] Compiling mldsa.cc
[247/373] Compiling pem_lib.cc
[248/373] Compiling poly_rq_mul.S
[249/373] Compiling pem_all.cc
[250/373] Compiling obj.cc
[251/373] Compiling fips_shared_support.cc
[252/373] Compiling md5.cc
[253/373] Compiling lhash.cc
[254/373] Compiling hrss.cc
[255/373] Compiling fuzzer_mode.cc
[256/373] Compiling md4.cc
[257/373] Compiling kyber.cc
[258/373] Compiling ex_data.cc
[259/373] Compiling hpke.cc
[260/373] Compiling scrypt.cc
[261/373] Compiling print.cc
[262/373] Compiling pbkdf.cc
[263/373] Compiling sign.cc
[264/373] Compiling p_x25519_asn1.cc
[265/373] Compiling p_x25519.cc
[266/373] Compiling p_rsa_asn1.cc
[267/373] Compiling p_hkdf.cc
[268/373] Compiling p_rsa.cc
[269/373] Compiling p_ed25519_asn1.cc
[270/373] Compiling p_ed25519.cc
[271/373] Compiling evp_ctx.cc
[272/373] Compiling p_ec.cc
[273/373] Compiling p_ec_asn1.cc
[274/373] Compiling p_dsa_asn1.cc
[275/373] Compiling evp.cc
[276/373] Compiling p_dh_asn1.cc
[277/373] Compiling p_dh.cc
[278/373] Compiling engine.cc
[279/373] Compiling err.cc
[280/373] Compiling ecdsa_p1363.cc
[281/373] Compiling evp_asn1.cc
[282/373] Compiling ecdh.cc
[283/373] Compiling ecdsa_asn1.cc
[284/373] Compiling ec_derive.cc
[285/373] Compiling hash_to_curve.cc
[286/373] Compiling dsa.cc
[287/373] Compiling dsa_asn1.cc
[288/373] Compiling ec_asn1.cc
[289/373] Compiling bcm.cc
[290/373] Compiling digest_extra.cc
[290/373] Compiling x25519-asm-arm.S
[290/373] Compiling params.cc
[293/373] Compiling curve25519_64_adx.cc
[294/373] Compiling dh_asn1.cc
[295/373] Compiling des.cc
[296/373] Compiling crypto.cc
[297/373] Compiling spake25519.cc
[298/373] Compiling cpu_intel.cc
[298/373] Compiling cpu_arm_linux.cc
[300/373] Compiling curve25519.cc
[301/373] Compiling cpu_aarch64_sysreg.cc
[302/373] Compiling cpu_aarch64_win.cc
[303/373] Compiling cpu_arm_freebsd.cc
[304/373] Compiling cpu_aarch64_apple.cc
[305/373] Compiling cpu_aarch64_openbsd.cc
[306/373] Compiling cpu_aarch64_linux.cc
[307/373] Compiling cpu_aarch64_fuchsia.cc
[308/373] Compiling conf.cc
[309/373] Compiling tls_cbc.cc
[310/373] Compiling get_cipher.cc
[311/373] Compiling e_null.cc
[312/373] Compiling e_tls.cc
[313/373] Compiling e_rc4.cc
[314/373] Compiling e_rc2.cc
[315/373] Compiling cms.cc
[316/373] Compiling e_des.cc
[317/373] Compiling e_chacha20poly1305.cc
[318/373] Compiling e_aeseax.cc
[319/373] Compiling e_aesgcmsiv.cc
[320/373] Compiling e_aesctrhmac.cc
[321/373] Compiling derive_key.cc
[322/373] Compiling chacha.cc
[323/373] Compiling buf.cc
[324/373] Compiling cbb.cc
[325/373] Compiling cbs.cc
[326/373] Compiling exponentiation.cc
[327/373] Compiling ber.cc
[328/373] Compiling unicode.cc
[329/373] Compiling sqrt.cc
[330/373] Compiling asn1_compat.cc
[331/373] Compiling div.cc
[332/373] Compiling printf.cc
[333/373] Compiling blake2.cc
[334/373] Compiling pair.cc
[335/373] Compiling hexdump.cc
[336/373] Compiling bn_asn1.cc
[337/373] Compiling file.cc
[338/373] Compiling convert.cc
[339/373] Compiling fd.cc
[340/373] Compiling errno.cc
[341/373] Compiling bio_mem.cc
[342/373] Compiling bio.cc
[343/373] Compiling tasn_typ.cc
[344/373] Compiling base64.cc
[345/373] Compiling tasn_fre.cc
[346/373] Compiling tasn_utl.cc
[347/373] Compiling tasn_new.cc
[348/373] Compiling tasn_enc.cc
[349/373] Compiling posix_time.cc
[350/373] Compiling f_string.cc
[351/373] Compiling f_int.cc
[352/373] Compiling tasn_dec.cc
[353/373] Compiling asn_pack.cc
[354/373] Compiling asn1_par.cc
[355/373] Compiling asn1_lib.cc
[356/373] Compiling a_time.cc
[357/373] Compiling a_type.cc
[358/373] Compiling a_utctm.cc
[359/373] Compiling a_strnid.cc
[360/373] Compiling a_octet.cc
[361/373] Compiling a_strex.cc
[362/373] Compiling a_i2d_fp.cc
[363/373] Compiling a_d2i_fp.cc
[364/373] Compiling a_dup.cc
[365/373] Write sources
[366/373] Compiling a_gentm.cc
[367/373] Compiling a_object.cc
[368/373] Compiling a_mbstr.cc
[369/373] Compiling a_int.cc
[370/373] Compiling a_bool.cc
[371/373] Compiling aes.cc
[372/373] Compiling a_bitstr.cc
[374/381] Compiling CryptoBoringWrapper RandomBytes.swift
[375/381] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[376/381] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[377/381] Compiling CryptoBoringWrapper EllipticCurve.swift
[378/381] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[379/381] Emitting module CryptoBoringWrapper
[380/381] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[381/381] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[383/453] Emitting module Crypto
[384/463] Compiling Crypto AES-GCM.swift
[385/463] Compiling Crypto AES-GCM_boring.swift
[386/463] Compiling Crypto ChaChaPoly_boring.swift
[387/463] Compiling Crypto ChaChaPoly.swift
[388/463] Compiling Crypto Cipher.swift
[389/463] Compiling Crypto Nonces.swift
[390/463] Compiling Crypto ASN1.swift
[391/463] Compiling Crypto ASN1Any.swift
[392/463] Compiling Crypto ASN1BitString.swift
[393/463] Compiling Crypto ASN1Boolean.swift
[394/463] Compiling Crypto ECDH.swift
[395/463] Compiling Crypto HKDF.swift
[396/463] Compiling Crypto AESWrap.swift
[397/463] Compiling Crypto AESWrap_boring.swift
[398/463] Compiling Crypto Ed25519_boring.swift
[399/463] Compiling Crypto NISTCurvesKeys_boring.swift
[400/463] Compiling Crypto X25519Keys_boring.swift
[401/463] Compiling Crypto Curve25519.swift
[402/463] Compiling Crypto Ed25519Keys.swift
[403/463] Compiling Crypto NISTCurvesKeys.swift
[404/463] Compiling Crypto X25519Keys.swift
[405/463] Compiling Crypto SymmetricKeys.swift
[406/463] Compiling Crypto HMAC.swift
[407/463] Compiling Crypto MACFunctions.swift
[408/463] Compiling Crypto MessageAuthenticationCode.swift
[409/463] Compiling Crypto AES.swift
[410/463] Compiling Crypto ECDSASignature_boring.swift
[411/463] Compiling Crypto ECDSA_boring.swift
[412/463] Compiling Crypto EdDSA_boring.swift
[413/463] Compiling Crypto ECDSA.swift
[414/463] Compiling Crypto HPKE-Errors.swift
[415/463] Compiling Crypto HPKE.swift
[416/463] Compiling Crypto HPKE-Context.swift
[417/463] Compiling Crypto HPKE-KeySchedule.swift
[418/463] Compiling Crypto HPKE-Modes.swift
[419/463] Compiling Crypto Insecure.swift
[420/463] Compiling Crypto Insecure_HashFunctions.swift
[421/463] Compiling Crypto KEM.swift
[422/463] Compiling Crypto ECDH_boring.swift
[423/463] Compiling Crypto DH.swift
[424/463] Compiling Crypto PKCS8PrivateKey.swift
[425/463] Compiling Crypto SEC1PrivateKey.swift
[426/463] Compiling Crypto SubjectPublicKeyInfo.swift
[427/463] Compiling Crypto CryptoError_boring.swift
[428/463] Compiling Crypto CryptoKitErrors.swift
[429/463] Compiling Crypto Digest_boring.swift
[430/463] Compiling Crypto Digest.swift
[431/463] Compiling Crypto Digests.swift
[432/463] Compiling Crypto HashFunctions.swift
[433/463] Compiling Crypto HashFunctions_SHA2.swift
[434/463] Compiling Crypto HPKE-AEAD.swift
[435/463] Compiling Crypto HPKE-Ciphersuite.swift
[436/463] Compiling Crypto HPKE-KDF.swift
[437/463] Compiling Crypto HPKE-KexKeyDerivation.swift
[438/463] Compiling Crypto HPKE-LabeledExtract.swift
[439/463] Compiling Crypto HPKE-Utils.swift
[440/463] Compiling Crypto DHKEM.swift
[441/463] Compiling Crypto HPKE-KEM-Curve25519.swift
[442/463] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[443/463] Compiling Crypto HPKE-KEM.swift
[444/463] Compiling Crypto ASN1Identifier.swift
[445/463] Compiling Crypto ASN1Integer.swift
[446/463] Compiling Crypto ASN1Null.swift
[447/463] Compiling Crypto ASN1OctetString.swift
[448/463] Compiling Crypto ASN1Strings.swift
[449/463] Compiling Crypto ArraySliceBigint.swift
[450/463] Compiling Crypto GeneralizedTime.swift
[451/463] Compiling Crypto ObjectIdentifier.swift
[452/463] Compiling Crypto ECDSASignature.swift
[453/463] Compiling Crypto PEMDocument.swift
[454/463] Compiling Crypto Ed25519.swift
[455/463] Compiling Crypto Signature.swift
[456/463] Compiling Crypto CryptoKitErrors_boring.swift
[457/463] Compiling Crypto RNG_boring.swift
[458/463] Compiling Crypto SafeCompare_boring.swift
[459/463] Compiling Crypto Zeroization_boring.swift
[460/463] Compiling Crypto PrettyBytes.swift
[461/463] Compiling Crypto SafeCompare.swift
[462/463] Compiling Crypto SecureBytes.swift
[463/463] Compiling Crypto Zeroization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[465/481] Emitting module Algorand
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
[466/483] Compiling Algorand AlgorandConfiguration.swift
[467/483] Compiling Algorand AlgorandError.swift
[468/483] Compiling Algorand ApplicationTransaction.swift
[469/483] Compiling Algorand SignedTransaction.swift
[470/483] Compiling Algorand Transaction.swift
[471/483] Compiling Algorand PaymentTransaction.swift
[472/483] Compiling Algorand SHA512_256.swift
[473/483] Compiling Algorand BIP39Wordlist.swift
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:251:23: error: cannot find 'URLRequest' in scope
249 |
250 |     private func get<T: Decodable>(url: URL) async throws -> T {
251 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
252 |         request.httpMethod = "GET"
253 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:258:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
256 |         }
257 |
258 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
259 |
260 |         guard let httpResponse = response as? HTTPURLResponse else {
[474/483] Compiling Algorand IndexerClient.swift
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:251:23: error: cannot find 'URLRequest' in scope
249 |
250 |     private func get<T: Decodable>(url: URL) async throws -> T {
251 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
252 |         request.httpMethod = "GET"
253 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:258:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
256 |         }
257 |
258 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
259 |
260 |         guard let httpResponse = response as? HTTPURLResponse else {
[475/483] Compiling Algorand KeyRegistrationTransaction.swift
[476/483] Compiling Algorand MessagePackWriter.swift
[477/483] Compiling Algorand MicroAlgos.swift
[478/483] Compiling Algorand Mnemonic.swift
[479/483] Compiling Algorand Account.swift
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:229:26: error: cannot find 'URLRequest' in scope
227 |         let data = try encoder.encode(request)
228 |
229 |         var urlRequest = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions/simulate"))
    |                          `- error: cannot find 'URLRequest' in scope
230 |         urlRequest.httpMethod = "POST"
231 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:238:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
236 |         }
237 |
238 |         let (responseData, response) = try await session.data(for: urlRequest)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 |
240 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:265:23: error: cannot find 'URLRequest' in scope
263 |
264 |     private func get<T: Decodable>(path: String) async throws -> T {
265 |         var request = URLRequest(url: baseURL.appendingPathComponent(path))
    |                       `- error: cannot find 'URLRequest' in scope
266 |         request.httpMethod = "GET"
267 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:272:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
270 |         }
271 |
272 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
273 |
274 |         guard let httpResponse = response as? HTTPURLResponse else {
[480/483] Compiling Algorand Address.swift
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:229:26: error: cannot find 'URLRequest' in scope
227 |         let data = try encoder.encode(request)
228 |
229 |         var urlRequest = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions/simulate"))
    |                          `- error: cannot find 'URLRequest' in scope
230 |         urlRequest.httpMethod = "POST"
231 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:238:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
236 |         }
237 |
238 |         let (responseData, response) = try await session.data(for: urlRequest)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 |
240 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:265:23: error: cannot find 'URLRequest' in scope
263 |
264 |     private func get<T: Decodable>(path: String) async throws -> T {
265 |         var request = URLRequest(url: baseURL.appendingPathComponent(path))
    |                       `- error: cannot find 'URLRequest' in scope
266 |         request.httpMethod = "GET"
267 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:272:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
270 |         }
271 |
272 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
273 |
274 |         guard let httpResponse = response as? HTTPURLResponse else {
[481/483] Compiling Algorand AlgodClient.swift
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:229:26: error: cannot find 'URLRequest' in scope
227 |         let data = try encoder.encode(request)
228 |
229 |         var urlRequest = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions/simulate"))
    |                          `- error: cannot find 'URLRequest' in scope
230 |         urlRequest.httpMethod = "POST"
231 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:238:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
236 |         }
237 |
238 |         let (responseData, response) = try await session.data(for: urlRequest)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 |
240 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:265:23: error: cannot find 'URLRequest' in scope
263 |
264 |     private func get<T: Decodable>(path: String) async throws -> T {
265 |         var request = URLRequest(url: baseURL.appendingPathComponent(path))
    |                       `- error: cannot find 'URLRequest' in scope
266 |         request.httpMethod = "GET"
267 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:272:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
270 |         }
271 |
272 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
273 |
274 |         guard let httpResponse = response as? HTTPURLResponse else {
[482/483] Compiling Algorand AssetTransaction.swift
[483/483] Compiling Algorand AtomicTransactionGroup.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling CryptoBoringWrapper RandomBytes.swift
[5/11] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[6/11] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[7/11] Emitting module CryptoBoringWrapper
[8/11] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[9/11] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[10/11] Compiling CryptoBoringWrapper EllipticCurve.swift
[11/11] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[13/83] Emitting module Crypto
[14/93] Compiling Crypto HPKE-Errors.swift
[15/93] Compiling Crypto HPKE.swift
[16/93] Compiling Crypto HPKE-Context.swift
[17/93] Compiling Crypto HPKE-KeySchedule.swift
[18/93] Compiling Crypto HPKE-Modes.swift
[19/93] Compiling Crypto Insecure.swift
[20/93] Compiling Crypto Insecure_HashFunctions.swift
[21/93] Compiling Crypto KEM.swift
[22/93] Compiling Crypto ECDH_boring.swift
[23/93] Compiling Crypto DH.swift
[24/93] Compiling Crypto HPKE-AEAD.swift
[25/93] Compiling Crypto HPKE-Ciphersuite.swift
[26/93] Compiling Crypto HPKE-KDF.swift
[27/93] Compiling Crypto HPKE-KexKeyDerivation.swift
[28/93] Compiling Crypto HPKE-LabeledExtract.swift
[29/93] Compiling Crypto HPKE-Utils.swift
[30/93] Compiling Crypto DHKEM.swift
[31/93] Compiling Crypto HPKE-KEM-Curve25519.swift
[32/93] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[33/93] Compiling Crypto HPKE-KEM.swift
[34/93] Compiling Crypto X25519Keys.swift
[35/93] Compiling Crypto SymmetricKeys.swift
[36/93] Compiling Crypto HMAC.swift
[37/93] Compiling Crypto MACFunctions.swift
[38/93] Compiling Crypto MessageAuthenticationCode.swift
[39/93] Compiling Crypto AES.swift
[40/93] Compiling Crypto ECDSASignature_boring.swift
[41/93] Compiling Crypto ECDSA_boring.swift
[42/93] Compiling Crypto EdDSA_boring.swift
[43/93] Compiling Crypto ECDSA.swift
[44/93] Compiling Crypto AES-GCM.swift
[45/93] Compiling Crypto AES-GCM_boring.swift
[46/93] Compiling Crypto ChaChaPoly_boring.swift
[47/93] Compiling Crypto ChaChaPoly.swift
[48/93] Compiling Crypto Cipher.swift
[49/93] Compiling Crypto Nonces.swift
[50/93] Compiling Crypto ASN1.swift
[51/93] Compiling Crypto ASN1Any.swift
[52/93] Compiling Crypto ASN1BitString.swift
[53/93] Compiling Crypto ASN1Boolean.swift
[54/93] Compiling Crypto PKCS8PrivateKey.swift
[55/93] Compiling Crypto SEC1PrivateKey.swift
[56/93] Compiling Crypto SubjectPublicKeyInfo.swift
[57/93] Compiling Crypto CryptoError_boring.swift
[58/93] Compiling Crypto CryptoKitErrors.swift
[59/93] Compiling Crypto Digest_boring.swift
[60/93] Compiling Crypto Digest.swift
[61/93] Compiling Crypto Digests.swift
[62/93] Compiling Crypto HashFunctions.swift
[63/93] Compiling Crypto HashFunctions_SHA2.swift
[64/93] Compiling Crypto ECDH.swift
[65/93] Compiling Crypto HKDF.swift
[66/93] Compiling Crypto AESWrap.swift
[67/93] Compiling Crypto AESWrap_boring.swift
[68/93] Compiling Crypto Ed25519_boring.swift
[69/93] Compiling Crypto NISTCurvesKeys_boring.swift
[70/93] Compiling Crypto X25519Keys_boring.swift
[71/93] Compiling Crypto Curve25519.swift
[72/93] Compiling Crypto Ed25519Keys.swift
[73/93] Compiling Crypto NISTCurvesKeys.swift
[74/93] Compiling Crypto ASN1Identifier.swift
[75/93] Compiling Crypto ASN1Integer.swift
[76/93] Compiling Crypto ASN1Null.swift
[77/93] Compiling Crypto ASN1OctetString.swift
[78/93] Compiling Crypto ASN1Strings.swift
[79/93] Compiling Crypto ArraySliceBigint.swift
[80/93] Compiling Crypto GeneralizedTime.swift
[81/93] Compiling Crypto ObjectIdentifier.swift
[82/93] Compiling Crypto ECDSASignature.swift
[83/93] Compiling Crypto PEMDocument.swift
[84/93] Compiling Crypto Ed25519.swift
[85/93] Compiling Crypto Signature.swift
[86/93] Compiling Crypto CryptoKitErrors_boring.swift
[87/93] Compiling Crypto RNG_boring.swift
[88/93] Compiling Crypto SafeCompare_boring.swift
[89/93] Compiling Crypto Zeroization_boring.swift
[90/93] Compiling Crypto PrettyBytes.swift
[91/93] Compiling Crypto SafeCompare.swift
[92/93] Compiling Crypto SecureBytes.swift
[93/93] Compiling Crypto Zeroization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/111] Emitting module Algorand
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
[96/113] Compiling Algorand Account.swift
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:229:26: error: cannot find 'URLRequest' in scope
227 |         let data = try encoder.encode(request)
228 |
229 |         var urlRequest = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions/simulate"))
    |                          `- error: cannot find 'URLRequest' in scope
230 |         urlRequest.httpMethod = "POST"
231 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:238:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
236 |         }
237 |
238 |         let (responseData, response) = try await session.data(for: urlRequest)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 |
240 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:265:23: error: cannot find 'URLRequest' in scope
263 |
264 |     private func get<T: Decodable>(path: String) async throws -> T {
265 |         var request = URLRequest(url: baseURL.appendingPathComponent(path))
    |                       `- error: cannot find 'URLRequest' in scope
266 |         request.httpMethod = "GET"
267 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:272:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
270 |         }
271 |
272 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
273 |
274 |         guard let httpResponse = response as? HTTPURLResponse else {
[97/113] Compiling Algorand Address.swift
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:229:26: error: cannot find 'URLRequest' in scope
227 |         let data = try encoder.encode(request)
228 |
229 |         var urlRequest = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions/simulate"))
    |                          `- error: cannot find 'URLRequest' in scope
230 |         urlRequest.httpMethod = "POST"
231 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:238:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
236 |         }
237 |
238 |         let (responseData, response) = try await session.data(for: urlRequest)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 |
240 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:265:23: error: cannot find 'URLRequest' in scope
263 |
264 |     private func get<T: Decodable>(path: String) async throws -> T {
265 |         var request = URLRequest(url: baseURL.appendingPathComponent(path))
    |                       `- error: cannot find 'URLRequest' in scope
266 |         request.httpMethod = "GET"
267 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:272:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
270 |         }
271 |
272 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
273 |
274 |         guard let httpResponse = response as? HTTPURLResponse else {
[98/113] Compiling Algorand AlgodClient.swift
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:70:23: error: cannot find 'URLRequest' in scope
 68 |         let encoded = try signedTransaction.encode()
 69 |
 70 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
 71 |         request.httpMethod = "POST"
 72 |         request.httpBody = encoded
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:79:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 77 |         }
 78 |
 79 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |
 81 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:107:23: error: cannot find 'URLRequest' in scope
105 |         let encoded = try group.encode()
106 |
107 |         var request = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions"))
    |                       `- error: cannot find 'URLRequest' in scope
108 |         request.httpMethod = "POST"
109 |         request.setValue("application/x-binary", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:115:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
113 |         request.httpBody = encoded
114 |
115 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
116 |
117 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:229:26: error: cannot find 'URLRequest' in scope
227 |         let data = try encoder.encode(request)
228 |
229 |         var urlRequest = URLRequest(url: baseURL.appendingPathComponent("/v2/transactions/simulate"))
    |                          `- error: cannot find 'URLRequest' in scope
230 |         urlRequest.httpMethod = "POST"
231 |         urlRequest.httpBody = data
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:238:58: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
236 |         }
237 |
238 |         let (responseData, response) = try await session.data(for: urlRequest)
    |                                                          `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
239 |
240 |         guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:265:23: error: cannot find 'URLRequest' in scope
263 |
264 |     private func get<T: Decodable>(path: String) async throws -> T {
265 |         var request = URLRequest(url: baseURL.appendingPathComponent(path))
    |                       `- error: cannot find 'URLRequest' in scope
266 |         request.httpMethod = "GET"
267 |
/host/spi-builder-workspace/Sources/Algorand/AlgodClient.swift:272:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
270 |         }
271 |
272 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
273 |
274 |         guard let httpResponse = response as? HTTPURLResponse else {
[99/113] Compiling Algorand SignedTransaction.swift
[100/113] Compiling Algorand Transaction.swift
[101/113] Compiling Algorand KeyRegistrationTransaction.swift
[102/113] Compiling Algorand MessagePackWriter.swift
[103/113] Compiling Algorand PaymentTransaction.swift
[104/113] Compiling Algorand SHA512_256.swift
[105/113] Compiling Algorand MicroAlgos.swift
[106/113] Compiling Algorand Mnemonic.swift
[107/113] Compiling Algorand AlgorandConfiguration.swift
[108/113] Compiling Algorand AlgorandError.swift
[109/113] Compiling Algorand ApplicationTransaction.swift
[110/113] Compiling Algorand AssetTransaction.swift
[111/113] Compiling Algorand AtomicTransactionGroup.swift
[112/113] Compiling Algorand BIP39Wordlist.swift
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:251:23: error: cannot find 'URLRequest' in scope
249 |
250 |     private func get<T: Decodable>(url: URL) async throws -> T {
251 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
252 |         request.httpMethod = "GET"
253 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:258:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
256 |         }
257 |
258 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
259 |
260 |         guard let httpResponse = response as? HTTPURLResponse else {
[113/113] Compiling Algorand IndexerClient.swift
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:10:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |     private let baseURL: URL
  9 |     private let apiToken: String?
 10 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /**
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:22:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |         self.baseURL = baseURL
 21 |         self.apiToken = apiToken
 22 |         self.session = URLSession.shared
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 23 |     }
 24 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:251:23: error: cannot find 'URLRequest' in scope
249 |
250 |     private func get<T: Decodable>(url: URL) async throws -> T {
251 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
252 |         request.httpMethod = "GET"
253 |
/host/spi-builder-workspace/Sources/Algorand/IndexerClient.swift:258:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
256 |         }
257 |
258 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
259 |
260 |         guard let httpResponse = response as? HTTPURLResponse else {
BUILD FAILURE 6.1 wasm