The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MastodonSwift, reference main (e2f7ce), with Swift 6.3 for Linux on 22 Apr 2026 11:48:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

[168/409] Compiling sha1-armv4-large.linux.arm.S
[169/409] Compiling sha1-armv8.linux.aarch64.S
[169/409] Compiling sha1-x86_64.linux.x86_64.S
[169/409] Compiling sha1-586.windows.x86.S
[172/409] Compiling sha1-586.linux.x86.S
[173/409] Compiling sha512.c
[174/409] Compiling sha1-altivec.c
[175/409] Compiling sha256.c
[176/409] Compiling sha1.c
[177/409] Compiling rsaz-avx2.mac.x86_64.S
[178/409] Compiling rsaz-avx2.linux.x86_64.S
[179/409] Compiling self_check.c
[180/409] Compiling rdrand-x86_64.mac.x86_64.S
[181/409] Compiling padding.c
[182/409] Compiling rsa_impl.c
[183/409] Compiling rdrand-x86_64.linux.x86_64.S
[183/409] Compiling blinding.c
[185/409] Compiling rand.c
[186/409] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[187/409] Compiling rsa.c
[188/409] Compiling fork_detect.c
[189/409] Compiling p256-x86_64-asm.mac.x86_64.S
[190/409] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[191/409] Compiling urandom.c
[192/409] Compiling ctrdrbg.c
[193/409] Compiling ofb.c
[194/409] Compiling p256-x86_64-asm.linux.x86_64.S
[195/409] Compiling polyval.c
[196/409] Compiling ctr.c
[197/409] Compiling cbc.c
[198/409] Compiling cfb.c
[199/409] Compiling gcm_nohw.c
[200/409] Compiling gcm.c
[201/409] Compiling md5-x86_64.mac.x86_64.S
[202/409] Compiling md5.c
[203/409] Compiling md5-586.windows.x86.S
[204/409] Compiling md5-x86_64.linux.x86_64.S
[204/409] Compiling md5-586.linux.x86.S
[206/409] Compiling is_fips.c
[207/409] Compiling ghashv8-armx64.ios.aarch64.S
[208/409] Compiling ghashv8-armx64.linux.aarch64.S
[209/409] Compiling md4.c
[210/409] Compiling ghashv8-armx32.linux.arm.S
[210/409] Compiling ghashv8-armx32.ios.arm.S
[212/409] Compiling hmac.c
[213/409] Compiling ghash-x86_64.mac.x86_64.S
[214/409] Compiling ghash-x86.windows.x86.S
[215/409] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[216/409] Compiling ghash-x86_64.linux.x86_64.S
[216/409] Compiling ghash-x86.linux.x86.S
[218/409] Compiling ghash-ssse3-x86.windows.x86.S
[219/409] Compiling ghash-ssse3-x86.linux.x86.S
[219/409] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[221/409] Compiling ghash-neon-armv8.linux.aarch64.S
[222/409] Compiling ghash-armv4.linux.arm.S
[222/409] Compiling fips_shared_support.c
[224/409] Compiling ghash-neon-armv8.ios.aarch64.S
[225/409] Compiling ghash-armv4.ios.arm.S
[226/409] Compiling ecdh.c
[227/409] Compiling ecdsa.c
[228/409] Compiling simple_mul.c
[229/409] Compiling util.c
[230/409] Compiling scalar.c
[231/409] Compiling simple.c
[232/409] Compiling wnaf.c
[233/409] Compiling p224-64.c
[234/409] Compiling felem.c
[235/409] Compiling ec_montgomery.c
[235/409] Compiling oct.c
[237/409] Compiling p256.c
[238/409] Compiling ec.c
[239/409] Compiling check.c
[240/409] Compiling digests.c
[241/409] Compiling ec_key.c
[242/409] Compiling digest.c
[242/409] Compiling dh.c
[244/409] Compiling co-586.windows.x86.S
[245/409] Compiling co-586.linux.x86.S
[246/409] Compiling bsaes-armv7.linux.arm.S
[247/409] Compiling bsaes-armv7.ios.arm.S
[248/409] Compiling e_des.c
[249/409] Compiling des.c
[250/409] Compiling aead.c
[251/409] Compiling sqrt.c
[252/409] Compiling e_aes.c
[253/409] Compiling cipher.c
[254/409] Compiling rsaz_exp.c
[255/409] Compiling shift.c
[256/409] Compiling p256-x86_64.c
[257/409] Compiling jacobi.c
[258/409] Compiling random.c
[259/409] Compiling mul.c
[260/409] Compiling montgomery_inv.c
[261/409] Compiling montgomery.c
[262/409] Compiling prime.c
[263/409] Compiling generic.c
[264/409] Compiling gcd_extra.c
[265/409] Compiling div_extra.c
[266/409] Compiling gcd.c
[267/409] Compiling exponentiation.c
[268/409] Compiling ctx.c
[269/409] Compiling bytes.c
[270/409] Compiling div.c
[270/409] Compiling cmp.c
[272/409] Compiling bn-586.windows.x86.S
[273/409] Compiling armv8-mont.linux.aarch64.S
[274/409] Compiling armv8-mont.ios.aarch64.S
[275/409] Compiling bn.c
[276/409] Compiling bn-586.linux.x86.S
[277/409] Compiling armv4-mont.ios.arm.S
[278/409] Compiling armv4-mont.linux.arm.S
[279/409] Compiling add.c
[280/409] Compiling aesv8-armx64.linux.aarch64.S
[281/409] Compiling aesv8-armx32.ios.arm.S
[282/409] Compiling aesv8-armx32.linux.arm.S
[283/409] Compiling aesv8-armx64.ios.aarch64.S
[284/409] Compiling aesni-x86_64.mac.x86_64.S
[285/409] Compiling aesni-x86.windows.x86.S
[286/409] Compiling aesni-x86_64.linux.x86_64.S
[287/409] Compiling aesni-x86.linux.x86.S
[288/409] Compiling aesni-gcm-x86_64.mac.x86_64.S
[289/409] Compiling aesni-gcm-x86_64.linux.x86_64.S
[290/409] Compiling x86_64-gcc.c
[291/409] Compiling mode_wrappers.c
[292/409] Compiling ex_data.c
[293/409] Compiling aes.c
[294/409] Compiling key_wrap.c
[295/409] Compiling p_x25519.c
[296/409] Compiling aes_nohw.c
[297/409] Compiling pbkdf.c
[298/409] Compiling sign.c
[299/409] Compiling scrypt.c
[300/409] Compiling p_x25519_asn1.c
[301/409] Compiling p_rsa_asn1.c
[302/409] Compiling p_ed25519.c
[303/409] Compiling print.c
[304/409] Compiling p_rsa.c
[305/409] Compiling p_ed25519_asn1.c
[306/409] Compiling p_dsa_asn1.c
[307/409] Compiling p_ec_asn1.c
[308/409] Compiling p_ec.c
[309/409] Compiling err_data.c
[310/409] Compiling digestsign.c
[311/409] Compiling evp.c
[312/409] Compiling ecdsa_asn1.c
[313/409] Compiling evp_ctx.c
[314/409] Compiling evp_asn1.c
[315/409] Compiling engine.c
[316/409] Compiling ecdh_extra.c
[317/409] Compiling err.c
[318/409] Compiling dsa_asn1.c
[319/409] Compiling ec_derive.c
[320/409] Compiling ec_asn1.c
[321/409] Compiling dh_asn1.c
[322/409] Compiling dsa.c
[323/409] Compiling params.c
[324/409] Compiling digest_extra.c
[325/409] Compiling x25519-asm-arm.S
[326/409] Compiling hash_to_curve.c
[327/409] Compiling cpu-ppc64le.c
[328/409] Compiling cpu-arm.c
[329/409] Compiling cpu-aarch64-win.c
[330/409] Compiling cpu-arm-linux.c
[331/409] Compiling cpu-aarch64-linux.c
[332/409] Compiling spake25519.c
[333/409] Compiling cpu-intel.c
[334/409] Compiling crypto.c
[335/409] Compiling cpu-aarch64-fuchsia.c
[336/409] Compiling curve25519.c
[337/409] Compiling e_rc4.c
[338/409] Compiling cmac.c
[339/409] Compiling conf.c
[340/409] Compiling e_tls.c
[341/409] Compiling e_null.c
[342/409] Compiling e_rc2.c
[343/409] Compiling tls_cbc.c
[343/409] Compiling e_chacha20poly1305.c
[345/409] Compiling e_aesctrhmac.c
[346/409] Compiling derive_key.c
[347/409] Compiling e_aesgcmsiv.c
[348/409] Compiling e_aesccm.c
[349/409] Compiling cipher_extra.c
[350/409] Compiling chacha.c
[351/409] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[352/409] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[353/409] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[354/409] Compiling chacha-x86.windows.x86.S
[355/409] Compiling chacha-x86_64.mac.x86_64.S
[356/409] Compiling chacha-x86.linux.x86.S
[357/409] Compiling unicode.c
[358/409] Compiling chacha-x86_64.linux.x86_64.S
[359/409] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[360/409] Compiling cbb.c
[361/409] Compiling cbs.c
[362/409] Compiling ber.c
[363/409] Compiling asn1_compat.c
[364/409] Compiling bn_asn1.c
[365/409] Compiling buf.c
[366/409] Compiling convert.c
[367/409] Compiling blake2.c
[368/409] Compiling chacha-armv8.ios.aarch64.S
[369/409] Compiling chacha-armv8.linux.aarch64.S
[370/409] Compiling socket.c
[371/409] Compiling chacha-armv4.ios.arm.S
[372/409] Compiling chacha-armv4.linux.arm.S
[373/409] Compiling printf.c
[374/409] Compiling socket_helper.c
[375/409] Compiling hexdump.c
[376/409] Compiling file.c
[376/409] Compiling bio_mem.c
[378/409] Compiling pair.c
[379/409] Compiling fd.c
[380/409] Compiling connect.c
[381/409] Compiling bio.c
[382/409] Compiling base64.c
[383/409] Compiling time_support.c
[384/409] Compiling tasn_dec.c
[385/409] Compiling f_string.c
[385/409] Compiling tasn_new.c
[387/409] Compiling tasn_typ.c
[387/409] Compiling tasn_enc.c
[389/409] Compiling tasn_utl.c
[390/409] Compiling tasn_fre.c
[391/409] Compiling f_enum.c
[392/409] Compiling asn_pack.c
[393/409] Compiling f_int.c
[394/409] Compiling a_utf8.c
[395/409] Compiling asn1_par.c
[396/409] Compiling asn1_lib.c
[397/409] Compiling a_print.c
[398/409] Compiling a_type.c
[399/409] Compiling a_i2d_fp.c
[400/409] Compiling a_utctm.c
[401/409] Compiling a_strnid.c
[402/409] Compiling a_octet.c
[403/409] Compiling a_object.c
[404/409] Compiling a_int.c
[405/409] Compiling a_mbstr.c
[406/409] Compiling a_gentm.c
[407/409] Compiling a_bitstr.c
[408/409] Compiling a_bool.c
[410/463] Compiling Crypto EllipticCurve_boring.swift
[411/463] Compiling Crypto NISTCurvesKeys_boring.swift
[412/463] Compiling Crypto X25519Keys_boring.swift
[413/463] Compiling Crypto Curve25519.swift
[414/463] Compiling Crypto Ed25519.swift
[415/463] Compiling Crypto NISTCurvesKeys.swift
[416/463] Compiling Crypto X25519Keys.swift
[417/463] Compiling Crypto SymmetricKeys.swift
[418/463] Compiling Crypto HMAC.swift
[419/463] Compiling Crypto MACFunctions.swift
[420/463] Compiling Crypto MessageAuthenticationCode.swift
[421/463] Compiling Crypto AES.swift
[422/463] Compiling Crypto ECDSASignature_boring.swift
[423/463] Compiling Crypto ECDSA_boring.swift
[424/463] Compiling Crypto SEC1PrivateKey.swift
[425/463] Compiling Crypto SubjectPublicKeyInfo.swift
[426/463] Compiling Crypto CryptoKitErrors.swift
[427/463] Compiling Crypto Digest_boring.swift
[428/463] Compiling Crypto Digest.swift
[429/463] Compiling Crypto Digests.swift
[430/463] Compiling Crypto HashFunctions.swift
[431/463] Compiling Crypto HashFunctions_SHA2.swift
[432/463] Compiling Crypto EdDSA_boring.swift
[433/463] Compiling Crypto ECDSA.swift
[434/463] Compiling Crypto EdDSA.swift
[435/463] Compiling Crypto Signature.swift
[436/463] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[437/463] Compiling Crypto CryptoKitErrors_boring.swift
[438/463] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[439/463] Compiling Crypto Insecure.swift
[440/463] Compiling Crypto Insecure_HashFunctions.swift
[441/463] Compiling Crypto ECDH_boring.swift
[442/463] Compiling Crypto DH.swift
[443/463] Compiling Crypto ECDH.swift
[444/463] Compiling Crypto HKDF.swift
[445/463] Compiling Crypto Ed25519_boring.swift
[446/463] Compiling Crypto EllipticCurvePoint_boring.swift
[447/470] Compiling Crypto ASN1Identifier.swift
[448/470] Compiling Crypto ASN1Integer.swift
[449/470] Compiling Crypto ASN1OctetString.swift
[450/470] Compiling Crypto ArraySliceBigint.swift
[451/470] Compiling Crypto ObjectIdentifier.swift
[452/470] Compiling Crypto ECDSASignature.swift
[453/470] Compiling Crypto PEMDocument.swift
[454/470] Compiling Crypto PKCS8PrivateKey.swift
[455/470] Emitting module Crypto
[456/470] Compiling Crypto AES-GCM.swift
[457/470] Compiling Crypto AES-GCM_boring.swift
[458/470] Compiling Crypto ChaChaPoly_boring.swift
[459/470] Compiling Crypto ChaChaPoly.swift
[460/470] Compiling Crypto Cipher.swift
[461/470] Compiling Crypto Nonces.swift
[462/470] Compiling Crypto ASN1.swift
[463/470] Compiling Crypto ASN1BitString.swift
[464/470] Compiling Crypto RNG_boring.swift
[465/470] Compiling Crypto SafeCompare_boring.swift
[466/470] Compiling Crypto Zeroization_boring.swift
[467/470] Compiling Crypto PrettyBytes.swift
[468/470] Compiling Crypto SafeCompare.swift
[469/470] Compiling Crypto SecureBytes.swift
[470/470] Compiling Crypto Zeroization.swift
[472/500] Compiling OAuthSwift ASWebAuthenticationURLHandler.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
12 | open class ExtensionContextURLHandler: OAuthSwiftURLHandlerType {
13 |
14 |     fileprivate var extensionContext: NSExtensionContext
   |                                       `- error: cannot find type 'NSExtensionContext' in scope
15 |
16 |     public init(extensionContext: NSExtensionContext) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
14 |     fileprivate var extensionContext: NSExtensionContext
15 |
16 |     public init(extensionContext: NSExtensionContext) {
   |                                   `- error: cannot find type 'NSExtensionContext' in scope
17 |         self.extensionContext = extensionContext
18 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
18 |     }
19 |
20 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
21 |         extensionContext.open(url, completionHandler: nil)
22 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
19 |
20 |     @objc open func handle(_ url: URL) {
21 |         extensionContext.open(url, completionHandler: nil)
   |                                                       `- error: 'nil' requires a contextual type
22 |     }
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
22 |     public static var sharedInstance: OAuthSwiftOpenURLExternally = OAuthSwiftOpenURLExternally()
23 |
24 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
25 |         #if os(iOS) || os(tvOS)
26 |         #if !OAUTH_APP_EXTENSIONS
[473/500] Compiling OAuthSwift ExtensionContextURLHandler.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
12 | open class ExtensionContextURLHandler: OAuthSwiftURLHandlerType {
13 |
14 |     fileprivate var extensionContext: NSExtensionContext
   |                                       `- error: cannot find type 'NSExtensionContext' in scope
15 |
16 |     public init(extensionContext: NSExtensionContext) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
14 |     fileprivate var extensionContext: NSExtensionContext
15 |
16 |     public init(extensionContext: NSExtensionContext) {
   |                                   `- error: cannot find type 'NSExtensionContext' in scope
17 |         self.extensionContext = extensionContext
18 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
18 |     }
19 |
20 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
21 |         extensionContext.open(url, completionHandler: nil)
22 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
19 |
20 |     @objc open func handle(_ url: URL) {
21 |         extensionContext.open(url, completionHandler: nil)
   |                                                       `- error: 'nil' requires a contextual type
22 |     }
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
22 |     public static var sharedInstance: OAuthSwiftOpenURLExternally = OAuthSwiftOpenURLExternally()
23 |
24 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
25 |         #if os(iOS) || os(tvOS)
26 |         #if !OAUTH_APP_EXTENSIONS
[474/500] Compiling OAuthSwift OAuthSwiftOpenURLExternally.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
12 | open class ExtensionContextURLHandler: OAuthSwiftURLHandlerType {
13 |
14 |     fileprivate var extensionContext: NSExtensionContext
   |                                       `- error: cannot find type 'NSExtensionContext' in scope
15 |
16 |     public init(extensionContext: NSExtensionContext) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
14 |     fileprivate var extensionContext: NSExtensionContext
15 |
16 |     public init(extensionContext: NSExtensionContext) {
   |                                   `- error: cannot find type 'NSExtensionContext' in scope
17 |         self.extensionContext = extensionContext
18 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
18 |     }
19 |
20 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
21 |         extensionContext.open(url, completionHandler: nil)
22 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
19 |
20 |     @objc open func handle(_ url: URL) {
21 |         extensionContext.open(url, completionHandler: nil)
   |                                                       `- error: 'nil' requires a contextual type
22 |     }
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
22 |     public static var sharedInstance: OAuthSwiftOpenURLExternally = OAuthSwiftOpenURLExternally()
23 |
24 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
25 |         #if os(iOS) || os(tvOS)
26 |         #if !OAUTH_APP_EXTENSIONS
[475/500] Compiling OAuthSwift OAuthSwiftURLHandlerProxy.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
12 | open class ExtensionContextURLHandler: OAuthSwiftURLHandlerType {
13 |
14 |     fileprivate var extensionContext: NSExtensionContext
   |                                       `- error: cannot find type 'NSExtensionContext' in scope
15 |
16 |     public init(extensionContext: NSExtensionContext) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
14 |     fileprivate var extensionContext: NSExtensionContext
15 |
16 |     public init(extensionContext: NSExtensionContext) {
   |                                   `- error: cannot find type 'NSExtensionContext' in scope
17 |         self.extensionContext = extensionContext
18 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
18 |     }
19 |
20 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
21 |         extensionContext.open(url, completionHandler: nil)
22 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:21:55: error: 'nil' requires a contextual type
19 |
20 |     @objc open func handle(_ url: URL) {
21 |         extensionContext.open(url, completionHandler: nil)
   |                                                       `- error: 'nil' requires a contextual type
22 |     }
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
22 |     public static var sharedInstance: OAuthSwiftOpenURLExternally = OAuthSwiftOpenURLExternally()
23 |
24 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
25 |         #if os(iOS) || os(tvOS)
26 |         #if !OAUTH_APP_EXTENSIONS
error: emit-module command failed with exit code 1 (use -v to see invocation)
[476/503] Emitting module OAuthSwift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:14:39: error: cannot find type 'NSExtensionContext' in scope
12 | open class ExtensionContextURLHandler: OAuthSwiftURLHandlerType {
13 |
14 |     fileprivate var extensionContext: NSExtensionContext
   |                                       `- error: cannot find type 'NSExtensionContext' in scope
15 |
16 |     public init(extensionContext: NSExtensionContext) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:16:35: error: cannot find type 'NSExtensionContext' in scope
14 |     fileprivate var extensionContext: NSExtensionContext
15 |
16 |     public init(extensionContext: NSExtensionContext) {
   |                                   `- error: cannot find type 'NSExtensionContext' in scope
17 |         self.extensionContext = extensionContext
18 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/ExtensionContextURLHandler.swift:20:6: error: Objective-C interoperability is disabled
18 |     }
19 |
20 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
21 |         extensionContext.open(url, completionHandler: nil)
22 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthSwiftOpenURLExternally.swift:24:6: error: Objective-C interoperability is disabled
22 |     public static var sharedInstance: OAuthSwiftOpenURLExternally = OAuthSwiftOpenURLExternally()
23 |
24 |     @objc open func handle(_ url: URL) {
   |      `- error: Objective-C interoperability is disabled
25 |         #if os(iOS) || os(tvOS)
26 |         #if !OAUTH_APP_EXTENSIONS
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
 37 |
 38 | /// A web view controller, which handler OAuthSwift authentification. Must be override to display a web view.
 39 | open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
    |                                    `- error: cannot find type 'OAuthViewController' in scope
 40 |
 41 |     #if os(iOS) || os(tvOS) || os(OSX)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
 11 | public var OAuthSwiftDataEncoding: String.Encoding = .utf8
 12 |
 13 | @objc public protocol OAuthSwiftRequestHandle {
    |  `- error: Objective-C interoperability is disabled
 14 |     func cancel()
 15 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
 90 |     }
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
 94 |         request.config.updateRequest(credential: self.credential)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
 32 |
 33 |     /// Generic request error
 34 |     case requestError(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 35 |     /// The provided token is expired, retrieve new token by using the refresh token
 36 |     case tokenExpired(error: Error?)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
 36 |     case tokenExpired(error: Error?)
 37 |     /// If the user has not either allowed or denied the request yet, the authorization server will return the authorization_pending error.
 38 |     case authorizationPending(error: Error, request: URLRequest)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
 38 |     case authorizationPending(error: Error, request: URLRequest)
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
    |                                          `- error: cannot find type 'URLRequest' in scope
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
 40 |     case slowDown(error: Error, request: URLRequest)
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     public static let Domain = "OAuthSwiftError"
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
 40 |     public var config: Config
 41 |
 42 |     private var request: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     private var session: URLSession!
 45 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     fileprivate var cancelRequested = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
221 |     }
222 |
223 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
224 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
225 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
225 |     }
226 |
227 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
228 |         var request = config.urlRequest
229 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
242 |         dataEncoding: String.Encoding,
243 |         body: Data? = nil,
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
245 |
246 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
266 |         body: Data? = nil,
267 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
268 |
269 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
261 |
262 |     open class func setupRequestForOAuth(
263 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
264 |         parameters: OAuthSwift.Parameters,
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
315 |
316 |         /// URLRequest (url, method, ...)
317 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
318 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
319 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
348 |         }
349 |
350 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
351 |             self.urlRequest = urlRequest
352 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
448 |
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
452 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | /// Response object
12 | @objc
   |  `- error: Objective-C interoperability is disabled
13 | public class OAuthSwiftResponse: NSObject { // not a struct for objc
14 |     /// The data returned by the server.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                                                 `- error: cannot find type 'URLRequest' in scope
22 |         self.data = data
23 |         self.response = response
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var data: Data
16 |     /// The server's response to the URL request.
17 |     public var response: HTTPURLResponse
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
17 |     public var response: HTTPURLResponse
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.data = data
23 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
19 | /// Protocol to defined how to open the url.
20 | /// You could choose to open using an external browser, a safari controller, an internal webkit view controller, etc...
21 | @objc public protocol OAuthSwiftURLHandlerType {
   |  `- error: Objective-C interoperability is disabled
22 |     func handle(_ url: URL)
23 | }
[477/503] Compiling OAuthSwift URL+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:23:20: error: cannot find 'arc4random_uniform' in scope
21 |     var randomString = ""
22 |     for _ in 0..<len {
23 |         let rand = arc4random_uniform(length)
   |                    `- error: cannot find 'arc4random_uniform' in scope
24 |         let idx = letters.index(letters.startIndex, offsetBy: Int(rand))
25 |         let letter = letters[idx]
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:34:9: error: cannot find 'SecRandomCopyBytes' in scope
32 | public func generateCodeVerifier() -> String? {
33 |     var buffer = [UInt8](repeating: 0, count: 32)
34 |     _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
   |         `- error: cannot find 'SecRandomCopyBytes' in scope
35 |    let codeVerifier = Data(buffer).base64EncodedString()
36 |         .replacingOccurrences(of: "+", with: "-")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:34:28: error: cannot find 'kSecRandomDefault' in scope
32 | public func generateCodeVerifier() -> String? {
33 |     var buffer = [UInt8](repeating: 0, count: 32)
34 |     _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
   |                            `- error: cannot find 'kSecRandomDefault' in scope
35 |    let codeVerifier = Data(buffer).base64EncodedString()
36 |         .replacingOccurrences(of: "+", with: "-")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:56:21: error: cannot specialize non-generic type 'HMAC'
54 |     #else
55 |     let buffer = [UInt8](repeating: 0, count: SHA256.byteCount)
56 |     let sha = Array(HMAC<SHA256>.authenticationCode(for: buffer, using: SymmetricKey(size: .bits256)))
   |                     `- error: cannot specialize non-generic type 'HMAC'
57 |     let hash = Data(sha)
58 |     #endif
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:64:34: error: cannot infer contextual base in reference to member 'whitespaces'
62 |         .replacingOccurrences(of: "/", with: "_")
63 |         .replacingOccurrences(of: "=", with: "")
64 |         .trimmingCharacters(in: .whitespaces)
   |                                  `- error: cannot infer contextual base in reference to member 'whitespaces'
65 |
66 |     return challenge
[478/503] Compiling OAuthSwift URLConvertible.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:23:20: error: cannot find 'arc4random_uniform' in scope
21 |     var randomString = ""
22 |     for _ in 0..<len {
23 |         let rand = arc4random_uniform(length)
   |                    `- error: cannot find 'arc4random_uniform' in scope
24 |         let idx = letters.index(letters.startIndex, offsetBy: Int(rand))
25 |         let letter = letters[idx]
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:34:9: error: cannot find 'SecRandomCopyBytes' in scope
32 | public func generateCodeVerifier() -> String? {
33 |     var buffer = [UInt8](repeating: 0, count: 32)
34 |     _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
   |         `- error: cannot find 'SecRandomCopyBytes' in scope
35 |    let codeVerifier = Data(buffer).base64EncodedString()
36 |         .replacingOccurrences(of: "+", with: "-")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:34:28: error: cannot find 'kSecRandomDefault' in scope
32 | public func generateCodeVerifier() -> String? {
33 |     var buffer = [UInt8](repeating: 0, count: 32)
34 |     _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
   |                            `- error: cannot find 'kSecRandomDefault' in scope
35 |    let codeVerifier = Data(buffer).base64EncodedString()
36 |         .replacingOccurrences(of: "+", with: "-")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:56:21: error: cannot specialize non-generic type 'HMAC'
54 |     #else
55 |     let buffer = [UInt8](repeating: 0, count: SHA256.byteCount)
56 |     let sha = Array(HMAC<SHA256>.authenticationCode(for: buffer, using: SymmetricKey(size: .bits256)))
   |                     `- error: cannot specialize non-generic type 'HMAC'
57 |     let hash = Data(sha)
58 |     #endif
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:64:34: error: cannot infer contextual base in reference to member 'whitespaces'
62 |         .replacingOccurrences(of: "/", with: "_")
63 |         .replacingOccurrences(of: "=", with: "")
64 |         .trimmingCharacters(in: .whitespaces)
   |                                  `- error: cannot infer contextual base in reference to member 'whitespaces'
65 |
66 |     return challenge
[479/503] Compiling OAuthSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:23:20: error: cannot find 'arc4random_uniform' in scope
21 |     var randomString = ""
22 |     for _ in 0..<len {
23 |         let rand = arc4random_uniform(length)
   |                    `- error: cannot find 'arc4random_uniform' in scope
24 |         let idx = letters.index(letters.startIndex, offsetBy: Int(rand))
25 |         let letter = letters[idx]
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:34:9: error: cannot find 'SecRandomCopyBytes' in scope
32 | public func generateCodeVerifier() -> String? {
33 |     var buffer = [UInt8](repeating: 0, count: 32)
34 |     _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
   |         `- error: cannot find 'SecRandomCopyBytes' in scope
35 |    let codeVerifier = Data(buffer).base64EncodedString()
36 |         .replacingOccurrences(of: "+", with: "-")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:34:28: error: cannot find 'kSecRandomDefault' in scope
32 | public func generateCodeVerifier() -> String? {
33 |     var buffer = [UInt8](repeating: 0, count: 32)
34 |     _ = SecRandomCopyBytes(kSecRandomDefault, buffer.count, &buffer)
   |                            `- error: cannot find 'kSecRandomDefault' in scope
35 |    let codeVerifier = Data(buffer).base64EncodedString()
36 |         .replacingOccurrences(of: "+", with: "-")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:56:21: error: cannot specialize non-generic type 'HMAC'
54 |     #else
55 |     let buffer = [UInt8](repeating: 0, count: SHA256.byteCount)
56 |     let sha = Array(HMAC<SHA256>.authenticationCode(for: buffer, using: SymmetricKey(size: .bits256)))
   |                     `- error: cannot specialize non-generic type 'HMAC'
57 |     let hash = Data(sha)
58 |     #endif
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:64:34: error: cannot infer contextual base in reference to member 'whitespaces'
62 |         .replacingOccurrences(of: "/", with: "_")
63 |         .replacingOccurrences(of: "=", with: "")
64 |         .trimmingCharacters(in: .whitespaces)
   |                                  `- error: cannot infer contextual base in reference to member 'whitespaces'
65 |
66 |     return challenge
[480/503] Compiling OAuthSwift OAuthWebViewController.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
 37 |
 38 | /// A web view controller, which handler OAuthSwift authentification. Must be override to display a web view.
 39 | open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
    |                                    `- error: cannot find type 'OAuthViewController' in scope
 40 |
 41 |     #if os(iOS) || os(tvOS) || os(OSX)
[481/503] Compiling OAuthSwift SFAuthenticationURLHandler.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
 37 |
 38 | /// A web view controller, which handler OAuthSwift authentification. Must be override to display a web view.
 39 | open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
    |                                    `- error: cannot find type 'OAuthViewController' in scope
 40 |
 41 |     #if os(iOS) || os(tvOS) || os(OSX)
[482/503] Compiling OAuthSwift SafariURLHandler.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
 37 |
 38 | /// A web view controller, which handler OAuthSwift authentification. Must be override to display a web view.
 39 | open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
    |                                    `- error: cannot find type 'OAuthViewController' in scope
 40 |
 41 |     #if os(iOS) || os(tvOS) || os(OSX)
[483/503] Compiling OAuthSwift Int+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Handler/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
 37 |
 38 | /// A web view controller, which handler OAuthSwift authentification. Must be override to display a web view.
 39 | open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
    |                                    `- error: cannot find type 'OAuthViewController' in scope
 40 |
 41 |     #if os(iOS) || os(tvOS) || os(OSX)
[484/503] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
19 | /// Protocol to defined how to open the url.
20 | /// You could choose to open using an external browser, a safari controller, an internal webkit view controller, etc...
21 | @objc public protocol OAuthSwiftURLHandlerType {
   |  `- error: Objective-C interoperability is disabled
22 |     func handle(_ url: URL)
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 81 |             } else {
 82 |                 var key: NSString?
 83 |                 scanner.scanUpTo(keyValueSeparator, into: &key)
    |                                                           |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                           `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 84 |                 scanner.scanString(keyValueSeparator, into: nil)
 85 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 85 |
 86 |                 var value: NSString?
 87 |                 scanner.scanUpTo(elementSeparator, into: &value)
    |                                                          |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                          `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 88 |                 scanner.scanString(elementSeparator, into: nil)
 89 |                 if let key = key as String? {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                       `- error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                                                                `- error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
[485/503] Compiling OAuthSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
19 | /// Protocol to defined how to open the url.
20 | /// You could choose to open using an external browser, a safari controller, an internal webkit view controller, etc...
21 | @objc public protocol OAuthSwiftURLHandlerType {
   |  `- error: Objective-C interoperability is disabled
22 |     func handle(_ url: URL)
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 81 |             } else {
 82 |                 var key: NSString?
 83 |                 scanner.scanUpTo(keyValueSeparator, into: &key)
    |                                                           |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                           `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 84 |                 scanner.scanString(keyValueSeparator, into: nil)
 85 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 85 |
 86 |                 var value: NSString?
 87 |                 scanner.scanUpTo(elementSeparator, into: &value)
    |                                                          |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                          `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 88 |                 scanner.scanString(elementSeparator, into: nil)
 89 |                 if let key = key as String? {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                       `- error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                                                                `- error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
[486/503] Compiling OAuthSwift String+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
19 | /// Protocol to defined how to open the url.
20 | /// You could choose to open using an external browser, a safari controller, an internal webkit view controller, etc...
21 | @objc public protocol OAuthSwiftURLHandlerType {
   |  `- error: Objective-C interoperability is disabled
22 |     func handle(_ url: URL)
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 81 |             } else {
 82 |                 var key: NSString?
 83 |                 scanner.scanUpTo(keyValueSeparator, into: &key)
    |                                                           |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                           `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 84 |                 scanner.scanString(keyValueSeparator, into: nil)
 85 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 85 |
 86 |                 var value: NSString?
 87 |                 scanner.scanUpTo(elementSeparator, into: &value)
    |                                                          |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                          `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 88 |                 scanner.scanString(elementSeparator, into: nil)
 89 |                 if let key = key as String? {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                       `- error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                                                                `- error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
[487/503] Compiling OAuthSwift UIApplication+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:21:2: error: Objective-C interoperability is disabled
19 | /// Protocol to defined how to open the url.
20 | /// You could choose to open using an external browser, a safari controller, an internal webkit view controller, etc...
21 | @objc public protocol OAuthSwiftURLHandlerType {
   |  `- error: Objective-C interoperability is disabled
22 |     func handle(_ url: URL)
23 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:83:59: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 81 |             } else {
 82 |                 var key: NSString?
 83 |                 scanner.scanUpTo(keyValueSeparator, into: &key)
    |                                                           |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                           `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 84 |                 scanner.scanString(keyValueSeparator, into: nil)
 85 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:87:58: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
 85 |
 86 |                 var value: NSString?
 87 |                 scanner.scanUpTo(elementSeparator, into: &value)
    |                                                          |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
    |                                                          `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
 88 |                 scanner.scanString(elementSeparator, into: nil)
 89 |                 if let key = key as String? {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                       `- error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:140:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
138 |
139 |     var charset: String {
140 |         let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
    |                                                                `- error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
141 |          // swiftlint:disable:next force_cast superfluous_disable_command
142 |         return charset! as String
[488/503] Compiling OAuthSwift NSError+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
60 |                     let json = try? JSONSerialization.jsonObject(with: bodyData, options: []),
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
   |                                                      `- error: value of type 'AnyObject' has no subscripts
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
   |                                                         `- error: value of type 'AnyObject' has no subscripts
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
65 |                         return true
[489/503] Compiling OAuthSwift NotificationCenter+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
60 |                     let json = try? JSONSerialization.jsonObject(with: bodyData, options: []),
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
   |                                                      `- error: value of type 'AnyObject' has no subscripts
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
   |                                                         `- error: value of type 'AnyObject' has no subscripts
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
65 |                         return true
[490/503] Compiling OAuthSwift OAuth1Swift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
60 |                     let json = try? JSONSerialization.jsonObject(with: bodyData, options: []),
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
   |                                                      `- error: value of type 'AnyObject' has no subscripts
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
   |                                                         `- error: value of type 'AnyObject' has no subscripts
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
65 |                         return true
[491/503] Compiling OAuthSwift OAuth2Swift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:62:54: error: value of type 'AnyObject' has no subscripts
60 |                     let json = try? JSONSerialization.jsonObject(with: bodyData, options: []),
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
   |                                                      `- error: value of type 'AnyObject' has no subscripts
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift:63:57: error: value of type 'AnyObject' has no subscripts
61 |                     let jsonDic = json as? [String: AnyObject] {
62 |                     let errorCode = jsonDic["error"]?["code"] as? Int
63 |                     let errorSubCode = jsonDic["error"]?["error_subcode"] as? Int
   |                                                         `- error: value of type 'AnyObject' has no subscripts
64 |                     if (errorCode == 102 && errorSubCode == nil) || errorSubCode == 463 || errorSubCode == 467 {
65 |                         return true
[492/503] Compiling OAuthSwift OAuthSwiftError.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
 32 |
 33 |     /// Generic request error
 34 |     case requestError(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 35 |     /// The provided token is expired, retrieve new token by using the refresh token
 36 |     case tokenExpired(error: Error?)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
 36 |     case tokenExpired(error: Error?)
 37 |     /// If the user has not either allowed or denied the request yet, the authorization server will return the authorization_pending error.
 38 |     case authorizationPending(error: Error, request: URLRequest)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
 38 |     case authorizationPending(error: Error, request: URLRequest)
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
    |                                          `- error: cannot find type 'URLRequest' in scope
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
 40 |     case slowDown(error: Error, request: URLRequest)
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     public static let Domain = "OAuthSwiftError"
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
 40 |     public var config: Config
 41 |
 42 |     private var request: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     private var session: URLSession!
 45 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     fileprivate var cancelRequested = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
221 |     }
222 |
223 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
224 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
225 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
225 |     }
226 |
227 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
228 |         var request = config.urlRequest
229 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
242 |         dataEncoding: String.Encoding,
243 |         body: Data? = nil,
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
245 |
246 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
266 |         body: Data? = nil,
267 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
268 |
269 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
261 |
262 |     open class func setupRequestForOAuth(
263 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
264 |         parameters: OAuthSwift.Parameters,
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
315 |
316 |         /// URLRequest (url, method, ...)
317 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
318 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
319 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
348 |         }
349 |
350 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
351 |             self.urlRequest = urlRequest
352 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
448 |
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
452 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                              `- error: extra argument 'urlRequest' in call
 60 |     }
 61 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                 `- error: missing arguments for parameters 'url', 'parameters' in call
 60 |     }
 61 |
    :
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |
140 |         // MARK: failure no response or data returned by server
141 |         guard let response = resp as? HTTPURLResponse, let responseData = data else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |             let badRequestCode = 400
143 |             let localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(badRequestCode, responseString: "")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |                 userInfo[OAuthSwiftError.ResponseKey] = response
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
152 |             }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
152 |             }
153 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
157 |
158 |         // MARK: failure code > 400
159 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
160 |             var localizedDescription = ""
161 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |                 }
175 |             } else {
176 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             }
178 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
179 |             var userInfo: [String: Any] = [
180 |                 NSLocalizedDescriptionKey: localizedDescription,
181 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
182 |                 OAuthSwiftError.ResponseKey: response,
183 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:188:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
186 |                 userInfo["Response-Body"] = string
187 |             }
188 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
189 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
190 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 |             }
191 |
192 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
193 |             if error.isExpiredToken {
194 |                 completion?(.failure(.tokenExpired(error: error)))
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                                                 `- error: cannot find type 'URLRequest' in scope
22 |         self.data = data
23 |         self.response = response
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
215 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
216 |         if let task = task {
217 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
218 |         } else {
219 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
245 |
246 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
247 |         request.httpMethod = method.rawValue
248 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
339 |         // MARK: init
340 |         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) {
341 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
342 |             urlRequest.httpMethod = httpMethod.rawValue
343 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
    :
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
452 |     }
453 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | /// Response object
12 | @objc
   |  `- error: Objective-C interoperability is disabled
13 | public class OAuthSwiftResponse: NSObject { // not a struct for objc
14 |     /// The data returned by the server.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var data: Data
16 |     /// The server's response to the URL request.
17 |     public var response: HTTPURLResponse
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
17 |     public var response: HTTPURLResponse
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.data = data
23 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[493/503] Compiling OAuthSwift OAuthSwiftHTTPRequest.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
 32 |
 33 |     /// Generic request error
 34 |     case requestError(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 35 |     /// The provided token is expired, retrieve new token by using the refresh token
 36 |     case tokenExpired(error: Error?)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
 36 |     case tokenExpired(error: Error?)
 37 |     /// If the user has not either allowed or denied the request yet, the authorization server will return the authorization_pending error.
 38 |     case authorizationPending(error: Error, request: URLRequest)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
 38 |     case authorizationPending(error: Error, request: URLRequest)
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
    |                                          `- error: cannot find type 'URLRequest' in scope
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
 40 |     case slowDown(error: Error, request: URLRequest)
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     public static let Domain = "OAuthSwiftError"
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
 40 |     public var config: Config
 41 |
 42 |     private var request: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     private var session: URLSession!
 45 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     fileprivate var cancelRequested = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
221 |     }
222 |
223 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
224 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
225 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
225 |     }
226 |
227 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
228 |         var request = config.urlRequest
229 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
242 |         dataEncoding: String.Encoding,
243 |         body: Data? = nil,
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
245 |
246 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
266 |         body: Data? = nil,
267 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
268 |
269 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
261 |
262 |     open class func setupRequestForOAuth(
263 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
264 |         parameters: OAuthSwift.Parameters,
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
315 |
316 |         /// URLRequest (url, method, ...)
317 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
318 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
319 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
348 |         }
349 |
350 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
351 |             self.urlRequest = urlRequest
352 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
448 |
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
452 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                              `- error: extra argument 'urlRequest' in call
 60 |     }
 61 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                 `- error: missing arguments for parameters 'url', 'parameters' in call
 60 |     }
 61 |
    :
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |
140 |         // MARK: failure no response or data returned by server
141 |         guard let response = resp as? HTTPURLResponse, let responseData = data else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |             let badRequestCode = 400
143 |             let localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(badRequestCode, responseString: "")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |                 userInfo[OAuthSwiftError.ResponseKey] = response
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
152 |             }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
152 |             }
153 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
157 |
158 |         // MARK: failure code > 400
159 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
160 |             var localizedDescription = ""
161 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |                 }
175 |             } else {
176 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             }
178 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
179 |             var userInfo: [String: Any] = [
180 |                 NSLocalizedDescriptionKey: localizedDescription,
181 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
182 |                 OAuthSwiftError.ResponseKey: response,
183 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:188:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
186 |                 userInfo["Response-Body"] = string
187 |             }
188 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
189 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
190 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 |             }
191 |
192 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
193 |             if error.isExpiredToken {
194 |                 completion?(.failure(.tokenExpired(error: error)))
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                                                 `- error: cannot find type 'URLRequest' in scope
22 |         self.data = data
23 |         self.response = response
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
215 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
216 |         if let task = task {
217 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
218 |         } else {
219 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
245 |
246 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
247 |         request.httpMethod = method.rawValue
248 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
339 |         // MARK: init
340 |         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) {
341 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
342 |             urlRequest.httpMethod = httpMethod.rawValue
343 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
    :
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
452 |     }
453 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | /// Response object
12 | @objc
   |  `- error: Objective-C interoperability is disabled
13 | public class OAuthSwiftResponse: NSObject { // not a struct for objc
14 |     /// The data returned by the server.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var data: Data
16 |     /// The server's response to the URL request.
17 |     public var response: HTTPURLResponse
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
17 |     public var response: HTTPURLResponse
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.data = data
23 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[494/503] Compiling OAuthSwift OAuthSwiftMultipartData.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
 32 |
 33 |     /// Generic request error
 34 |     case requestError(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 35 |     /// The provided token is expired, retrieve new token by using the refresh token
 36 |     case tokenExpired(error: Error?)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
 36 |     case tokenExpired(error: Error?)
 37 |     /// If the user has not either allowed or denied the request yet, the authorization server will return the authorization_pending error.
 38 |     case authorizationPending(error: Error, request: URLRequest)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
 38 |     case authorizationPending(error: Error, request: URLRequest)
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
    |                                          `- error: cannot find type 'URLRequest' in scope
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
 40 |     case slowDown(error: Error, request: URLRequest)
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     public static let Domain = "OAuthSwiftError"
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
 40 |     public var config: Config
 41 |
 42 |     private var request: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     private var session: URLSession!
 45 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     fileprivate var cancelRequested = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
221 |     }
222 |
223 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
224 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
225 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
225 |     }
226 |
227 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
228 |         var request = config.urlRequest
229 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
242 |         dataEncoding: String.Encoding,
243 |         body: Data? = nil,
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
245 |
246 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
266 |         body: Data? = nil,
267 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
268 |
269 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
261 |
262 |     open class func setupRequestForOAuth(
263 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
264 |         parameters: OAuthSwift.Parameters,
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
315 |
316 |         /// URLRequest (url, method, ...)
317 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
318 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
319 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
348 |         }
349 |
350 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
351 |             self.urlRequest = urlRequest
352 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
448 |
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
452 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                              `- error: extra argument 'urlRequest' in call
 60 |     }
 61 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                 `- error: missing arguments for parameters 'url', 'parameters' in call
 60 |     }
 61 |
    :
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |
140 |         // MARK: failure no response or data returned by server
141 |         guard let response = resp as? HTTPURLResponse, let responseData = data else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |             let badRequestCode = 400
143 |             let localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(badRequestCode, responseString: "")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |                 userInfo[OAuthSwiftError.ResponseKey] = response
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
152 |             }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
152 |             }
153 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
157 |
158 |         // MARK: failure code > 400
159 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
160 |             var localizedDescription = ""
161 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |                 }
175 |             } else {
176 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             }
178 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
179 |             var userInfo: [String: Any] = [
180 |                 NSLocalizedDescriptionKey: localizedDescription,
181 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
182 |                 OAuthSwiftError.ResponseKey: response,
183 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:188:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
186 |                 userInfo["Response-Body"] = string
187 |             }
188 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
189 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
190 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 |             }
191 |
192 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
193 |             if error.isExpiredToken {
194 |                 completion?(.failure(.tokenExpired(error: error)))
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                                                 `- error: cannot find type 'URLRequest' in scope
22 |         self.data = data
23 |         self.response = response
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
215 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
216 |         if let task = task {
217 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
218 |         } else {
219 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
245 |
246 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
247 |         request.httpMethod = method.rawValue
248 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
339 |         // MARK: init
340 |         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) {
341 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
342 |             urlRequest.httpMethod = httpMethod.rawValue
343 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
    :
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
452 |     }
453 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | /// Response object
12 | @objc
   |  `- error: Objective-C interoperability is disabled
13 | public class OAuthSwiftResponse: NSObject { // not a struct for objc
14 |     /// The data returned by the server.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var data: Data
16 |     /// The server's response to the URL request.
17 |     public var response: HTTPURLResponse
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
17 |     public var response: HTTPURLResponse
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.data = data
23 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[495/503] Compiling OAuthSwift OAuthSwiftResponse.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
 32 |
 33 |     /// Generic request error
 34 |     case requestError(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 35 |     /// The provided token is expired, retrieve new token by using the refresh token
 36 |     case tokenExpired(error: Error?)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:38:54: error: cannot find type 'URLRequest' in scope
 36 |     case tokenExpired(error: Error?)
 37 |     /// If the user has not either allowed or denied the request yet, the authorization server will return the authorization_pending error.
 38 |     case authorizationPending(error: Error, request: URLRequest)
    |                                                      `- error: cannot find type 'URLRequest' in scope
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:40:42: error: cannot find type 'URLRequest' in scope
 38 |     case authorizationPending(error: Error, request: URLRequest)
 39 |     /// If the device is polling too frequently, the authorization server will return the slow_down error.
 40 |     case slowDown(error: Error, request: URLRequest)
    |                                          `- error: cannot find type 'URLRequest' in scope
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:42:46: error: cannot find type 'URLRequest' in scope
 40 |     case slowDown(error: Error, request: URLRequest)
 41 |     /// If the user denies the request.
 42 |     case accessDenied(error: Error, request: URLRequest)
    |                                              `- error: cannot find type 'URLRequest' in scope
 43 |
 44 |     public static let Domain = "OAuthSwiftError"
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:42:26: error: cannot find type 'URLRequest' in scope
 40 |     public var config: Config
 41 |
 42 |     private var request: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:43:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     private var session: URLSession!
 45 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:44:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     private var request: URLRequest?
 43 |     private var task: URLSessionTask?
 44 |     private var session: URLSession!
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |
 46 |     fileprivate var cancelRequested = false
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:101: error: cannot find type 'URLRequest' in scope
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:117:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |
116 |     /// Function called when receiving data from server.
117 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         #if os(iOS)
119 |         #if !OAUTH_APP_EXTENSIONS
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:223:39: error: cannot find type 'URLRequest' in scope
221 |     }
222 |
223 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
224 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
225 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:227:59: error: cannot find type 'URLRequest' in scope
225 |     }
226 |
227 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
228 |         var request = config.urlRequest
229 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:244:74: error: cannot find type 'URLRequest' in scope
242 |         dataEncoding: String.Encoding,
243 |         body: Data? = nil,
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
245 |
246 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:267:74: error: cannot find type 'URLRequest' in scope
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
266 |         body: Data? = nil,
267 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
268 |
269 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:263:24: error: cannot find type 'URLRequest' in scope
261 |
262 |     open class func setupRequestForOAuth(
263 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
264 |         parameters: OAuthSwift.Parameters,
265 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:32: error: cannot find type 'URLRequest' in scope
315 |
316 |         /// URLRequest (url, method, ...)
317 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
318 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
319 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:350:33: error: cannot find type 'URLRequest' in scope
348 |         }
349 |
350 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
351 |             self.urlRequest = urlRequest
352 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:450:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
448 |
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
452 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:46: error: extra argument 'urlRequest' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                              `- error: extra argument 'urlRequest' in call
 60 |     }
 61 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:59:33: error: missing arguments for parameters 'url', 'parameters' in call
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
    |                                 `- error: missing arguments for parameters 'url', 'parameters' in call
 60 |     }
 61 |
    :
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:141:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |
140 |         // MARK: failure no response or data returned by server
141 |         guard let response = resp as? HTTPURLResponse, let responseData = data else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |             let badRequestCode = 400
143 |             let localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(badRequestCode, responseString: "")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:150:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |                 userInfo[OAuthSwiftError.ResponseKey] = response
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
152 |             }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:151:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
149 |             }
150 |             if let response = resp as? HTTPURLResponse {
151 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
152 |             }
153 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:159:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
157 |
158 |         // MARK: failure code > 400
159 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
160 |             var localizedDescription = ""
161 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |                 }
175 |             } else {
176 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             }
178 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:181:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
179 |             var userInfo: [String: Any] = [
180 |                 NSLocalizedDescriptionKey: localizedDescription,
181 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
182 |                 OAuthSwiftError.ResponseKey: response,
183 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:188:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
186 |                 userInfo["Response-Body"] = string
187 |             }
188 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
189 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
190 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 |             }
191 |
192 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
193 |             if error.isExpiredToken {
194 |                 completion?(.failure(.tokenExpired(error: error)))
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                                                 `- error: cannot find type 'URLRequest' in scope
22 |         self.data = data
23 |         self.response = response
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:217:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
215 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
216 |         if let task = task {
217 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
218 |         } else {
219 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:246:23: error: cannot find 'URLRequest' in scope
244 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
245 |
246 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
247 |         request.httpMethod = method.rawValue
248 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:341:30: error: cannot find 'URLRequest' in scope
339 |         // MARK: init
340 |         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) {
341 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
342 |             urlRequest.httpMethod = httpMethod.rawValue
343 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:35: error: extra argument 'urlRequest' in call
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:347:23: error: missing argument for parameter 'url' in call
338 |
339 |         // MARK: init
340 |         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) {
    |                `- note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
341 |             var urlRequest = URLRequest(url: url)
342 |             urlRequest.httpMethod = httpMethod.rawValue
    :
345 |             urlRequest.timeoutInterval = timeoutInterval
346 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
347 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
348 |         }
349 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:451:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
449 |     /// Create a new URLSession
450 |     func build() -> URLSession {
451 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
452 |     }
453 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | /// Response object
12 | @objc
   |  `- error: Objective-C interoperability is disabled
13 | public class OAuthSwiftResponse: NSObject { // not a struct for objc
14 |     /// The data returned by the server.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:17:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var data: Data
16 |     /// The server's response to the URL request.
17 |     public var response: HTTPURLResponse
   |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
17 |     public var response: HTTPURLResponse
18 |     /// The URL request sent to the server.
19 |     public var request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     public var request: URLRequest?
20 |
21 |     public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |         self.data = data
23 |         self.response = response
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[496/503] Compiling OAuthSwift Collection+OAuthSwift.swift
[497/503] Compiling OAuthSwift Data+OAuthSwift.swift
[498/503] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[499/503] Compiling OAuthSwift HMAC.swift
[500/503] Compiling OAuthSwift OAuthLogProtocol.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
 11 | public var OAuthSwiftDataEncoding: String.Encoding = .utf8
 12 |
 13 | @objc public protocol OAuthSwiftRequestHandle {
    |  `- error: Objective-C interoperability is disabled
 14 |     func cancel()
 15 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
 90 |     }
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
 94 |         request.config.updateRequest(credential: self.credential)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                                      `- error: extra argument 'request' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                             `- error: missing argument for parameter 'url' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 52 |     // MARK: INIT
 53 |
 54 |     convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
    |                 `- note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 55 |         self.init(config: Config(url: url, httpMethod: method, httpBody: httpBody, headers: headers, parameters: parameters, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 56 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
[501/503] Compiling OAuthSwift OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
 11 | public var OAuthSwiftDataEncoding: String.Encoding = .utf8
 12 |
 13 | @objc public protocol OAuthSwiftRequestHandle {
    |  `- error: Objective-C interoperability is disabled
 14 |     func cancel()
 15 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
 90 |     }
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
 94 |         request.config.updateRequest(credential: self.credential)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                                      `- error: extra argument 'request' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                             `- error: missing argument for parameter 'url' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 52 |     // MARK: INIT
 53 |
 54 |     convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
    |                 `- note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 55 |         self.init(config: Config(url: url, httpMethod: method, httpBody: httpBody, headers: headers, parameters: parameters, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 56 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
[502/503] Compiling OAuthSwift OAuthSwiftClient.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
 11 | public var OAuthSwiftDataEncoding: String.Encoding = .utf8
 12 |
 13 | @objc public protocol OAuthSwiftRequestHandle {
    |  `- error: Objective-C interoperability is disabled
 14 |     func cancel()
 15 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
 90 |     }
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
 94 |         request.config.updateRequest(credential: self.credential)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                                      `- error: extra argument 'request' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                             `- error: missing argument for parameter 'url' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 52 |     // MARK: INIT
 53 |
 54 |     convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
    |                 `- note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 55 |         self.init(config: Config(url: url, httpMethod: method, httpBody: httpBody, headers: headers, parameters: parameters, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 56 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
[503/503] Compiling OAuthSwift OAuthSwiftCredential.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
 11 | public var OAuthSwiftDataEncoding: String.Encoding = .utf8
 12 |
 13 | @objc public protocol OAuthSwiftRequestHandle {
    |  `- error: Objective-C interoperability is disabled
 14 |     func cancel()
 15 | }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:436:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
