Build Information
Failed to build FOSUtilities, reference main (5da5f1
), with Swift 6.1 for Wasm on 31 May 2025 08:27:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
[852/1375] Compiling print.cc
[853/1375] Compiling p_rsa.cc
[854/1375] Compiling p_x25519_asn1.cc
[855/1375] Compiling p_ed25519.cc
[856/1375] Compiling p_rsa_asn1.cc
[857/1375] Compiling p_ed25519_asn1.cc
[858/1375] Compiling p_hkdf.cc
[859/1375] Compiling p_dh.cc
[860/1375] Compiling p_ec_asn1.cc
[861/1375] Compiling p_dh_asn1.cc
[862/1375] Compiling p_ec.cc
[863/1375] Compiling evp_ctx.cc
[864/1375] Compiling p_dsa_asn1.cc
[865/1375] Compiling err.cc
[866/1375] Compiling evp.cc
[867/1375] Compiling engine.cc
[868/1375] Compiling evp_asn1.cc
[869/1375] Compiling ecdsa_asn1.cc
[870/1375] Compiling ecdh.cc
[871/1375] Compiling ec_derive.cc
[872/1375] Compiling hash_to_curve.cc
[873/1375] Compiling dsa_asn1.cc
[874/1375] Compiling ec_asn1.cc
[875/1375] Compiling dsa.cc
[876/1375] Compiling params.cc
[877/1375] Compiling dh_asn1.cc
[878/1375] Compiling x25519-asm-arm.S
[879/1375] Compiling digest_extra.cc
[880/1375] Compiling des.cc
[881/1375] Compiling bcm.cc
[882/1375] Compiling curve25519.cc
[883/1375] Compiling spake25519.cc
[884/1375] Compiling cpu_intel.cc
[885/1375] Compiling cpu_arm_linux.cc
[886/1375] Compiling crypto.cc
[887/1375] Compiling cpu_arm_freebsd.cc
[888/1375] Compiling cpu_aarch64_openbsd.cc
[889/1375] Compiling cpu_aarch64_sysreg.cc
[890/1375] Compiling curve25519_64_adx.cc
[891/1375] Compiling cpu_aarch64_win.cc
[892/1375] Compiling cpu_aarch64_linux.cc
[893/1375] Compiling cpu_aarch64_fuchsia.cc
[894/1375] Compiling cpu_aarch64_apple.cc
[895/1375] Compiling tls_cbc.cc
[896/1375] Compiling get_cipher.cc
[897/1375] Compiling conf.cc
[898/1375] Compiling e_rc4.cc
[899/1375] Compiling e_tls.cc
[900/1375] Compiling e_rc2.cc
[901/1375] Compiling e_null.cc
[902/1375] Compiling e_chacha20poly1305.cc
[903/1375] Compiling e_des.cc
[904/1375] Compiling derive_key.cc
[905/1375] Compiling e_aesgcmsiv.cc
[915/1375] Compiling e_aesctrhmac.cc
[916/1375] Compiling chacha.cc
[917/1375] Compiling unicode.cc
[918/1375] Compiling convert.cc
[919/1375] Compiling buf.cc
[920/1375] Compiling cbb.cc
[921/1375] Compiling ber.cc
[922/1375] Compiling asn1_compat.cc
[923/1375] Compiling blake2.cc
[924/1375] Compiling cbs.cc
[925/1375] Compiling hexdump.cc
[926/1375] Compiling socket.cc
[927/1375] Compiling printf.cc
[928/1375] Compiling socket_helper.cc
[929/1375] Compiling bn_asn1.cc
[930/1375] Compiling pair.cc
[931/1375] Compiling file.cc
[932/1375] Compiling fd.cc
[933/1375] Compiling errno.cc
[934/1375] Compiling base64.cc
[935/1375] Compiling bio_mem.cc
[936/1375] Compiling connect.cc
[937/1375] Compiling bio.cc
[938/1375] Compiling tasn_typ.cc
[939/1375] Compiling tasn_enc.cc
[940/1375] Compiling tasn_fre.cc
[941/1375] Compiling tasn_utl.cc
[942/1375] Compiling tasn_new.cc
[943/1375] Compiling tasn_dec.cc
[944/1375] Compiling posix_time.cc
[945/1375] Compiling f_int.cc
[946/1375] Compiling f_string.cc
[947/1375] Compiling asn_pack.cc
[948/1375] Compiling asn1_par.cc
[949/1375] Compiling a_type.cc
[950/1375] Compiling asn1_lib.cc
[951/1375] Compiling a_octet.cc
[952/1375] Compiling a_utctm.cc
[953/1375] Compiling a_time.cc
[954/1375] Compiling a_strex.cc
[955/1375] Compiling a_strnid.cc
[956/1375] Compiling a_dup.cc
[957/1375] Compiling a_i2d_fp.cc
[958/1375] Compiling a_int.cc
[959/1375] Compiling a_object.cc
[960/1375] Compiling a_d2i_fp.cc
[961/1375] Compiling a_mbstr.cc
[962/1375] Compiling fiat_p256_adx_sqr.S
[963/1375] Compiling a_gentm.cc
[964/1375] Compiling fiat_p256_adx_mul.S
[965/1375] Compiling fiat_curve25519_adx_square.S
[966/1375] Compiling fiat_curve25519_adx_mul.S
[967/1375] Compiling md5-x86_64-linux.S
[968/1375] Compiling a_bitstr.cc
[969/1375] Compiling a_bool.cc
[970/1375] Compiling CCryptoBoringSSLShims shims.c
[971/1375] Compiling md5-x86_64-apple.S
[972/1375] Compiling md5-586-linux.S
[973/1375] Compiling md5-586-apple.S
[974/1375] Compiling chacha20_poly1305_x86_64-apple.S
[975/1375] Compiling chacha20_poly1305_armv8-win.S
[976/1375] Compiling chacha20_poly1305_x86_64-linux.S
[977/1375] Compiling chacha20_poly1305_armv8-linux.S
[978/1375] Compiling chacha20_poly1305_armv8-apple.S
[979/1375] Compiling chacha-x86_64-apple.S
[980/1375] Compiling chacha-x86_64-linux.S
[981/1375] Compiling chacha-x86-apple.S
[982/1375] Compiling chacha-armv8-win.S
[983/1375] Compiling chacha-x86-linux.S
[984/1375] Compiling chacha-armv8-linux.S
[985/1375] Compiling chacha-armv8-apple.S
[986/1375] Compiling chacha-armv4-linux.S
[987/1375] Compiling aes128gcmsiv-x86_64-linux.S
[988/1375] Compiling aes128gcmsiv-x86_64-apple.S
[989/1375] Compiling err_data.cc
[990/1375] Compiling x86_64-mont5-linux.S
[991/1375] Compiling x86_64-mont5-apple.S
[992/1375] Compiling x86-mont-linux.S
[993/1375] Compiling x86_64-mont-linux.S
[994/1375] Compiling x86_64-mont-apple.S
[995/1375] Compiling x86-mont-apple.S
[996/1375] Compiling vpaes-x86_64-linux.S
[997/1375] Compiling vpaes-x86_64-apple.S
[998/1375] Compiling vpaes-x86-linux.S
[999/1375] Compiling vpaes-x86-apple.S
[1000/1375] Compiling vpaes-armv8-linux.S
[1001/1375] Compiling vpaes-armv8-win.S
[1002/1375] Compiling vpaes-armv8-apple.S
[1003/1375] Compiling vpaes-armv7-linux.S
[1004/1375] Compiling sha512-x86_64-apple.S
[1005/1375] Compiling sha512-armv8-win.S
[1006/1375] Compiling sha512-armv8-apple.S
[1007/1375] Compiling sha512-x86_64-linux.S
[1008/1375] Compiling sha512-armv8-linux.S
[1009/1375] Compiling sha512-armv4-linux.S
[1010/1375] Compiling sha512-586-apple.S
[1011/1375] Compiling sha512-586-linux.S
[1012/1375] Compiling sha256-armv8-win.S
[1013/1375] Compiling sha256-x86_64-apple.S
[1014/1375] Compiling sha256-armv8-apple.S
[1015/1375] Compiling sha256-armv8-linux.S
[1016/1375] Compiling sha256-x86_64-linux.S
[1017/1375] Compiling sha256-armv4-linux.S
[1018/1375] Compiling sha256-586-linux.S
[1019/1375] Compiling sha256-586-apple.S
[1020/1375] Compiling sha1-x86_64-apple.S
[1021/1375] Compiling sha1-armv8-win.S
[1022/1375] Compiling sha1-x86_64-linux.S
[1023/1375] Compiling sha1-armv8-linux.S
[1024/1375] Compiling sha1-armv4-large-linux.S
[1025/1375] Compiling sha1-armv8-apple.S
[1026/1375] Compiling sha1-586-linux.S
[1027/1375] Compiling rsaz-avx2-linux.S
[1028/1375] Compiling sha1-586-apple.S
[1029/1375] Compiling rsaz-avx2-apple.S
[1030/1375] Compiling rdrand-x86_64-apple.S
[1030/1375] Compiling p256_beeu-x86_64-asm-linux.S
[1032/1375] Compiling p256_beeu-x86_64-asm-apple.S
[1033/1375] Compiling rdrand-x86_64-linux.S
[1034/1375] Compiling p256_beeu-armv8-asm-linux.S
[1035/1375] Compiling p256_beeu-armv8-asm-apple.S
[1036/1375] Compiling p256_beeu-armv8-asm-win.S
[1037/1375] Compiling p256-armv8-asm-win.S
[1038/1375] Compiling p256-x86_64-asm-apple.S
[1039/1375] Compiling p256-x86_64-asm-linux.S
[1040/1375] Compiling p256-armv8-asm-linux.S
[1041/1375] Compiling p256-armv8-asm-apple.S
[1042/1375] Compiling ghashv8-armv8-win.S
[1043/1375] Compiling ghashv8-armv8-linux.S
[1044/1375] Compiling ghashv8-armv7-linux.S
[1045/1375] Compiling ghashv8-armv8-apple.S
[1046/1375] Compiling ghash-x86_64-linux.S
[1047/1375] Compiling ghash-x86_64-apple.S
[1048/1375] Compiling ghash-x86-linux.S
[1049/1375] Compiling ghash-x86-apple.S
[1050/1375] Compiling ghash-ssse3-x86_64-apple.S
[1051/1375] Compiling ghash-ssse3-x86_64-linux.S
[1052/1375] Compiling ghash-ssse3-x86-linux.S
[1053/1375] Compiling ghash-ssse3-x86-apple.S
[1054/1375] Compiling ghash-neon-armv8-linux.S
[1055/1375] Compiling ghash-neon-armv8-win.S
[1056/1375] Compiling ghash-neon-armv8-apple.S
[1057/1375] Compiling co-586-linux.S
[1058/1375] Compiling ghash-armv4-linux.S
[1059/1375] Compiling bn-armv8-linux.S
[1060/1375] Compiling co-586-apple.S
[1061/1375] Compiling bsaes-armv7-linux.S
[1062/1375] Compiling bn-armv8-win.S
[1063/1375] Compiling bn-armv8-apple.S
[1064/1375] Compiling armv8-mont-linux.S
[1065/1375] Compiling armv8-mont-win.S
[1066/1375] Compiling bn-586-apple.S
[1066/1375] Compiling bn-586-linux.S
[1068/1375] Compiling armv8-mont-apple.S
[1069/1375] Compiling aesv8-gcm-armv8-win.S
[1070/1375] Compiling aesv8-gcm-armv8-apple.S
[1071/1375] Compiling aesv8-gcm-armv8-linux.S
[1072/1375] Compiling armv4-mont-linux.S
[1073/1375] Compiling aesv8-armv8-win.S
[1074/1375] Compiling aesv8-armv8-linux.S
[1075/1375] Compiling aesv8-armv8-apple.S
[1076/1375] Compiling aesv8-armv7-linux.S
[1077/1375] Compiling aesni-x86_64-apple.S
[1078/1375] Compiling aesni-x86-apple.S
[1079/1375] Compiling aesni-x86_64-linux.S
[1080/1375] Compiling aesni-x86-linux.S
[1081/1375] Compiling aesni-gcm-x86_64-linux.S
[1082/1375] Compiling aesni-gcm-x86_64-apple.S
[1083/1375] Compiling aes-gcm-avx10-x86_64-linux.S
[1084/1375] Compiling aes-gcm-avx10-x86_64-apple.S
[1085/1375] Compiling x_val.cc
[1086/1375] Compiling x_sig.cc
[1087/1375] Compiling x_x509.cc
[1088/1375] Compiling x_spki.cc
[1089/1375] Compiling x_x509a.cc
[1090/1375] Compiling c-nioatomics.c
[1091/1375] Compiling x_name.cc
[1092/1375] Compiling x_req.cc
[1093/1375] Compiling x_exten.cc
[1094/1375] Compiling c-atomics.c
[1095/1375] Compiling x_pubkey.cc
[1096/1375] Compiling x_crl.cc
[1097/1375] Compiling x_attrib.cc
[1098/1381] Compiling x_algor.cc
[1099/1381] Compiling x509spki.cc
[1100/1381] Compiling x_all.cc
[1101/1381] Compiling x509rset.cc
[1103/1381] Compiling NIOConcurrencyHelpers lock.swift
[1104/1381] Emitting module NIOConcurrencyHelpers
[1105/1381] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[1106/1381] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[1107/1381] Compiling NIOConcurrencyHelpers atomics.swift
[1108/1381] Compiling NIOConcurrencyHelpers NIOLock.swift
[1108/1382] Compiling x509name.cc
[1110/1382] Compiling x509cset.cc
[1111/1382] Compiling x509_vpm.cc
[1112/1408] Compiling x509_txt.cc
[1113/1408] Compiling x509_v3.cc
[1114/1408] Compiling x509_vfy.cc
[1116/1408] Emitting module ConsoleKitTerminal
[1117/1408] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[1118/1408] Compiling ConsoleKitTerminal ConsoleClear.swift
[1119/1408] Compiling ConsoleKitTerminal Console+Ask.swift
[1120/1408] Compiling ConsoleKitTerminal Console+Choose.swift
[1121/1411] Compiling ConsoleKitTerminal Console+Confirm.swift
[1122/1411] Compiling ConsoleKitTerminal Console+Input.swift
[1123/1411] Compiling ConsoleKitTerminal Console+Center.swift
[1124/1411] Compiling ConsoleKitTerminal Console+Output.swift
[1125/1411] Compiling ConsoleKitTerminal Console+Wait.swift
[1126/1411] Compiling ConsoleKitTerminal ConsoleColor.swift
[1127/1411] Compiling ConsoleKitTerminal ConsoleStyle.swift
[1128/1411] Compiling ConsoleKitTerminal ConsoleText.swift
[1129/1411] Compiling ConsoleKitTerminal ConsoleTextFragment.swift
[1130/1411] Compiling ConsoleKitTerminal ANSI.swift
[1130/1411] Compiling x509_trs.cc
[1132/1411] Compiling ConsoleKitTerminal ActivityBar.swift
[1133/1411] Compiling ConsoleKitTerminal ActivityIndicator.swift
[1134/1411] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[1135/1411] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[1136/1411] Compiling ConsoleKitTerminal CustomActivity.swift
[1137/1411] Compiling ConsoleKitTerminal LoadingBar.swift
[1138/1411] Compiling ConsoleKitTerminal ProgressBar.swift
[1139/1411] Compiling ConsoleKitTerminal Console+Clear.swift
[1139/1411] Compiling x509_set.cc
[1140/1411] Compiling x509_req.cc
[1141/1411] Compiling x509_obj.cc
[1143/1411] Compiling ConsoleKitTerminal Console.swift
[1144/1411] Compiling ConsoleKitTerminal Terminal.swift
[1145/1411] Compiling ConsoleKitTerminal readpassphrase_linux.swift
[1145/1411] Compiling x509_lu.cc
[1146/1411] Compiling x509_def.cc
[1147/1411] Compiling x509_ext.cc
[1149/1411] Compiling ConsoleKitTerminal AnySendableHashable.swift
[1150/1411] Compiling ConsoleKitTerminal ConsoleLogger.swift
[1151/1411] Compiling ConsoleKitTerminal LoggerFragment.swift
[1152/1412] Compiling x509_d2.cc
[1153/1412] Compiling x509_cmp.cc
[1154/1434] Compiling x509_att.cc
[1155/1434] Compiling v3_skey.cc
[1156/1434] Compiling x509.cc
[1157/1434] Compiling v3_utl.cc
[1158/1434] Compiling v3_pcons.cc
[1160/1434] Emitting module ConsoleKitCommands
[1161/1436] Compiling ConsoleKitCommands CommandSignature.swift
[1162/1436] Compiling ConsoleKitCommands Flag.swift
[1163/1436] Compiling ConsoleKitCommands Option.swift
[1163/1436] Compiling v3_purp.cc
[1165/1436] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[1166/1436] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[1167/1436] Compiling ConsoleKitCommands Argument.swift
[1168/1436] Compiling ConsoleKitCommands Command.swift
[1169/1436] Compiling ConsoleKitCommands CommandContext.swift
[1170/1436] Compiling ConsoleKitCommands CommandError.swift
[1170/1436] Compiling v3_prn.cc
[1172/1436] Compiling ConsoleKitCommands AsyncCommands.swift
[1173/1436] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[1174/1436] Compiling ConsoleKitCommands AnyCommand.swift
[1175/1436] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[1176/1436] Compiling ConsoleKitCommands Utilities.swift
[1176/1436] Compiling v3_pmaps.cc
[1177/1436] Compiling v3_ocsp.cc
[1178/1436] Compiling v3_ncons.cc
[1179/1436] Compiling v3_lib.cc
[1180/1436] Compiling v3_int.cc
[1181/1436] Compiling v3_genn.cc
[1182/1436] Compiling v3_info.cc
[1183/1436] Compiling v3_ia5.cc
[1184/1436] Compiling v3_enum.cc
[1185/1436] Compiling v3_extku.cc
[1187/1436] Compiling ConsoleKitCommands CommandGroup.swift
[1188/1436] Compiling ConsoleKitCommands CommandInput.swift
[1189/1436] Compiling ConsoleKitCommands Commands.swift
[1190/1436] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[1191/1436] Compiling ConsoleKitCommands AsyncCommand.swift
[1192/1436] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[1193/1436] Compiling ConsoleKitCommands Console+Run.swift
[1194/1436] Compiling ConsoleKitCommands ConsoleError.swift
[1195/1436] Compiling ConsoleKitCommands Completion.swift
[1195/1437] Compiling v3_cpols.cc
[1197/1437] Compiling v3_crld.cc
[1198/1437] Compiling v3_conf.cc
[1199/1437] Compiling v3_bitst.cc
[1200/1437] Compiling v3_bcons.cc
[1201/1437] Compiling v3_alt.cc
[1202/1439] Compiling v3_akeya.cc
[1204/1439] Emitting module ConsoleKit
[1205/1439] Compiling ConsoleKit Exports.swift
[1206/1440] Compiling v3_akey.cc
[1207/1440] Compiling t_x509a.cc
[1208/1440] Compiling t_x509.cc
[1209/1440] Compiling t_crl.cc
[1210/1440] Compiling rsa_pss.cc
[1211/1440] Compiling t_req.cc
[1212/1440] Compiling i2d_pr.cc
[1213/1440] Compiling name_print.cc
[1214/1440] Compiling policy.cc
[1215/1440] Compiling by_file.cc
[1216/1440] Compiling asn1_gen.cc
[1217/1440] Compiling by_dir.cc
[1218/1440] Compiling algorithm.cc
[1219/1440] Compiling a_verify.cc
[1220/1440] Compiling a_sign.cc
[1221/1440] Compiling voprf.cc
[1222/1440] Compiling trust_token.cc
[1223/1440] Compiling a_digest.cc
[1224/1440] Compiling thread_pthread.cc
[1225/1440] Compiling thread_none.cc
[1226/1440] Compiling stack.cc
[1226/1440] Compiling pmbtoken.cc
[1228/1440] Compiling thread_win.cc
[1229/1440] Compiling thash.cc
[1230/1440] Compiling thread.cc
[1231/1440] Compiling wots.cc
[1232/1440] Compiling sha512.cc
[1233/1440] Compiling sha256.cc
[1233/1440] Compiling merkle.cc
[1235/1440] Compiling sha1.cc
[1236/1440] Compiling fors.cc
[1237/1440] Compiling siphash.cc
[1238/1440] Compiling slhdsa.cc
[1239/1440] Compiling rsa_extra.cc
[1240/1440] Compiling rc4.cc
[1241/1440] Compiling rsa_print.cc
[1242/1440] Compiling refcount.cc
[1243/1440] Compiling windows.cc
[1244/1440] Compiling rsa_asn1.cc
[1244/1440] Compiling rsa_crypt.cc
[1246/1440] Compiling trusty.cc
[1247/1440] Compiling rand_extra.cc
[1248/1440] Compiling ios.cc
[1249/1440] Compiling urandom.cc
[1250/1440] Compiling getentropy.cc
[1251/1440] Compiling deterministic.cc
[1252/1440] Compiling forkunsafe.cc
[1253/1440] Compiling passive.cc
[1253/1440] Compiling fork_detect.cc
[1255/1440] Compiling poly1305_arm_asm.S
[1256/1440] Compiling pool.cc
[1257/1440] Compiling poly1305_arm.cc
[1258/1440] Compiling poly1305.cc
[1259/1440] Compiling poly1305_vec.cc
[1260/1440] Compiling pkcs7.cc
[1261/1440] Compiling pkcs8.cc
[1262/1440] Compiling pkcs8_x509.cc
[1263/1440] Compiling pem_xaux.cc
[1264/1440] Compiling pkcs7_x509.cc
[1265/1440] Compiling p5_pbev2.cc
[1266/1440] Compiling pem_x509.cc
[1267/1440] Compiling pem_pkey.cc
[1268/1440] Compiling pem_pk8.cc
[1278/1441] Compiling obj_xref.cc
[1279/1441] Compiling pem_info.cc
[1281/1441] Compiling pem_all.cc
[1282/1441] Compiling pem_oth.cc
[1283/1441] Compiling mldsa.cc
[1284/1441] Compiling mlkem.cc
[1285/1441] Compiling obj.cc
[1286/1441] Compiling pem_lib.cc
[1287/1441] Compiling md5.cc
[1288/1441] Compiling mem.cc
[1289/1441] Compiling md4.cc
[1290/1441] Wrapping AST for SwiftSyntax for debugging
[1291/1470] Compiling poly_rq_mul.S
[1292/1499] Compiling fips_shared_support.cc
[1293/1499] Compiling kyber.cc
[1295/1499] Compiling SwiftDiagnostics Message.swift
[1296/1500] Compiling SwiftBasicFormat InferIndentation.swift
[1296/1500] Compiling lhash.cc
[1298/1500] Emitting module SwiftDiagnostics
[1298/1500] Compiling hpke.cc
[1300/1500] Compiling SwiftParser Attributes.swift
[1301/1500] Compiling SwiftParser Availability.swift
[1302/1500] Compiling SwiftBasicFormat Syntax+Extensions.swift
[1303/1500] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[1304/1500] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[1305/1500] Compiling SwiftDiagnostics Note.swift
[1306/1500] Compiling SwiftParser CharacterInfo.swift
[1307/1500] Compiling SwiftParser CollectionNodes+Parsable.swift
[1307/1500] Compiling hrss.cc
[1309/1500] Compiling SwiftBasicFormat Indenter.swift
[1309/1500] Compiling ex_data.cc
[1311/1500] Compiling SwiftDiagnostics FixIt.swift
[1312/1500] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[1312/1500] Compiling sign.cc
[1314/1500] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[1315/1500] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[1316/1501] Emitting module SwiftBasicFormat
[1317/1501] Compiling SwiftBasicFormat BasicFormat.swift
[1318/1502] Compiling scrypt.cc
[1319/1502] Compiling print.cc
[1321/1502] Compiling pbkdf.cc
[1322/1502] Wrapping AST for SwiftDiagnostics for debugging
[1323/1502] Wrapping AST for SwiftBasicFormat for debugging
[1324/1502] Compiling p_x25519.cc
[1325/1502] Compiling p_x25519_asn1.cc
[1326/1502] Compiling p_ed25519.cc
[1327/1502] Compiling p_hkdf.cc
[1328/1502] Compiling p_rsa.cc
[1329/1502] Compiling p_rsa_asn1.cc
[1330/1502] Compiling p_ec_asn1.cc
[1331/1502] Compiling p_dsa_asn1.cc
[1332/1502] Compiling p_dh_asn1.cc
[1333/1502] Compiling p_ed25519_asn1.cc
[1335/1502] Emitting module SwiftParser
[1335/1507] Compiling evp_ctx.cc
[1336/1507] Compiling p_dh.cc
[1337/1507] Compiling p_ec.cc
[1338/1507] Compiling evp.cc
[1339/1507] Compiling evp_asn1.cc
[1341/1507] Compiling SwiftParser LexemeSequence.swift
[1342/1507] Compiling SwiftParser Lexer.swift
[1343/1507] Compiling SwiftParser RegexLiteralLexer.swift
[1344/1507] Compiling SwiftParser UnicodeScalarExtensions.swift
[1345/1507] Compiling SwiftParser Lookahead.swift
[1346/1507] Compiling SwiftParser LoopProgressCondition.swift
[1346/1507] Compiling err.cc
[1346/1507] Compiling engine.cc
[1348/1507] Compiling ecdh_extra.cc
[1349/1507] Compiling ecdsa_asn1.cc
[1351/1507] Compiling SwiftParser SwiftParserCompatibility.swift
[1352/1507] Compiling SwiftParser SwiftVersion.swift
[1353/1507] Compiling SwiftParser SyntaxUtils.swift
[1354/1507] Compiling SwiftParser TokenConsumer.swift
[1355/1507] Compiling SwiftParser TokenPrecedence.swift
[1356/1507] Compiling SwiftParser TokenSpec.swift
[1357/1507] Compiling SwiftParser TokenSpecSet.swift
[1358/1507] Compiling SwiftParser TopLevel.swift
[1359/1507] Compiling SwiftParser TriviaParser.swift
[1360/1507] Compiling SwiftParser Types.swift
[1360/1507] Compiling ec_derive.cc
[1361/1507] Compiling hash_to_curve.cc
[1362/1507] Compiling ec_asn1.cc
[1364/1507] Compiling SwiftParser Modifiers.swift
[1365/1507] Compiling SwiftParser Names.swift
[1366/1507] Compiling SwiftParser Nominals.swift
[1367/1507] Compiling SwiftParser Parameters.swift
[1368/1507] Compiling SwiftParser ParseSourceFile.swift
[1369/1507] Compiling SwiftParser Parser.swift
[1370/1507] Compiling SwiftParser Patterns.swift
[1371/1507] Compiling SwiftParser Recovery.swift
[1372/1507] Compiling SwiftParser Specifiers.swift
[1373/1507] Compiling SwiftParser Statements.swift
[1374/1507] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[1375/1507] Compiling SwiftParser StringLiterals.swift
[1375/1507] Compiling dsa_asn1.cc
[1376/1507] Compiling dsa.cc
[1377/1507] Compiling digest_extra.cc
[1378/1507] Compiling params.cc
[1379/1507] Compiling x25519-asm-arm.S
[1380/1507] Compiling dh_asn1.cc
[1386/1507] Compiling SwiftParser Declarations.swift
[1387/1507] Compiling SwiftParser Directives.swift
[1388/1507] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[1389/1507] Compiling SwiftParser Expressions.swift
[1390/1507] Compiling SwiftParser IncrementalParseTransition.swift
[1391/1507] Compiling SwiftParser IsValidIdentifier.swift
[1392/1507] Compiling SwiftParser Cursor.swift
[1393/1507] Compiling SwiftParser Lexeme.swift
[1393/1507] Compiling spake25519.cc
[1394/1507] Compiling des.cc
[1395/1507] Compiling bcm.cc
[1396/1507] Compiling cpu_intel.cc
[1397/1507] Compiling crypto.cc
[1398/1507] Compiling curve25519_64_adx.cc
[1399/1507] Compiling curve25519.cc
[1400/1507] Compiling cpu_arm_linux.cc
[1401/1507] Compiling cpu_aarch64_linux.cc
[1402/1507] Compiling cpu_aarch64_win.cc
[1403/1507] Compiling cpu_aarch64_openbsd.cc
[1404/1507] Compiling cpu_arm_freebsd.cc
[1405/1507] Compiling cpu_aarch64_fuchsia.cc
[1406/1507] Compiling cpu_aarch64_sysreg.cc
[1407/1507] Compiling cpu_aarch64_apple.cc
[1408/1507] Compiling e_null.cc
[1409/1507] Compiling conf.cc
[1410/1507] Compiling tls_cbc.cc
[1411/1507] Compiling e_rc4.cc
[1412/1507] Compiling e_tls.cc
[1413/1507] Compiling e_rc2.cc
[1414/1507] Compiling e_des.cc
[1415/1507] Compiling e_aesgcmsiv.cc
[1416/1507] Compiling e_chacha20poly1305.cc
[1417/1507] Compiling derive_key.cc
[1418/1507] Compiling e_aesctrhmac.cc
[1419/1507] Compiling cipher_extra.cc
[1420/1507] Compiling chacha.cc
[1421/1507] Compiling unicode.cc
[1422/1507] Compiling cbs.cc
[1423/1507] Compiling ber.cc
[1424/1507] Compiling asn1_compat.cc
[1425/1507] Compiling buf.cc
[1427/1507] Compiling SwiftParser ExperimentalFeatures.swift
[1428/1507] Compiling SwiftParser IsLexerClassified.swift
[1429/1507] Compiling SwiftParser LayoutNodes+Parsable.swift
[1430/1507] Compiling SwiftParser Parser+TokenSpecSet.swift
[1431/1507] Compiling SwiftParser TokenSpecStaticMembers.swift
[1431/1508] Compiling bn_asn1.cc
[1432/1508] Compiling cbb.cc
[1434/1508] Compiling printf.cc
[1435/1508] Compiling blake2.cc
[1436/1508] Compiling pair.cc
[1437/1508] Compiling convert.cc
[1438/1508] Compiling hexdump.cc
[1439/1508] Compiling fd.cc
[1440/1508] Compiling file.cc
[1441/1509] Compiling errno.cc
[1442/1524] Compiling bio_mem.cc
[1443/1531] Wrapping AST for SwiftParser for debugging
[1444/1531] Compiling bio.cc
[1445/1531] Compiling base64.cc
[1447/1531] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[1448/1532] Compiling SwiftOperators OperatorError.swift
[1449/1532] Compiling SwiftOperators OperatorTable+Defaults.swift
[1450/1533] Compiling SwiftOperators OperatorTable.swift
[1451/1533] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[1452/1533] Compiling SwiftOperators Operator.swift
[1453/1533] Compiling SwiftOperators OperatorError+Diagnostics.swift
[1453/1533] Compiling tasn_utl.cc
[1455/1533] Compiling SwiftOperators PrecedenceGroup.swift
[1456/1533] Compiling SwiftOperators PrecedenceGraph.swift
[1457/1533] Compiling SwiftOperators SyntaxSynthesis.swift
[1457/1533] Compiling tasn_fre.cc
[1459/1533] Emitting module SwiftOperators
[1460/1533] Compiling SwiftOperators OperatorTable+Semantics.swift
[1460/1533] Compiling tasn_new.cc
[1461/1533] Compiling tasn_typ.cc
[1462/1533] Compiling tasn_enc.cc
[1463/1533] Compiling tasn_dec.cc
[1465/1533] Compiling SwiftOperators OperatorTable+Folding.swift
[1465/1534] Compiling posix_time.cc
[1467/1534] Emitting module SwiftParserDiagnostics
[1467/1534] Compiling asn1_par.cc
[1468/1534] Compiling asn_pack.cc
[1470/1534] Compiling f_string.cc
[1471/1534] Compiling f_int.cc
[1473/1534] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[1474/1534] Compiling SwiftParserDiagnostics Utils.swift
[1475/1534] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[1475/1534] Wrapping AST for SwiftOperators for debugging
[1476/1534] Compiling a_type.cc
[1477/1534] Compiling asn1_lib.cc
[1478/1534] Compiling a_time.cc
[1479/1534] Compiling a_utctm.cc
[1480/1534] Compiling a_strex.cc
[1481/1534] Compiling a_strnid.cc
[1484/1534] Compiling a_object.cc
[1485/1534] Compiling a_i2d_fp.cc
[1486/1534] Compiling a_octet.cc
[1487/1534] Compiling a_mbstr.cc
[1488/1534] Compiling a_dup.cc
[1488/1534] Write sources
[1494/1534] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[1495/1534] Compiling a_int.cc
[1496/1534] Compiling a_gentm.cc
[1497/1592] Compiling a_d2i_fp.cc
[1498/1628] Compiling a_bitstr.cc
[1499/1631] Compiling a_bool.cc
[1500/1631] Compiling _TestingInternals Versions.cpp
[1501/1631] Compiling _TestingInternals Stubs.cpp
[1502/1631] Write sources
[1508/1631] Compiling _TestingInternals WillThrow.cpp
[1509/1631] Compiling writer.c
[1511/1631] Compiling Algorithms Permutations.swift
[1512/1631] Compiling Algorithms Product.swift
[1513/1658] Compiling FOSFoundation GlobalStringStore.swift
[1514/1658] Compiling FOSFoundation Bundle.swift
[1515/1658] Compiling FOSFoundation DataFetch.swift
[1516/1658] Compiling FOSFoundation DataFetchError.swift
[1516/1666] Compiling scanner.c
[1517/1666] Compiling reader.c
[1518/1666] Compiling parser.c
[1520/1666] Compiling FOSFoundation DateFormatter.swift
[1521/1666] Compiling FOSFoundation Decodable.swift
[1522/1666] Compiling FOSFoundation JSONError.swift
[1523/1666] Compiling FOSFoundation Stubbable.swift
[1524/1666] Compiling FOSFoundation DecodingError.swift
[1525/1666] Compiling FOSFoundation Encodable.swift
[1525/1667] Compiling emitter.c
[1526/1667] Compiling api.c
[1529/1667] Compiling FOSFoundation Int+Hex.swift
[1530/1667] Compiling FOSFoundation String+Crypto.swift
[1531/1667] Compiling FOSFoundation URL+DataFetch.swift
[1532/1667] Compiling FOSFoundation URL+Files.swift
[1535/1667] Compiling FOSFoundation String+Obfuscation.swift
[1536/1667] Compiling FOSFoundation URLSession+MockingSupport.swift
[1537/1667] Compiling FOSFoundation URLSessionWebSocketTask.swift
[1538/1667] Compiling FOSFoundation Double.swift
[1539/1667] Compiling BitCollections BitSet+Invariants.swift
[1540/1667] Compiling BitCollections BitSet+Random.swift
[1541/1667] Compiling BitCollections BitSet+SetAlgebra basics.swift
[1542/1667] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[1543/1667] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[1544/1667] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[1545/1674] Compiling FOSFoundation JSONDecoder.swift
[1546/1674] Compiling FOSFoundation JSONEncoder.swift
[1549/1674] Compiling FOSFoundation Array.swift
[1550/1674] Compiling FOSFoundation Collection.swift
[1551/1674] Emitting module BitCollections
[1552/1687] Compiling Yams Emitter.swift
[1553/1687] Compiling Yams Encoder.swift
[1554/1687] Compiling Yams Mark.swift
[1555/1687] Compiling Yams Node.Alias.swift
[1559/1712] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[1560/1712] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[1561/1712] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[1562/1712] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[1563/1712] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[1564/1712] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[1565/1712] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[1566/1712] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[1567/1712] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[1568/1712] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[1569/1712] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[1570/1712] Compiling BitCollections BitSet+SetAlgebra union.swift
[1571/1712] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[1572/1712] Compiling BitCollections BitSet.Counted.swift
[1573/1712] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[1574/1712] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[1575/1712] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[1576/1712] Compiling CryptoBoringWrapper RandomBytes.swift
[1577/1712] Compiling Yams Resolver.swift
[1578/1712] Compiling Yams String+Yams.swift
[1579/1712] Compiling Yams Tag.swift
[1580/1712] Compiling Yams YamlAnchorProviding.swift
[1585/1713] Compiling SwiftSyntaxBuilder Indenter.swift
[1586/1713] Compiling SwiftSyntaxBuilder ListBuilder.swift
[1586/1713] Compiling _TestingInternals Discovery.cpp
[1588/1713] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[1589/1713] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[1592/1713] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[1593/1713] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[1594/1713] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[1595/1713] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[1596/1713] Compiling BitCollections BitArray+BitwiseOperations.swift
[1597/1713] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[1598/1713] Compiling BitCollections BitArray+Codable.swift
[1599/1713] Compiling BitCollections BitArray+Collection.swift
[1600/1713] Compiling BitCollections BitArray+Copy.swift
[1601/1713] Compiling BitCollections BitArray+CustomReflectable.swift
[1602/1713] Compiling BitCollections BitArray+Descriptions.swift
[1603/1713] Compiling BitCollections BitArray+Equatable.swift
[1607/1713] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[1608/1713] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[1609/1713] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[1610/1713] Compiling Yams Representer.swift
[1612/1713] Compiling Algorithms Trim.swift
[1613/1713] Compiling Algorithms Unique.swift
[1614/1713] Compiling Algorithms Windows.swift
[1616/1713] Wrapping AST for SwiftParserDiagnostics for debugging
[1618/1713] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[1619/1713] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[1620/1713] Emitting module SwiftSyntaxBuilder
[1621/1713] Emitting module CryptoBoringWrapper
[1622/1713] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[1623/1713] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[1624/1713] Compiling BitCollections BitSet.Index.swift
[1625/1713] Compiling BitCollections BitSet._UnsafeHandle.swift
[1626/1713] Compiling BitCollections BitSet.swift
[1627/1713] Compiling BitCollections Range+Utilities.swift
[1628/1713] Compiling BitCollections Slice+Utilities.swift
[1629/1713] Compiling BitCollections UInt+Tricks.swift
[1630/1713] Compiling BitCollections _Word.swift
[1631/1714] Compiling CryptoBoringWrapper EllipticCurve.swift
[1632/1714] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[1637/1714] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[1654/1715] Emitting module Atomics
[1661/1718] Emitting module Algorithms
[1663/1780] Compiling Collections Collections.swift
[1664/1780] Emitting module Collections
[1665/1792] Emitting module Yams
[1665/1794] Wrapping AST for SwiftSyntaxBuilder for debugging
[1668/1871] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[1669/1871] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[1670/1871] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[1671/1871] Compiling SwiftSyntaxMacros Macro+Format.swift
[1672/1873] Compiling SwiftSyntaxMacros Macro.swift
[1673/1873] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[1674/1873] Compiling SwiftSyntaxMacros MemberMacro.swift
[1675/1873] Compiling SwiftSyntaxMacros PeerMacro.swift
[1676/1873] Emitting module SwiftSyntaxMacros
[1677/1873] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[1678/1873] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[1679/1873] Compiling SwiftSyntaxMacros AccessorMacro.swift
[1680/1873] Compiling SwiftSyntaxMacros AttachedMacro.swift
[1681/1873] Compiling SwiftSyntaxMacros BodyMacro.swift
[1682/1873] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[1683/1873] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[1684/1873] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[1685/1873] Compiling SwiftSyntaxMacros PreambleMacro.swift
[1686/1873] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[1688/1874] Compiling NIOCore ByteBuffer-aux.swift
[1689/1874] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[1690/1874] Compiling NIOCore ByteBuffer-conversions.swift
[1691/1874] Compiling NIOCore ByteBuffer-core.swift
[1692/1874] Compiling NIOCore ByteBuffer-hex.swift
[1693/1874] Compiling NIOCore ByteBuffer-int.swift
[1694/1874] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[1695/1874] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[1696/1874] Compiling NIOCore EventLoopFuture+Deprecated.swift
[1697/1874] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[1697/1883] Wrapping AST for SwiftSyntaxMacros for debugging
[1699/1892] Compiling NIOCore MulticastChannel.swift
[1700/1892] Compiling NIOCore NIOAny.swift
[1701/1892] Compiling NIOCore NIOCloseOnErrorHandler.swift
[1702/1892] Compiling NIOCore NIOLoopBound.swift
[1703/1892] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[1704/1892] Compiling NIOCore NIOScheduledCallback.swift
[1705/1892] Compiling NIOCore NIOSendable.swift
[1706/1892] Compiling NIOCore RecvByteBufferAllocator.swift
[1707/1900] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[1708/1901] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[1709/1901] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[1710/1901] Compiling NIOCore MarkedCircularBuffer.swift
[1719/1901] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[1720/1901] Compiling NIOCore EventLoop+Deprecated.swift
[1721/1901] Compiling NIOCore EventLoop+SerialExecutor.swift
[1722/1901] Compiling NIOCore EventLoop.swift
[1723/1901] Compiling NIOCore IO.swift
[1724/1901] Compiling NIOCore IOData.swift
[1725/1901] Compiling NIOCore IPProtocol.swift
[1726/1901] Compiling NIOCore IntegerBitPacking.swift
[1727/1901] Compiling NIOCore IntegerTypes.swift
[1728/1901] Compiling NIOCore Interfaces.swift
[1729/1901] Compiling NIOCore Linux.swift
[1730/1901] Emitting module SwiftSyntaxMacroExpansion
[1732/1901] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[1742/1901] Compiling NIOCore BSDSocketAPI.swift
[1743/1901] Emitting module Crypto
[1744/1901] Compiling NIOCore SocketAddresses.swift
[1745/1901] Compiling NIOCore SocketOptionProvider.swift
[1746/1901] Compiling NIOCore SystemCallHelpers.swift
[1747/1901] Compiling NIOCore TimeAmount+Duration.swift
[1748/1901] Compiling NIOCore TypeAssistedChannelHandler.swift
[1749/1901] Compiling NIOCore UniversalBootstrapSupport.swift
[1750/1901] Compiling NIOCore Utilities.swift
[1751/1901] Compiling Crypto ECDH_boring.swift
[1752/1901] Compiling Crypto DH.swift
[1753/1901] Compiling Crypto ECDH.swift
[1754/1901] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[1755/1901] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[1756/1901] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[1757/1901] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[1758/1901] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1766/1901] Emitting module FOSFoundation
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
36 | /// | Accept-Language | <provided locale> |
37 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
38 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
39 | .fetch(self, headers: headers, locale: locale)
40 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
56 | /// | Accept-Language | <provided locale> |
57 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
58 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
59 | .fetch(self, headers: headers, locale: locale, errorType: errorType)
60 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
74 | /// | Content-Type | application/json;charset=utf-8 |
75 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
76 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
77 | .post(data: data, to: self, headers: headers)
78 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
93 | /// | Content-Type | application/json;charset=utf-8 |
94 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
95 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
96 | .post(
97 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 | /// | Content-Type | application/json;charset=utf-8 |
117 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 | .delete(data: data, at: self, headers: headers)
120 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 | /// | Content-Type | application/json;charset=utf-8 |
136 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 | .delete(
139 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
36 | /// | Accept-Language | <provided locale> |
37 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
38 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
39 | .fetch(self, headers: headers, locale: locale)
40 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
56 | /// | Accept-Language | <provided locale> |
57 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
58 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
59 | .fetch(self, headers: headers, locale: locale, errorType: errorType)
60 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
74 | /// | Content-Type | application/json;charset=utf-8 |
75 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
76 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
77 | .post(data: data, to: self, headers: headers)
78 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
93 | /// | Content-Type | application/json;charset=utf-8 |
94 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
95 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
96 | .post(
97 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 | /// | Content-Type | application/json;charset=utf-8 |
117 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 | .delete(data: data, at: self, headers: headers)
120 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 | /// | Content-Type | application/json;charset=utf-8 |
136 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 | .delete(
139 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
36 | /// | Accept-Language | <provided locale> |
37 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
38 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
39 | .fetch(self, headers: headers, locale: locale)
40 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
56 | /// | Accept-Language | <provided locale> |
57 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
58 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
59 | .fetch(self, headers: headers, locale: locale, errorType: errorType)
60 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
74 | /// | Content-Type | application/json;charset=utf-8 |
75 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
76 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
77 | .post(data: data, to: self, headers: headers)
78 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
93 | /// | Content-Type | application/json;charset=utf-8 |
94 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
95 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
96 | .post(
97 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 | /// | Content-Type | application/json;charset=utf-8 |
117 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 | .delete(data: data, at: self, headers: headers)
120 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 | /// | Content-Type | application/json;charset=utf-8 |
136 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 | .delete(
139 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:311:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
311 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
312 | sessionConfig.allowsCellularAccess = allowCellular
313 | sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:353:26: error: cannot find 'URLRequest' in scope
351 | }
352 |
353 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
354 | urlRequest.httpMethod = httpMethod
355 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:418:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
416 | }
417 | }
418 | .resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
419 | }
420 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:486:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
484 | }
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
488 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:487:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
488 | }
489 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:501:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
499 | guard let expectedMimeType else { return }
500 |
501 | guard let mimeType = response.mimeType else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
502 | throw DataFetchError.badResponseMimeType("<None Received>")
503 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:311:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
311 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
312 | sessionConfig.allowsCellularAccess = allowCellular
313 | sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:353:26: error: cannot find 'URLRequest' in scope
351 | }
352 |
353 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
354 | urlRequest.httpMethod = httpMethod
355 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:418:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
416 | }
417 | }
418 | .resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
419 | }
420 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:486:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
484 | }
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
488 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:487:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
488 | }
489 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:501:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
499 | guard let expectedMimeType else { return }
500 |
501 | guard let mimeType = response.mimeType else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
502 | throw DataFetchError.badResponseMimeType("<None Received>")
503 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:311:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
311 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
312 | sessionConfig.allowsCellularAccess = allowCellular
313 | sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:353:26: error: cannot find 'URLRequest' in scope
351 | }
352 |
353 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
354 | urlRequest.httpMethod = httpMethod
355 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:418:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
416 | }
417 | }
418 | .resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
419 | }
420 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:486:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
484 | }
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
488 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:487:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
488 | }
489 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:501:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
499 | guard let expectedMimeType else { return }
500 |
501 | guard let mimeType = response.mimeType else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
502 | throw DataFetchError.badResponseMimeType("<None Received>")
503 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
[1805/1904] Compiling Crypto Signature.swift
[1806/1904] Compiling Crypto CryptoKitErrors_boring.swift
[1807/1904] Compiling Crypto RNG_boring.swift
[1808/1904] Compiling Crypto SafeCompare_boring.swift
[1809/1904] Compiling Crypto Zeroization_boring.swift
[1810/1904] Compiling Crypto PrettyBytes.swift
[1811/1904] Compiling Crypto SafeCompare.swift
[1812/1904] Compiling Crypto SecureBytes.swift
[1813/1904] Compiling Crypto Zeroization.swift
[1820/1904] Compiling NIOCore EventLoopFuture.swift
[1821/1904] Compiling NIOCore FileDescriptor.swift
[1822/1904] Compiling NIOCore FileHandle.swift
[1823/1904] Compiling NIOCore FileRegion.swift
[1824/1904] Compiling NIOCore GlobalSingletons.swift
[1825/1904] Compiling NIOCore CircularBuffer.swift
[1826/1904] Compiling NIOCore Codec.swift
[1827/1904] Compiling NIOCore ConvenienceOptionSupport.swift
[1828/1904] Compiling NIOCore DeadChannel.swift
[1829/1904] Compiling NIOCore DispatchQueue+WithFuture.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/24] Write swift-version-24593BA9C3E375BF.txt
[4/36] Emitting module SwiftSyntax601
[5/101] Compiling SwiftSyntax510 Empty.swift
[6/104] Compiling SwiftSyntax601 Empty.swift
[7/104] Emitting module SwiftSyntax510
[8/106] Emitting module SwiftSyntax600
[9/106] Compiling SwiftSyntax600 Empty.swift
[13/106] Compiling SystemPackage CInterop.swift
[14/106] Compiling SystemPackage Constants.swift
[17/113] Compiling _NIODataStructures Heap.swift
[18/113] Emitting module _NIODataStructures
[19/123] Compiling SystemPackage FilePathParsing.swift
[20/123] Compiling SystemPackage FilePathString.swift
[21/123] Compiling SystemPackage FilePathTemp.swift
[22/123] Compiling SystemPackage Backcompat.swift
[23/123] Compiling SwiftSyntax509 Empty.swift
[24/123] Emitting module SwiftSyntax509
[25/124] Compiling _NIODataStructures PriorityQueue.swift
[26/124] Compiling _NIODataStructures _TinyArray.swift
[27/125] Compiling ServiceContextModule ServiceContextKey.swift
[28/125] Emitting module _NIOBase64
[29/125] Compiling _NIOBase64 Base64.swift
[30/126] Compiling RealModule ElementaryFunctions.swift
[31/126] Emitting module ServiceContextModule
[32/127] Compiling SystemPackage FilePathSyntax.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[38/127] Compiling Yams YamlError.swift
[39/130] Compiling ServiceContextModule ServiceContext.swift
[43/131] Compiling RealModule Real.swift
[44/131] Compiling RealModule RealFunctions.swift
[46/130] Compiling RealModule AlgebraicField.swift
[47/130] Compiling RealModule ApproximateEquality.swift
[48/130] Compiling RealModule AugmentedArithmetic.swift
[49/130] Compiling RealModule Double+Real.swift
[50/130] Compiling RealModule Float+Real.swift
[51/130] Compiling RealModule Float80+Real.swift
[52/130] Compiling RealModule Float16+Real.swift
[53/130] Emitting module Yams
[55/130] Compiling Yams YamlTagProviding.swift
[56/130] Emitting module SystemPackage
[59/150] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[60/150] Compiling InternalCollectionsUtilities UInt+reversed.swift
[61/150] Compiling InternalCollectionsUtilities Descriptions.swift
[62/150] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[63/150] Emitting module Yams
[65/150] Compiling SystemPackage RawBuffer.swift
[66/150] Compiling SystemPackage Syscalls.swift
[67/150] Compiling SystemPackage WindowsSyscallAdapters.swift
[68/150] Compiling SystemPackage MachPort.swift
[69/150] Compiling SystemPackage PlatformString.swift
[70/150] Compiling SystemPackage SystemString.swift
[74/150] Compiling InternalCollectionsUtilities Debugging.swift
[75/150] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[76/150] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[77/155] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[78/155] Compiling InternalCollectionsUtilities _SortedCollection.swift
[83/155] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[84/156] Emitting module RealModule
[85/156] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[87/157] Compiling Logging MetadataProvider.swift
[95/157] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[96/157] Compiling NIOConcurrencyHelpers NIOLock.swift
[97/157] Compiling SystemPackage Util+StringArray.swift
[98/157] Compiling SystemPackage Util.swift
[99/157] Compiling SystemPackage UtilConsumers.swift
[100/157] Compiling NIOConcurrencyHelpers lock.swift
[101/158] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[102/158] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[103/158] Compiling NIOConcurrencyHelpers atomics.swift
[104/201] Emitting module NIOConcurrencyHelpers
[105/222] Compiling SwiftSyntax Convenience.swift
[106/222] Compiling SwiftSyntax CustomTraits.swift
[107/222] Compiling SwiftSyntax BumpPtrAllocator.swift
[108/222] Compiling SwiftSyntax CommonAncestor.swift
[111/222] Compiling SwiftSyntax AbsolutePosition.swift
[112/222] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[113/222] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[114/222] Compiling SwiftSyntax Assert.swift
[115/222] Compiling SwiftSyntax Keyword.swift
[116/222] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[117/222] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[120/223] Emitting module InternalCollectionsUtilities
[121/223] Compiling SwiftSyntax EditorPlaceholder.swift
[122/223] Compiling SwiftSyntax Trivia.swift
[128/257] Compiling Instrumentation MultiplexInstrument.swift
[129/257] Compiling Instrumentation NoOpInstrument.swift
[130/262] Compiling Instrumentation InstrumentationSystem.swift
[131/262] Compiling Instrumentation Locks.swift
[132/263] Compiling Instrumentation Instrument.swift
[133/263] Emitting module Instrumentation
[134/264] Compiling FOSFoundation DataFetchError.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
36 | /// | Accept-Language | <provided locale> |
37 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
38 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
39 | .fetch(self, headers: headers, locale: locale)
40 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
56 | /// | Accept-Language | <provided locale> |
57 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
58 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
59 | .fetch(self, headers: headers, locale: locale, errorType: errorType)
60 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
74 | /// | Content-Type | application/json;charset=utf-8 |
75 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
76 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
77 | .post(data: data, to: self, headers: headers)
78 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
93 | /// | Content-Type | application/json;charset=utf-8 |
94 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
95 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
96 | .post(
97 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 | /// | Content-Type | application/json;charset=utf-8 |
117 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 | .delete(data: data, at: self, headers: headers)
120 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 | /// | Content-Type | application/json;charset=utf-8 |
136 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 | .delete(
139 | data: data,
[135/264] Compiling FOSFoundation URL+DataFetch.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
36 | /// | Accept-Language | <provided locale> |
37 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
38 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
39 | .fetch(self, headers: headers, locale: locale)
40 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
56 | /// | Accept-Language | <provided locale> |
57 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
58 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
59 | .fetch(self, headers: headers, locale: locale, errorType: errorType)
60 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
74 | /// | Content-Type | application/json;charset=utf-8 |
75 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
76 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
77 | .post(data: data, to: self, headers: headers)
78 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
93 | /// | Content-Type | application/json;charset=utf-8 |
94 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
95 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
96 | .post(
97 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 | /// | Content-Type | application/json;charset=utf-8 |
117 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 | .delete(data: data, at: self, headers: headers)
120 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 | /// | Content-Type | application/json;charset=utf-8 |
136 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 | .delete(
139 | data: data,
[136/264] Compiling FOSFoundation URL+Files.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:38:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
36 | /// | Accept-Language | <provided locale> |
37 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil) async throws -> ResultValue {
38 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
39 | .fetch(self, headers: headers, locale: locale)
40 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:58:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
56 | /// | Accept-Language | <provided locale> |
57 | func fetch<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, locale: Locale? = nil, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
58 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
59 | .fetch(self, headers: headers, locale: locale, errorType: errorType)
60 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:76:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
74 | /// | Content-Type | application/json;charset=utf-8 |
75 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
76 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
77 | .post(data: data, to: self, headers: headers)
78 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:95:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
93 | /// | Content-Type | application/json;charset=utf-8 |
94 | func send<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
95 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
96 | .post(
97 | data: data,
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:118:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
116 | /// | Content-Type | application/json;charset=utf-8 |
117 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable) async throws -> ResultValue {
118 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
119 | .delete(data: data, at: self, headers: headers)
120 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URL+DataFetch.swift:137:19: error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
135 | /// | Content-Type | application/json;charset=utf-8 |
136 | func delete<ResultValue: Decodable>(headers: [(field: String, value: String)]? = nil, data: some Encodable, errorType: (some Decodable & Error).Type) async throws -> ResultValue {
137 | try await DataFetch<URLSession>.default
| `- error: type 'URLSession' (aka 'AnyObject') does not conform to protocol 'URLSessionProtocol'
138 | .delete(
139 | data: data,
[138/267] Compiling FOSFoundation GlobalStringStore.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:311:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
311 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
312 | sessionConfig.allowsCellularAccess = allowCellular
313 | sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:353:26: error: cannot find 'URLRequest' in scope
351 | }
352 |
353 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
354 | urlRequest.httpMethod = httpMethod
355 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:418:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
416 | }
417 | }
418 | .resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
419 | }
420 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:486:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
484 | }
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
488 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:487:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
488 | }
489 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:501:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
499 | guard let expectedMimeType else { return }
500 |
501 | guard let mimeType = response.mimeType else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
502 | throw DataFetchError.badResponseMimeType("<None Received>")
503 | }
[139/267] Compiling FOSFoundation Bundle.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:311:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
311 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
312 | sessionConfig.allowsCellularAccess = allowCellular
313 | sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:353:26: error: cannot find 'URLRequest' in scope
351 | }
352 |
353 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
354 | urlRequest.httpMethod = httpMethod
355 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:418:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
416 | }
417 | }
418 | .resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
419 | }
420 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:486:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
484 | }
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
488 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:487:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
488 | }
489 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:501:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
499 | guard let expectedMimeType else { return }
500 |
501 | guard let mimeType = response.mimeType else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
502 | throw DataFetchError.badResponseMimeType("<None Received>")
503 | }
[140/267] Compiling FOSFoundation DataFetch.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:311:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
311 | let sessionConfig = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
312 | sessionConfig.allowsCellularAccess = allowCellular
313 | sessionConfig.isDiscretionary = false
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:353:26: error: cannot find 'URLRequest' in scope
351 | }
352 |
353 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
354 | urlRequest.httpMethod = httpMethod
355 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:418:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
416 | }
417 | }
418 | .resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
419 | }
420 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:43: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:482:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
480 | }
481 |
482 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
483 | fatalError("Expected to receive an 'HTTPURLResponse', but received '\(String(describing: type(of: response.self)))'")
484 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:486:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
484 | }
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
488 | }
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:487:73: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
485 |
486 | guard (200...299).contains(httpResponse.statusCode) else {
487 | throw DataFetchError.badStatus(httpStatusCode: httpResponse.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
488 | }
489 |
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:501:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
499 | guard let expectedMimeType else { return }
500 |
501 | guard let mimeType = response.mimeType else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
502 | throw DataFetchError.badResponseMimeType("<None Received>")
503 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[141/267] Emitting module FOSFoundation
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:310:118: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 | /// - userToken: A *Bearer* token that is sent in the *Authorization* HTTP header
309 | /// - allowCellular: Allow requests to be made over cellular connections (default: true)
310 | public static func urlSessionConfiguration(forUserToken userToken: String? = nil, allowCellular: Bool = true) -> URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 | let sessionConfig = URLSessionConfiguration.default
312 | sessionConfig.allowsCellularAccess = allowCellular
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:422:130: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
420 | }
421 |
422 | private static func completionHandler<ResultValue: Decodable, ResultError: Decodable & Error>(responseData: Data?, response: URLResponse?, error: Error?, expectedMimeType: String?, errorType: ResultError.Type) throws -> ResultValue {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
423 | do {
424 | try checkResponse( // DataFetchError
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:68: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:477:140: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
475 | }
476 |
477 | @discardableResult private static func checkResponse(response: URLResponse?, error: Swift.Error?, expectedMimeType: String?) throws -> HTTPURLResponse {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
478 | if let error {
479 | throw error
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/DataFetch.swift:498:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
496 | }
497 |
498 | private static func checkMimeType(response: HTTPURLResponse, expectedMimeType: String?) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
499 | guard let expectedMimeType else { return }
500 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
[142/335] Compiling CryptoBoringWrapper RandomBytes.swift
[143/335] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[144/335] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[145/335] Compiling _RopeModule BigString+Ingester.swift
[146/335] Compiling _RopeModule BigString+Invariants.swift
[147/335] Compiling _RopeModule BigString+Iterators.swift
[148/335] Compiling _RopeModule BigString+Metrics.swift
[149/335] Compiling _RopeModule BigString+Builder.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
[150/335] Compiling _RopeModule BigString+Contents.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
[151/335] Compiling _RopeModule BigString+Debugging.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
[152/335] Compiling _RopeModule BigString+Index.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Async/Task.swift:42:25: error: cannot find 'DispatchSemaphore' in scope
40 | /// ```
41 | static func synchronous(priority: TaskPriority? = nil, operation: @escaping @Sendable () async throws -> Success) {
42 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
43 |
44 | Task(priority: priority) {
[153/335] Compiling _RopeModule BigString+Summary.swift
[154/335] Compiling _RopeModule BigString.swift
[155/335] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[156/335] Compiling _RopeModule BigString+Chunk+Breaks.swift
[157/335] Compiling CryptoBoringWrapper EllipticCurve.swift
[158/335] Compiling _RopeModule BigString+Initializers.swift
[159/335] Compiling _RopeModule BigString+Insert.swift
[160/335] Compiling _RopeModule BigString+Managing Breaks.swift
[161/335] Compiling _RopeModule BigString+Chunk.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
[162/335] Compiling _RopeModule BigString+BidirectionalCollection.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
[163/335] Compiling _RopeModule BigString+Append.swift
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:25:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | func dataTask(
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) -> URLSessionDataTask
27 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:26:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | with url: URL,
25 | completionHandler: @escaping @Sendable (Data?, URLResponse?, Error?) -> Void
26 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |
28 | func dataTask(
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:29:23: error: cannot find type 'URLRequest' in scope
27 |
28 | func dataTask(
29 | with request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:30:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | func dataTask(
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:31:10: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | with request: URLRequest,
30 | completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void
31 | ) -> URLSessionDataTask
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:33:33: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | ) -> URLSessionDataTask
32 |
33 | static func session(config: URLSessionConfiguration) -> Self
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | }
35 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSession+MockingSupport.swift:36:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
34 | }
35 |
36 | extension URLSession: URLSessionProtocol, @unchecked Sendable {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
37 | public static func session(config: URLSessionConfiguration) -> Self {
38 | // REVIEWED - dgh: This odd construction is due to the way that
/host/spi-builder-workspace/Sources/FOSFoundation/Networking/URLSessionWebSocketTask.swift:40:18: error: cannot find type 'URLSessionWebSocketTask' in scope
38 | }
39 |
40 | public extension URLSessionWebSocketTask {
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
41 | /// A simplified API to send an **Encodable** over a web socket
42 | ///
[164/335] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[165/368] Emitting module CryptoBoringWrapper
[166/390] Compiling Logging Logging.swift
[167/390] Emitting module Logging
[168/390] Compiling Logging Locks.swift
[169/390] Compiling Logging LogHandler.swift
[170/391] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[171/391] Compiling OrderedCollections _HashTable+Testing.swift
[172/391] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[173/391] Compiling OrderedCollections _HashTable+Bucket.swift
[174/391] Compiling OrderedCollections _HashTable+BucketIterator.swift
[175/391] Compiling OrderedCollections _HashTable+Constants.swift
[177/392] Compiling OrderedCollections _HashTable.swift
[178/392] Compiling OrderedCollections _Hashtable+Header.swift
[179/392] Compiling OrderedCollections OrderedDictionary+Codable.swift
BUILD FAILURE 6.1 wasm