The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OAuthSwift with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OAuthSwift/OAuthSwift.git
Reference: 2.2.0
Cloned https://github.com/OAuthSwift/OAuthSwift.git into spi-builder-workspace
SUCCESS checkout https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/tid-kijyun/Kanna.git
[1/4067] Fetching brightfutures
[205/6244] Fetching brightfutures, kanna
[4402/12203] Fetching brightfutures, kanna, swifter
Fetched https://github.com/tid-kijyun/Kanna.git (0.80s)
Fetching https://github.com/phimage/Erik.git
Fetched https://github.com/httpswift/swifter.git (0.82s)
Fetching https://github.com/nvzqz/FileKit.git
Fetched https://github.com/Thomvis/BrightFutures.git (0.83s)
Fetching https://github.com/apple/swift-crypto.git
[1/643] Fetching erik
[644/3753] Fetching erik, filekit
Fetched https://github.com/phimage/Erik.git (0.21s)
[1836/9891] Fetching filekit, swift-crypto
Fetched https://github.com/nvzqz/FileKit.git (0.41s)
[6171/6781] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (0.86s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.25s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.2.4 (0.25s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.30s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.0.0 (0.30s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.0.1 (0.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.30s)
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.2.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.0.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.0.1
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Building for debugging...
[0/405] Compiling v3_skey.c
[1/405] Compiling v3_prn.c
[2/405] Compiling v3_pcons.c
[3/405] Compiling v3_pcia.c
[4/405] Compiling v3_pmaps.c
[5/405] Compiling v3_purp.c
[6/405] Compiling v3_utl.c
[7/405] Compiling v3_pci.c
[8/405] Compiling v3_ncons.c
[8/405] Compiling CCryptoBoringSSLShims shims.c
[10/405] Compiling v3_ocsp.c
[11/405] Compiling v3_lib.c
[12/405] Compiling v3_int.c
[13/405] Compiling v3_info.c
[14/405] Compiling v3_ia5.c
[15/405] Compiling v3_enum.c
[16/405] Compiling v3_genn.c
[17/405] Compiling v3_extku.c
[18/405] Compiling v3_cpols.c
[19/405] Compiling v3_conf.c
[20/405] Compiling v3_crld.c
[21/405] Compiling v3_bitst.c
[22/405] Compiling v3_bcons.c
[23/405] Compiling v3_akeya.c
[24/405] Compiling v3_alt.c
[25/405] Compiling v3_akey.c
[26/405] Compiling pcy_tree.c
[27/405] Compiling pcy_node.c
[28/405] Compiling pcy_map.c
[29/405] Compiling pcy_data.c
[30/405] Compiling pcy_lib.c
[31/405] Compiling pcy_cache.c
[32/405] Compiling x_x509a.c
[33/405] Compiling x_val.c
[34/405] Compiling x_sig.c
[35/405] Compiling x_spki.c
[36/405] Compiling x_req.c
[37/405] Compiling x_x509.c
[38/405] Compiling x_pubkey.c
[39/405] Compiling x_pkey.c
[40/405] Compiling x_info.c
[41/405] Compiling x_name.c
[42/405] Compiling x_exten.c
[43/405] Compiling x_attrib.c
[44/405] Compiling x_algor.c
[45/405] Compiling x_all.c
[46/405] Compiling x_crl.c
[47/405] Compiling x509spki.c
[48/405] Compiling x509rset.c
[49/405] Compiling x509cset.c
[50/405] Compiling x509name.c
[51/405] Compiling x509_txt.c
[52/405] Compiling x509_vpm.c
[53/405] Compiling x509_v3.c
[54/405] Compiling x509_set.c
[55/405] Compiling x509_trs.c
[56/405] Compiling x509_req.c
[57/405] Compiling x509_obj.c
[58/405] Compiling x509_vfy.c
[59/405] Compiling x509_def.c
[60/405] Compiling x509_ext.c
[61/405] Compiling x509_d2.c
[62/405] Compiling x509_lu.c
[63/405] Compiling x509_att.c
[64/405] Compiling x509.c
[65/405] Compiling t_x509a.c
[66/405] Compiling x509_cmp.c
[67/405] Compiling t_x509.c
[68/405] Compiling i2d_pr.c
[69/405] Compiling t_req.c
[70/405] Compiling t_crl.c
[71/405] Compiling rsa_pss.c
[72/405] Compiling by_file.c
[73/405] Compiling by_dir.c
[74/405] Compiling algorithm.c
[75/405] Compiling a_verify.c
[76/405] Compiling asn1_gen.c
[77/405] Compiling a_strex.c
[77/405] Compiling a_digest.c
[79/405] Compiling a_sign.c
[80/405] Compiling voprf.c
[81/405] Compiling thread_win.c
[82/405] Compiling thread.c
[83/405] Compiling thread_none.c
[84/405] Compiling thread_pthread.c
[85/405] Compiling stack.c
[86/405] Compiling siphash.c
[87/405] Compiling trust_token.c
[87/405] Compiling pmbtoken.c
[89/405] Compiling rsa_print.c
[90/405] Compiling rc4.c
[91/405] Compiling refcount_lock.c
[92/405] Compiling refcount_c11.c
[93/405] Compiling rsa_asn1.c
[94/405] Compiling windows.c
[95/405] Compiling fuchsia.c
[96/405] Compiling passive.c
[97/405] Compiling rand_extra.c
[98/405] Compiling deterministic.c
[99/405] Compiling forkunsafe.c
[100/405] Compiling pool.c
[101/405] Compiling poly1305_arm_asm.S
[102/405] Compiling poly1305_arm.c
[103/405] Compiling poly1305.c
[104/405] Compiling pkcs7.c
[105/405] Compiling p5_pbev2.c
[106/405] Compiling pkcs8.c
[107/405] Compiling pem_xaux.c
[108/405] Compiling pem_x509.c
[109/405] Compiling pkcs8_x509.c
[110/405] Compiling pkcs7_x509.c
[111/405] Compiling pem_pkey.c
[112/405] Compiling obj_xref.c
[113/405] Compiling pem_oth.c
[114/405] Compiling pem_pk8.c
[115/405] Compiling pem_info.c
[116/405] Compiling pem_lib.c
[117/405] Compiling mem.c
[118/405] Compiling pem_all.c
[119/405] Compiling lhash.c
[120/405] Compiling obj.c
[121/405] Compiling hkdf.c
[122/405] Compiling poly_rq_mul.S
[123/405] Compiling poly1305_vec.c
[124/405] Compiling x86_64-mont5.linux.x86_64.S
[125/405] Compiling x86_64-mont.mac.x86_64.S
[126/405] Compiling x86_64-mont5.mac.x86_64.S
[127/405] Compiling hpke.c
[128/405] Compiling hrss.c
[129/405] Compiling x86-mont.linux.x86.S
[130/405] Compiling vpaes-x86_64.mac.x86_64.S
[131/405] Compiling x86-mont.windows.x86.S
[131/405] Compiling vpaes-x86_64.linux.x86_64.S
[133/405] Compiling vpaes-armv8.linux.aarch64.S
[134/405] Compiling x86_64-mont.linux.x86_64.S
[135/405] Compiling vpaes-x86.linux.x86.S
[136/405] Compiling vpaes-x86.windows.x86.S
[137/405] Compiling vpaes-armv8.ios.aarch64.S
[138/405] Compiling vpaes-armv7.ios.arm.S
[139/405] Compiling vpaes-armv7.linux.arm.S
[140/405] Compiling kdf.c
[141/405] Compiling sha512-x86_64.mac.x86_64.S
[142/405] Compiling sha512-armv8.linux.aarch64.S
[143/405] Compiling sha512-armv8.ios.aarch64.S
[144/405] Compiling sha512-x86_64.linux.x86_64.S
[145/405] Compiling sha512-armv4.linux.arm.S
[146/405] Compiling sha512-armv4.ios.arm.S
[147/405] Compiling sha512-586.windows.x86.S
[148/405] Compiling sha512-586.linux.x86.S
[149/405] Compiling sha256-x86_64.mac.x86_64.S
[150/405] Compiling sha256-armv8.linux.aarch64.S
[151/405] Compiling sha256-armv8.ios.aarch64.S
[152/405] Compiling sha256-x86_64.linux.x86_64.S
[153/405] Compiling sha256-armv4.linux.arm.S
[154/405] Compiling sha256-armv4.ios.arm.S
[155/405] Compiling sha256-586.windows.x86.S
[156/405] Compiling sha256-586.linux.x86.S
[157/405] Compiling sha1-x86_64.mac.x86_64.S
[158/405] Compiling sha1-armv8.linux.aarch64.S
[159/405] Compiling sha1-armv8.ios.aarch64.S
[160/405] Compiling sha1-armv4-large.linux.arm.S
[161/405] Compiling sha1-armv4-large.ios.arm.S
[162/405] Compiling sha1-586.windows.x86.S
[163/405] Compiling sha1-586.linux.x86.S
[164/405] Compiling sha1-x86_64.linux.x86_64.S
[165/405] Compiling sha1-altivec.c
[166/405] Compiling sha512.c
[167/405] Compiling sha1.c
[168/405] Compiling sha256.c
[169/405] Compiling rsaz-avx2.mac.x86_64.S
[170/405] Compiling rsaz-avx2.linux.x86_64.S
[171/405] Compiling self_check.c
[172/405] Compiling rsa_impl.c
[173/405] Compiling padding.c
[174/405] Compiling rsa.c
[175/405] Compiling blinding.c
[176/405] Compiling rdrand-x86_64.mac.x86_64.S
[177/405] Compiling rdrand-x86_64.linux.x86_64.S
[178/405] Compiling urandom.c
[178/405] Compiling rand.c
[180/405] Compiling fork_detect.c
[181/405] Compiling ctrdrbg.c
[182/405] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[183/405] Compiling p256-x86_64-asm.mac.x86_64.S
[184/405] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[185/405] Compiling ofb.c
[186/405] Compiling polyval.c
[187/405] Compiling gcm_nohw.c
[188/405] Compiling gcm.c
[189/405] Compiling ctr.c
[190/405] Compiling cfb.c
[191/405] Compiling p256-x86_64-asm.linux.x86_64.S
[192/405] Compiling cbc.c
[193/405] Compiling md5.c
[194/405] Compiling md5-x86_64.mac.x86_64.S
[195/405] Compiling md5-586.windows.x86.S
[196/405] Compiling md5-x86_64.linux.x86_64.S
[197/405] Compiling md5-586.linux.x86.S
[198/405] Compiling is_fips.c
[199/405] Compiling ghashv8-armx64.linux.aarch64.S
[200/405] Compiling md4.c
[201/405] Compiling hmac.c
[202/405] Compiling ghashv8-armx64.ios.aarch64.S
[203/405] Compiling ghashv8-armx32.ios.arm.S
[204/405] Compiling ghashv8-armx32.linux.arm.S
[205/405] Compiling ghash-x86_64.mac.x86_64.S
[206/405] Compiling ghash-x86.linux.x86.S
[207/405] Compiling ghash-x86.windows.x86.S
[208/405] Compiling ghash-x86_64.linux.x86_64.S
[209/405] Compiling ghash-ssse3-x86.linux.x86.S
[210/405] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[211/405] Compiling ghash-ssse3-x86.windows.x86.S
[212/405] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[213/405] Compiling fips_shared_support.c
[214/405] Compiling ghash-neon-armv8.ios.aarch64.S
[215/405] Compiling ghash-armv4.ios.arm.S
[216/405] Compiling ghash-neon-armv8.linux.aarch64.S
[217/405] Compiling ghash-armv4.linux.arm.S
[218/405] Compiling ecdh.c
[219/405] Compiling util.c
[220/405] Compiling wnaf.c
[221/405] Compiling ecdsa.c
[222/405] Compiling simple_mul.c
[222/405] Compiling simple.c
[223/405] Compiling scalar.c
[225/405] Compiling oct.c
[226/405] Compiling p224-64.c
[227/405] Compiling ec_montgomery.c
[228/405] Compiling felem.c
[229/405] Compiling ec_key.c
[230/405] Compiling p256.c
[231/405] Compiling check.c
[232/405] Compiling digests.c
[233/405] Compiling co-586.windows.x86.S
[234/405] Compiling dh.c
[235/405] Compiling ec.c
[236/405] Compiling digest.c
[237/405] Compiling des.c
[238/405] Compiling co-586.linux.x86.S
[239/405] Compiling e_des.c
[240/405] Compiling cipher.c
[241/405] Compiling bsaes-armv7.linux.arm.S
[242/405] Compiling aead.c
[243/405] Compiling bsaes-armv7.ios.arm.S
[244/405] Compiling e_aes.c
[245/405] Compiling sqrt.c
[246/405] Compiling p256-x86_64.c
[246/405] Compiling shift.c
[248/405] Compiling rsaz_exp.c
[249/405] Compiling random.c
[250/405] Compiling mul.c
[251/405] Compiling jacobi.c
[252/405] Compiling montgomery_inv.c
[253/405] Compiling prime.c
[254/405] Compiling generic.c
[255/405] Compiling montgomery.c
[256/405] Compiling gcd.c
[257/405] Compiling gcd_extra.c
[258/405] Compiling div_extra.c
[259/405] Compiling bytes.c
[260/405] Compiling ctx.c
[260/405] Compiling exponentiation.c
[262/405] Compiling cmp.c
[263/405] Compiling div.c
[264/405] Compiling bn.c
[265/405] Compiling bn-586.windows.x86.S
[266/405] Compiling bn-586.linux.x86.S
[267/405] Compiling armv8-mont.linux.aarch64.S
[267/405] Compiling add.c
[267/405] Compiling armv4-mont.ios.arm.S
[270/405] Compiling armv8-mont.ios.aarch64.S
[271/405] Compiling armv4-mont.linux.arm.S
[272/405] Compiling x86_64-gcc.c
[273/405] Compiling aesv8-armx64.linux.aarch64.S
[274/405] Compiling aesv8-armx64.ios.aarch64.S
[275/405] Compiling aesni-x86_64.linux.x86_64.S
[276/405] Compiling aesv8-armx32.linux.arm.S
[277/405] Compiling aesv8-armx32.ios.arm.S
[278/405] Compiling aesni-x86_64.mac.x86_64.S
[279/405] Compiling aesni-x86.linux.x86.S
[280/405] Compiling aesni-x86.windows.x86.S
[281/405] Compiling aesni-gcm-x86_64.mac.x86_64.S
[282/405] Compiling mode_wrappers.c
[283/405] Compiling aesni-gcm-x86_64.linux.x86_64.S
[284/405] Compiling sign.c
[284/405] Compiling key_wrap.c
[286/405] Compiling aes.c
[287/405] Compiling ex_data.c
[288/405] Compiling aes_nohw.c
[289/405] Compiling p_x25519_asn1.c
[290/405] Compiling scrypt.c
[291/405] Compiling pbkdf.c
[292/405] Compiling print.c
[293/405] Compiling p_x25519.c
[294/405] Compiling p_rsa_asn1.c
[295/405] Compiling p_ec_asn1.c
[296/405] Compiling p_ed25519.c
[297/405] Compiling p_ed25519_asn1.c
[298/405] Compiling p_dsa_asn1.c
[299/405] Compiling p_rsa.c
[300/405] Compiling err_data.c
[301/405] Compiling p_ec.c
[302/405] Compiling evp.c
[303/405] Compiling evp_asn1.c
[304/405] Compiling evp_ctx.c
[305/405] Compiling engine.c
[306/405] Compiling digestsign.c
[307/405] Compiling err.c
[308/405] Compiling ec_derive.c
[309/405] Compiling ecdsa_asn1.c
[310/405] Compiling ecdh_extra.c
[311/405] Compiling dsa_asn1.c
[312/405] Compiling hash_to_curve.c
[313/405] Compiling dh_asn1.c
[314/405] Compiling params.c
[314/405] Compiling cpu-ppc64le.c
[316/405] Compiling ec_asn1.c
[317/405] Compiling dsa.c
[318/405] Compiling digest_extra.c
[319/405] Compiling cpu-intel.c
[319/405] Compiling spake25519.c
[321/405] Compiling cpu-arm-linux.c
[321/405] Compiling crypto.c
[323/405] Compiling x25519-asm-arm.S
[324/405] Compiling cpu-aarch64-win.c
[324/405] Compiling cpu-arm.c
[326/405] Compiling cpu-aarch64-linux.c
[327/405] Compiling cpu-aarch64-fuchsia.c
[328/405] Compiling e_rc4.c
[329/405] Compiling cmac.c
[330/405] Compiling conf.c
[331/405] Compiling tls_cbc.c
[332/405] Compiling curve25519.c
[332/405] Compiling e_rc2.c
[334/405] Compiling e_tls.c
[335/405] Compiling e_null.c
[336/405] Compiling e_chacha20poly1305.c
[337/405] Compiling e_aesctrhmac.c
[338/405] Compiling e_aesccm.c
[339/405] Compiling derive_key.c
[340/405] Compiling cipher_extra.c
[341/405] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[342/405] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[343/405] Compiling chacha.c
[344/405] Compiling e_aesgcmsiv.c
[345/405] Compiling chacha-x86_64.mac.x86_64.S
[346/405] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[346/405] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[348/405] Compiling chacha-x86_64.linux.x86_64.S
[349/405] Compiling chacha-x86.linux.x86.S
[350/405] Compiling chacha-x86.windows.x86.S
[351/405] Compiling chacha-armv8.linux.aarch64.S
[352/405] Compiling chacha-armv8.ios.aarch64.S
[353/405] Compiling unicode.c
[354/405] Compiling chacha-armv4.linux.arm.S
[355/405] Compiling cbs.c
[356/405] Compiling chacha-armv4.ios.arm.S
[357/405] Compiling ber.c
[358/405] Compiling asn1_compat.c
[359/405] Compiling bn_asn1.c
[360/405] Compiling cbb.c
[361/405] Compiling buf.c
[362/405] Compiling blake2.c
[363/405] Compiling socket_helper.c
[364/405] Compiling convert.c
[365/405] Compiling socket.c
[366/405] Compiling printf.c
[367/405] Compiling hexdump.c
[368/405] Compiling pair.c
[369/405] Compiling bio_mem.c
[370/405] Compiling fd.c
[371/405] Compiling base64.c
[372/405] Compiling connect.c
[373/405] Compiling file.c
[374/405] Compiling bio.c
[375/405] Compiling time_support.c
[376/405] Compiling tasn_utl.c
[377/405] Compiling tasn_fre.c
[378/405] Compiling tasn_typ.c
[379/405] Compiling tasn_new.c
[379/405] Compiling asn1_lib.c
[379/405] Compiling a_utf8.c
[382/405] Compiling f_string.c
[382/405] Compiling tasn_enc.c
[384/405] Compiling f_int.c
[385/405] Compiling tasn_dec.c
[386/405] Compiling f_enum.c
[387/405] Compiling asn1_par.c
[388/405] Compiling asn_pack.c
[389/405] Compiling a_utctm.c
[390/405] Compiling a_print.c
[390/405] Compiling a_i2d_fp.c
[390/405] Compiling a_gentm.c
[390/405] Compiling a_enum.c
[390/405] Compiling a_dup.c
[395/405] Compiling a_object.c
[396/405] Compiling a_type.c
[397/405] Compiling a_strnid.c
[398/405] Compiling a_octet.c
[399/405] Compiling a_mbstr.c
[400/405] Compiling a_time.c
[401/405] Compiling a_bool.c
[402/405] Compiling a_bitstr.c
[403/405] Compiling a_d2i_fp.c
[404/405] Compiling a_int.c
[406/459] Emitting module Crypto
[407/466] Compiling Crypto SymmetricKeys.swift
[408/466] Compiling Crypto HMAC.swift
[409/466] Compiling Crypto MACFunctions.swift
[410/466] Compiling Crypto MessageAuthenticationCode.swift
[411/466] Compiling Crypto AES.swift
[412/466] Compiling Crypto ECDSASignature_boring.swift
[413/466] Compiling Crypto ECDSA_boring.swift
[414/466] Compiling Crypto EllipticCurve_boring.swift
[415/466] Compiling Crypto NISTCurvesKeys_boring.swift
[416/466] Compiling Crypto X25519Keys_boring.swift
[417/466] Compiling Crypto Curve25519.swift
[418/466] Compiling Crypto Ed25519.swift
[419/466] Compiling Crypto NISTCurvesKeys.swift
[420/466] Compiling Crypto X25519Keys.swift
[421/466] Compiling Crypto Insecure.swift
[422/466] Compiling Crypto Insecure_HashFunctions.swift
[423/466] Compiling Crypto ECDH_boring.swift
[424/466] Compiling Crypto DH.swift
[425/466] Compiling Crypto ECDH.swift
[426/466] Compiling Crypto HKDF.swift
[427/466] Compiling Crypto Ed25519_boring.swift
[428/466] Compiling Crypto EllipticCurvePoint_boring.swift
[429/466] Compiling Crypto SEC1PrivateKey.swift
[430/466] Compiling Crypto SubjectPublicKeyInfo.swift
[431/466] Compiling Crypto CryptoKitErrors.swift
[432/466] Compiling Crypto Digest_boring.swift
[433/466] Compiling Crypto Digest.swift
[434/466] Compiling Crypto Digests.swift
[435/466] Compiling Crypto HashFunctions.swift
[436/466] Compiling Crypto HashFunctions_SHA2.swift
[437/466] Compiling Crypto EdDSA_boring.swift
[438/466] Compiling Crypto ECDSA.swift
[439/466] Compiling Crypto EdDSA.swift
[440/466] Compiling Crypto Signature.swift
[441/466] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[442/466] Compiling Crypto CryptoKitErrors_boring.swift
[443/466] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[444/466] Compiling Crypto RNG_boring.swift
[445/466] Compiling Crypto SafeCompare_boring.swift
[446/466] Compiling Crypto Zeroization_boring.swift
[447/466] Compiling Crypto PrettyBytes.swift
[448/466] Compiling Crypto SafeCompare.swift
[449/466] Compiling Crypto SecureBytes.swift
[450/466] Compiling Crypto Zeroization.swift
[451/466] Compiling Crypto AES-GCM.swift
[452/466] Compiling Crypto AES-GCM_boring.swift
[453/466] Compiling Crypto ChaChaPoly_boring.swift
[454/466] Compiling Crypto ChaChaPoly.swift
[455/466] Compiling Crypto Cipher.swift
[456/466] Compiling Crypto Nonces.swift
[457/466] Compiling Crypto ASN1.swift
[458/466] Compiling Crypto ASN1BitString.swift
[459/466] Compiling Crypto ASN1Identifier.swift
[460/466] Compiling Crypto ASN1Integer.swift
[461/466] Compiling Crypto ASN1OctetString.swift
[462/466] Compiling Crypto ArraySliceBigint.swift
[463/466] Compiling Crypto ObjectIdentifier.swift
[464/466] Compiling Crypto ECDSASignature.swift
[465/466] Compiling Crypto PEMDocument.swift
[466/466] Compiling Crypto PKCS8PrivateKey.swift
[469/497] Compiling OAuthSwift ASWebAuthenticationURLHandler.swift
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
[470/497] Compiling OAuthSwift ExtensionContextURLHandler.swift
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
[471/497] Compiling OAuthSwift OAuthSwiftOpenURLExternally.swift
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
[472/497] Compiling OAuthSwift OAuthSwiftURLHandlerProxy.swift
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
[473/497] Compiling OAuthSwift OAuthWebViewController.swift
/host/spi-builder-workspace/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[474/497] Compiling OAuthSwift SFAuthenticationURLHandler.swift
/host/spi-builder-workspace/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[475/497] Compiling OAuthSwift SafariURLHandler.swift
/host/spi-builder-workspace/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[476/497] Compiling OAuthSwift Int+OAuthSwift.swift
/host/spi-builder-workspace/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)[477/500] Emitting module OAuthSwift
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
/host/spi-builder-workspace/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~
    
/host/spi-builder-workspace/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
    case authorizationPending(error: Error, request: URLRequest)
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
    case slowDown(error: Error, request: URLRequest)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
    case accessDenied(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
[478/500] Compiling OAuthSwift URL+OAuthSwift.swift
/host/spi-builder-workspace/Sources/Utils.swift:23:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:34:9: error: cannot find 'SecRandomCopyBytes' in scope
    _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:34:28: error: cannot find 'kSecRandomDefault' in scope
    _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:56:21: error: cannot specialize non-generic type 'HMAC'
    let sha = Array(HMAC<SHA256>.authenticationCode(for: buffer, using: SymmetricKey(size: .bits256)))
                    ^   ~~~~~~~~
                        
/host/spi-builder-workspace/Sources/Utils.swift:64:34: error: cannot infer contextual base in reference to member 'whitespaces'
        .trimmingCharacters(in: .whitespaces)
                                ~^~~~~~~~~~~
[479/500] Compiling OAuthSwift URLConvertible.swift
/host/spi-builder-workspace/Sources/Utils.swift:23:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:34:9: error: cannot find 'SecRandomCopyBytes' in scope
    _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:34:28: error: cannot find 'kSecRandomDefault' in scope
    _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:56:21: error: cannot specialize non-generic type 'HMAC'
    let sha = Array(HMAC<SHA256>.authenticationCode(for: buffer, using: SymmetricKey(size: .bits256)))
                    ^   ~~~~~~~~
                        
/host/spi-builder-workspace/Sources/Utils.swift:64:34: error: cannot infer contextual base in reference to member 'whitespaces'
        .trimmingCharacters(in: .whitespaces)
                                ~^~~~~~~~~~~
[480/500] Compiling OAuthSwift Utils.swift
/host/spi-builder-workspace/Sources/Utils.swift:23:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:34:9: error: cannot find 'SecRandomCopyBytes' in scope
    _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:34:28: error: cannot find 'kSecRandomDefault' in scope
    _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
                           ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Utils.swift:56:21: error: cannot specialize non-generic type 'HMAC'
    let sha = Array(HMAC<SHA256>.authenticationCode(for: buffer, using: SymmetricKey(size: .bits256)))
                    ^   ~~~~~~~~
                        
/host/spi-builder-workspace/Sources/Utils.swift:64:34: error: cannot infer contextual base in reference to member 'whitespaces'
        .trimmingCharacters(in: .whitespaces)
                                ~^~~~~~~~~~~
[481/500] Compiling OAuthSwift OAuthSwiftError.swift
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
    case authorizationPending(error: Error, request: URLRequest)
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
    case slowDown(error: Error, request: URLRequest)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
    case accessDenied(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:74:28: error: 'nil' requires a contextual type
            self.request = nil
                           ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:72:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch let error as NSError {
          ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                             ~~~~~^~~~~~~~~~~~~~~~~~~
                                 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:36: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
            if let response = resp as? HTTPURLResponse {
                              ~~~~~^~~~~~~~~~~~~~~~~~~
                                  
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            if let response = resp as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                userInfo["Response-Headers"] = response.allHeaderFields
                                               ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode < 400 else {
              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
                                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                "Response-Headers": response.allHeaderFields,
                                    ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:188:46: error: type of expression is ambiguous without more context
            if let urlString = response.url?.absoluteString {
                               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
            task.cancel()
            ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:291:49: error: type of expression is ambiguous without more context
                    if let contentType = headers[kHTTPHeaderContentType], contentType.contains("application/json") {
                                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:295:56: error: type of expression is ambiguous without more context
                    } else if let contentType = headers[kHTTPHeaderContentType], contentType.contains("multipart/form-data") {
                                                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:329:47: error: type of expression is ambiguous without more context
            if let requestMethod = urlRequest.httpMethod {
                                   ~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
            var urlRequest = URLRequest(url: url)
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                      ^
                      url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:398:48: error: type of expression is ambiguous without more context
            if let queryItems = urlComponents?.queryItems {
                                ~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:407:40: error: 'nil' requires a contextual type
                urlComponents?.query = nil
                                       ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[482/500] Compiling OAuthSwift OAuthSwiftHTTPRequest.swift
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
    case authorizationPending(error: Error, request: URLRequest)
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
    case slowDown(error: Error, request: URLRequest)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
    case accessDenied(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:74:28: error: 'nil' requires a contextual type
            self.request = nil
                           ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:72:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch let error as NSError {
          ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                             ~~~~~^~~~~~~~~~~~~~~~~~~
                                 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:36: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
            if let response = resp as? HTTPURLResponse {
                              ~~~~~^~~~~~~~~~~~~~~~~~~
                                  
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            if let response = resp as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                userInfo["Response-Headers"] = response.allHeaderFields
                                               ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode < 400 else {
              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
                                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                "Response-Headers": response.allHeaderFields,
                                    ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:188:46: error: type of expression is ambiguous without more context
            if let urlString = response.url?.absoluteString {
                               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
            task.cancel()
            ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:291:49: error: type of expression is ambiguous without more context
                    if let contentType = headers[kHTTPHeaderContentType], contentType.contains("application/json") {
                                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:295:56: error: type of expression is ambiguous without more context
                    } else if let contentType = headers[kHTTPHeaderContentType], contentType.contains("multipart/form-data") {
                                                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:329:47: error: type of expression is ambiguous without more context
            if let requestMethod = urlRequest.httpMethod {
                                   ~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
            var urlRequest = URLRequest(url: url)
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                      ^
                      url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:398:48: error: type of expression is ambiguous without more context
            if let queryItems = urlComponents?.queryItems {
                                ~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:407:40: error: 'nil' requires a contextual type
                urlComponents?.query = nil
                                       ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[483/500] Compiling OAuthSwift OAuthSwiftMultipartData.swift
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
    case authorizationPending(error: Error, request: URLRequest)
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
    case slowDown(error: Error, request: URLRequest)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
    case accessDenied(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:74:28: error: 'nil' requires a contextual type
            self.request = nil
                           ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:72:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch let error as NSError {
          ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                             ~~~~~^~~~~~~~~~~~~~~~~~~
                                 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:36: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
            if let response = resp as? HTTPURLResponse {
                              ~~~~~^~~~~~~~~~~~~~~~~~~
                                  
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            if let response = resp as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                userInfo["Response-Headers"] = response.allHeaderFields
                                               ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode < 400 else {
              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
                                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                "Response-Headers": response.allHeaderFields,
                                    ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:188:46: error: type of expression is ambiguous without more context
            if let urlString = response.url?.absoluteString {
                               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
            task.cancel()
            ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:291:49: error: type of expression is ambiguous without more context
                    if let contentType = headers[kHTTPHeaderContentType], contentType.contains("application/json") {
                                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:295:56: error: type of expression is ambiguous without more context
                    } else if let contentType = headers[kHTTPHeaderContentType], contentType.contains("multipart/form-data") {
                                                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:329:47: error: type of expression is ambiguous without more context
            if let requestMethod = urlRequest.httpMethod {
                                   ~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
            var urlRequest = URLRequest(url: url)
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                      ^
                      url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:398:48: error: type of expression is ambiguous without more context
            if let queryItems = urlComponents?.queryItems {
                                ~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:407:40: error: 'nil' requires a contextual type
                urlComponents?.query = nil
                                       ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[484/500] Compiling OAuthSwift OAuthSwiftResponse.swift
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
    case authorizationPending(error: Error, request: URLRequest)
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
    case slowDown(error: Error, request: URLRequest)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
    case accessDenied(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
                                                                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:74:28: error: 'nil' requires a contextual type
            self.request = nil
                           ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:72:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
        } catch let error as NSError {
          ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:35: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                             ~~~~~^~~~~~~~~~~~~~~~~~~
                                 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = resp as? HTTPURLResponse, let responseData = data else {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:36: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
            if let response = resp as? HTTPURLResponse {
                              ~~~~~^~~~~~~~~~~~~~~~~~~
                                  
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            if let response = resp as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                userInfo["Response-Headers"] = response.allHeaderFields
                                               ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode < 400 else {
              ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
                                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
                "Response-Headers": response.allHeaderFields,
                                    ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:188:46: error: type of expression is ambiguous without more context
            if let urlString = response.url?.absoluteString {
                               ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
                                                                      ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
            task.cancel()
            ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:291:49: error: type of expression is ambiguous without more context
                    if let contentType = headers[kHTTPHeaderContentType], contentType.contains("application/json") {
                                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:295:56: error: type of expression is ambiguous without more context
                    } else if let contentType = headers[kHTTPHeaderContentType], contentType.contains("multipart/form-data") {
                                                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:329:47: error: type of expression is ambiguous without more context
            if let requestMethod = urlRequest.httpMethod {
                                   ~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
            var urlRequest = URLRequest(url: url)
                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                      ^
                      url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:340:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:398:48: error: type of expression is ambiguous without more context
            if let queryItems = urlComponents?.queryItems {
                                ~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:407:40: error: 'nil' requires a contextual type
                urlComponents?.query = nil
                                       ^
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var request: URLRequest?
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[485/500] Compiling OAuthSwift OAuthLogProtocol.swift
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
[486/500] Compiling OAuthSwift OAuthSwift.swift
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
[487/500] Compiling OAuthSwift OAuthSwiftClient.swift
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
[488/500] Compiling OAuthSwift OAuthSwiftCredential.swift
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>, 
/host/spi-builder-workspace/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
[489/500] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
/host/spi-builder-workspace/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[490/500] Compiling OAuthSwift SHA1.swift
/host/spi-builder-workspace/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[491/500] Compiling OAuthSwift String+OAuthSwift.swift
/host/spi-builder-workspace/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[492/500] Compiling OAuthSwift UIApplication+OAuthSwift.swift
/host/spi-builder-workspace/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:83:59: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(keyValueSeparator, into: &key)
                                                          ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:87:58: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
                scanner.scanUpTo(elementSeparator, into: &value)
                                                         ^
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[493/500] Compiling OAuthSwift NSError+OAuthSwift.swift
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
                    let errorCode = jsonDic["error"]?["code"] as? Int
                                    ~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
                    let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
                                       ~~~~~~~~~~~~~~~~~^
[494/500] Compiling OAuthSwift NotificationCenter+OAuthSwift.swift
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
                    let errorCode = jsonDic["error"]?["code"] as? Int
                                    ~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
                    let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
                                       ~~~~~~~~~~~~~~~~~^
[495/500] Compiling OAuthSwift OAuth1Swift.swift
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
                    let errorCode = jsonDic["error"]?["code"] as? Int
                                    ~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
                    let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
                                       ~~~~~~~~~~~~~~~~~^
[496/500] Compiling OAuthSwift OAuth2Swift.swift
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
                    let errorCode = jsonDic["error"]?["code"] as? Int
                                    ~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
                    let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
                                       ~~~~~~~~~~~~~~~~~^
[497/500] Compiling OAuthSwift Collection+OAuthSwift.swift
[498/500] Compiling OAuthSwift Data+OAuthSwift.swift
[499/500] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[500/500] Compiling OAuthSwift HMAC.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1