434 |     public static let `default` = URLSessionFactory()
435 |
436 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:439:31: error: cannot find type 'URLSessionDelegate' in scope
437 |     public var queue = OperationQueue.main
438 |     /// An optional delegate for the URLSession
439 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
440 |
441 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
 90 |     }
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
 94 |         request.config.updateRequest(credential: self.credential)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:58:31: error: cannot find type 'URLRequest' in scope
 56 |     }
 57 |
 58 |     convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
    |                               `- error: cannot find type 'URLRequest' in scope
 59 |         self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 60 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                                      `- error: extra argument 'request' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
 91 |
 92 |     open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
 93 |         let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
    |                                             `- error: missing argument for parameter 'url' in call
 94 |         request.config.updateRequest(credential: self.credential)
 95 |         return request
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:54:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 52 |     // MARK: INIT
 53 |
 54 |     convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
    |                 `- note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
 55 |         self.init(config: Config(url: url, httpMethod: method, httpBody: httpBody, headers: headers, parameters: parameters, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
 56 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
112 |
113 |     open func makeMultiPartRequest(_ url: URLConvertible, method: OAuthSwiftHTTPRequest.Method, parameters: OAuthSwift.Parameters = [:], multiparts: [OAuthSwiftMultipartData] = [], headers: OAuthSwift.Headers? = nil) -> OAuthSwiftHTTPRequest? {
114 |         let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
    |                                                       `- error: cannot find 'arc4random' in scope
115 |         let type = "multipart/form-data; boundary=\(boundary)"
116 |         let body = self.multiDataFromObject(parameters, multiparts: multiparts, boundary: boundary)
BUILD FAILURE 6.3 linux