The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TweetupKit, reference master (b2f005), with Swift 6.3 for Linux on 10 Apr 2026 11:44:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

[180/413] Compiling self_check.c
[181/413] Compiling blinding.c
[182/413] Compiling rsa_impl.c
[183/413] Compiling padding.c
[184/413] Compiling rand.c
[185/413] Compiling rsa.c
[186/413] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[187/413] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[188/413] Compiling fork_detect.c
[189/413] Compiling p256-x86_64-asm.mac.x86_64.S
[190/413] Compiling urandom.c
[191/413] Compiling ctrdrbg.c
[192/413] Compiling p256-x86_64-asm.linux.x86_64.S
[193/413] Compiling polyval.c
[194/413] Compiling ofb.c
[195/413] Compiling gcm_nohw.c
[196/413] Compiling ctr.c
[197/413] Compiling cfb.c
[198/413] Compiling md5-x86_64.mac.x86_64.S
[199/413] Compiling gcm.c
[200/413] Compiling md5-586.windows.x86.S
[201/413] Compiling cbc.c
[202/413] Compiling md5-586.linux.x86.S
[203/413] Compiling md5-x86_64.linux.x86_64.S
[204/413] Compiling md5.c
[205/413] Compiling is_fips.c
[206/413] Compiling ghashv8-armx64.linux.aarch64.S
[207/413] Compiling ghashv8-armx64.ios.aarch64.S
[208/413] Compiling ghashv8-armx32.ios.arm.S
[209/413] Compiling ghashv8-armx32.linux.arm.S
[210/413] Compiling hmac.c
[211/413] Compiling md4.c
[212/413] Compiling ghash-x86_64.mac.x86_64.S
[213/413] Compiling ghash-x86.linux.x86.S
[214/413] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[215/413] Compiling ghash-x86.windows.x86.S
[215/413] Compiling ghash-x86_64.linux.x86_64.S
[217/413] Compiling ghash-ssse3-x86.linux.x86.S
[218/413] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[219/413] Compiling ghash-neon-armv8.linux.aarch64.S
[219/413] Compiling ghash-ssse3-x86.windows.x86.S
[221/413] Compiling fips_shared_support.c
[222/413] Compiling ghash-neon-armv8.ios.aarch64.S
[223/413] Compiling ghash-armv4.ios.arm.S
[224/413] Compiling ghash-armv4.linux.arm.S
[225/413] Compiling util.c
[226/413] Compiling ecdh.c
[227/413] Compiling ecdsa.c
[228/413] Compiling wnaf.c
[229/413] Compiling simple_mul.c
[230/413] Compiling scalar.c
[231/413] Compiling simple.c
[232/413] Compiling oct.c
[233/413] Compiling felem.c
[234/413] Compiling p224-64.c
[235/413] Compiling ec_montgomery.c
[236/413] Compiling p256.c
[236/413] Compiling ec_key.c
[238/413] Compiling co-586.linux.x86.S
[239/413] Compiling co-586.windows.x86.S
[240/413] Compiling digests.c
[241/413] Compiling digest.c
[242/413] Compiling dh.c
[243/413] Compiling ec.c
[244/413] Compiling bsaes-armv7.linux.arm.S
[245/413] Compiling bsaes-armv7.ios.arm.S
[246/413] Compiling e_des.c
[247/413] Compiling aead.c
[248/413] Compiling cipher.c
[249/413] Compiling sqrt.c
[250/413] Compiling shift.c
[251/413] Compiling e_aes.c
[252/413] Compiling rsaz_exp.c
[253/413] Compiling random.c
[254/413] Compiling p256-x86_64.c
[255/413] Compiling montgomery_inv.c
[256/413] Compiling mul.c
[257/413] Compiling prime.c
[258/413] Compiling generic.c
[259/413] Compiling jacobi.c
[260/413] Compiling montgomery.c
[261/413] Compiling gcd_extra.c
[262/413] Compiling gcd.c
[263/413] Compiling div_extra.c
[264/413] Compiling cmp.c
[265/413] Compiling ctx.c
[266/413] Compiling bytes.c
[267/413] Compiling div.c
[268/413] Compiling exponentiation.c
[269/413] Compiling bn-586.windows.x86.S
[270/413] Compiling bn-586.linux.x86.S
[271/413] Compiling armv8-mont.linux.aarch64.S
[272/413] Compiling armv4-mont.linux.arm.S
[273/413] Compiling armv8-mont.ios.aarch64.S
[274/413] Compiling bn.c
[275/413] Compiling armv4-mont.ios.arm.S
[276/413] Compiling aesv8-armx64.linux.aarch64.S
[277/413] Compiling aesv8-armx32.ios.arm.S
[278/413] Compiling add.c
[279/413] Compiling aesv8-armx32.linux.arm.S
[280/413] Compiling aesv8-armx64.ios.aarch64.S
[281/413] Compiling aesni-x86_64.mac.x86_64.S
[282/413] Compiling aesni-x86.windows.x86.S
[283/413] Compiling aesni-x86.linux.x86.S
[284/413] Compiling aesni-gcm-x86_64.mac.x86_64.S
[284/413] Compiling aesni-gcm-x86_64.linux.x86_64.S
[286/413] Compiling aesni-x86_64.linux.x86_64.S
[287/413] Compiling mode_wrappers.c
[288/413] Compiling x86_64-gcc.c
[289/413] Compiling key_wrap.c
[290/413] Compiling aes.c
[291/413] Compiling sign.c
[292/413] Compiling ex_data.c
[293/413] Compiling scrypt.c
[294/413] Compiling p_x25519.c
[295/413] Compiling pbkdf.c
[296/413] Compiling p_x25519_asn1.c
[297/413] Compiling aes_nohw.c
[298/413] Compiling p_rsa_asn1.c
[299/413] Compiling print.c
[300/413] Compiling p_ed25519.c
[301/413] Compiling p_ed25519_asn1.c
[302/413] Compiling p_rsa.c
[303/413] Compiling p_ec_asn1.c
[304/413] Compiling p_dsa_asn1.c
[305/413] Compiling digestsign.c
[306/413] Compiling evp_asn1.c
[307/413] Compiling evp.c
[308/413] Compiling p_ec.c
[309/413] Compiling evp_ctx.c
[310/413] Compiling err_data.c
[311/413] Compiling engine.c
[312/413] Compiling err.c
[313/413] Compiling ec_derive.c
[314/413] Compiling ecdh_extra.c
[315/413] Compiling ecdsa_asn1.c
[316/413] Compiling hash_to_curve.c
[317/413] Compiling dsa_asn1.c
[318/413] Compiling ec_asn1.c
[320/413] Compiling PromiseK Throws.swift
[320/413] Compiling x25519-asm-arm.S
[321/413] Compiling dh_asn1.c
[322/413] Compiling digest_extra.c
[323/413] Compiling params.c
[324/413] Compiling spake25519.c
[325/413] Compiling dsa.c
[326/413] Compiling cpu-ppc64le.c
[327/413] Compiling cpu-arm-linux.c
[328/413] Compiling cpu-arm.c
[329/413] Compiling crypto.c
[330/413] Compiling cpu-aarch64-win.c
[331/413] Compiling cpu-aarch64-linux.c
[332/413] Compiling cpu-aarch64-fuchsia.c
[333/413] Compiling cpu-intel.c
[334/413] Compiling cmac.c
[335/413] Compiling e_rc4.c
[336/413] Compiling e_rc2.c
[337/413] Compiling e_tls.c
[338/413] Compiling tls_cbc.c
[339/413] Compiling conf.c
[340/413] Compiling e_null.c
[341/413] Compiling curve25519.c
[342/413] Compiling derive_key.c
[343/413] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[344/413] Compiling e_chacha20poly1305.c
[345/413] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[346/413] Compiling e_aesgcmsiv.c
[347/413] Compiling cipher_extra.c
[348/413] Compiling e_aesctrhmac.c
[349/413] Compiling e_aesccm.c
[350/413] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[351/413] Compiling chacha-x86.windows.x86.S
[352/413] Compiling chacha-x86_64.mac.x86_64.S
[353/413] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[354/413] Compiling chacha-x86.linux.x86.S
[355/413] Compiling chacha-x86_64.linux.x86_64.S
[356/413] Compiling chacha.c
[357/413] Compiling chacha-armv8.linux.aarch64.S
[358/413] Compiling chacha-armv8.ios.aarch64.S
[359/413] Compiling chacha-armv4.ios.arm.S
[360/413] Compiling chacha-armv4.linux.arm.S
[361/413] Compiling unicode.c
[362/413] Compiling asn1_compat.c
[363/413] Compiling ber.c
[364/413] Compiling bn_asn1.c
[365/413] Compiling buf.c
[366/413] Compiling cbb.c
[367/413] Compiling cbs.c
[368/413] Compiling blake2.c
[369/413] Compiling convert.c
[370/413] Compiling socket.c
[371/413] Compiling pair.c
[372/413] Compiling hexdump.c
[373/413] Compiling file.c
[374/413] Compiling socket_helper.c
[375/413] Compiling printf.c
[376/413] Compiling fd.c
[377/413] Compiling base64.c
[378/413] Compiling bio_mem.c
[379/413] Compiling tasn_utl.c
[380/413] Compiling connect.c
[381/413] Compiling time_support.c
[382/413] Compiling tasn_new.c
[383/413] Compiling tasn_dec.c
[384/413] Compiling bio.c
[385/413] Compiling f_string.c
[385/413] Compiling tasn_enc.c
[387/413] Compiling tasn_fre.c
[388/413] Compiling tasn_typ.c
[389/413] Compiling f_enum.c
[390/413] Compiling f_int.c
[391/413] Compiling asn1_par.c
[391/413] Compiling a_utf8.c
[393/413] Compiling asn_pack.c
[394/413] Compiling asn1_lib.c
[395/413] Compiling a_type.c
[396/413] Compiling a_utctm.c
[397/413] Compiling a_print.c
[398/413] Compiling a_time.c
[399/413] Compiling a_octet.c
[400/413] Compiling a_strnid.c
[401/413] Compiling a_mbstr.c
[402/413] Compiling a_object.c
[403/413] Compiling a_gentm.c
[404/413] Compiling a_i2d_fp.c
[405/413] Compiling a_int.c
[406/413] Compiling a_dup.c
[407/413] Compiling a_enum.c
[408/413] Compiling a_d2i_fp.c
[409/413] Compiling a_bool.c
[410/413] Compiling a_bitstr.c
[412/414] Compiling PromiseK Promise.swift
[413/414] Emitting module PromiseK
[415/468] Emitting module Crypto
[416/475] Compiling Crypto ASN1Identifier.swift
[417/475] Compiling Crypto ASN1Integer.swift
[418/475] Compiling Crypto ASN1OctetString.swift
[419/475] Compiling Crypto ArraySliceBigint.swift
[420/475] Compiling Crypto ObjectIdentifier.swift
[421/475] Compiling Crypto ECDSASignature.swift
[422/475] Compiling Crypto PEMDocument.swift
[423/475] Compiling Crypto PKCS8PrivateKey.swift
[424/475] Compiling Crypto SymmetricKeys.swift
[425/475] Compiling Crypto HMAC.swift
[426/475] Compiling Crypto MACFunctions.swift
[427/475] Compiling Crypto MessageAuthenticationCode.swift
[428/475] Compiling Crypto AES.swift
[429/475] Compiling Crypto ECDSASignature_boring.swift
[430/475] Compiling Crypto ECDSA_boring.swift
[431/475] Compiling Crypto EdDSA_boring.swift
[432/475] Compiling Crypto ECDSA.swift
[433/475] Compiling Crypto EdDSA.swift
[434/475] Compiling Crypto Signature.swift
[435/475] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[436/475] Compiling Crypto CryptoKitErrors_boring.swift
[437/475] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[438/475] Compiling Crypto AES-GCM.swift
[439/475] Compiling Crypto AES-GCM_boring.swift
[440/475] Compiling Crypto ChaChaPoly_boring.swift
[441/475] Compiling Crypto ChaChaPoly.swift
[442/475] Compiling Crypto Cipher.swift
[443/475] Compiling Crypto Nonces.swift
[444/475] Compiling Crypto ASN1.swift
[445/475] Compiling Crypto ASN1BitString.swift
[446/475] Compiling Crypto Insecure.swift
[447/475] Compiling Crypto Insecure_HashFunctions.swift
[448/475] Compiling Crypto ECDH_boring.swift
[449/475] Compiling Crypto DH.swift
[450/475] Compiling Crypto ECDH.swift
[451/475] Compiling Crypto HKDF.swift
[452/475] Compiling Crypto Ed25519_boring.swift
[453/475] Compiling Crypto EllipticCurvePoint_boring.swift
[454/475] Compiling Crypto EllipticCurve_boring.swift
[455/475] Compiling Crypto NISTCurvesKeys_boring.swift
[456/475] Compiling Crypto X25519Keys_boring.swift
[457/475] Compiling Crypto Curve25519.swift
[458/475] Compiling Crypto Ed25519.swift
[459/475] Compiling Crypto NISTCurvesKeys.swift
[460/475] Compiling Crypto X25519Keys.swift
[461/475] Compiling Crypto SEC1PrivateKey.swift
[462/475] Compiling Crypto SubjectPublicKeyInfo.swift
[463/475] Compiling Crypto CryptoKitErrors.swift
[464/475] Compiling Crypto Digest_boring.swift
[465/475] Compiling Crypto Digest.swift
[466/475] Compiling Crypto Digests.swift
[467/475] Compiling Crypto HashFunctions.swift
[468/475] Compiling Crypto HashFunctions_SHA2.swift
[469/475] Compiling Crypto RNG_boring.swift
[470/475] Compiling Crypto SafeCompare_boring.swift
[471/475] Compiling Crypto Zeroization_boring.swift
[472/475] Compiling Crypto PrettyBytes.swift
[473/475] Compiling Crypto SafeCompare.swift
[474/475] Compiling Crypto SecureBytes.swift
[475/475] Compiling Crypto Zeroization.swift
[477/505] 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 |         DispatchQueue.main.async {
26 |             #if os(iOS) || os(tvOS)
[478/505] 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 |         DispatchQueue.main.async {
26 |             #if os(iOS) || os(tvOS)
[479/505] 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 |         DispatchQueue.main.async {
26 |             #if os(iOS) || os(tvOS)
[480/505] 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 |         DispatchQueue.main.async {
26 |             #if os(iOS) || os(tvOS)
[481/505] 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
[482/505] 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
[483/505] 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
[484/505] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[485/505] 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 |         DispatchQueue.main.async {
26 |             #if os(iOS) || os(tvOS)
/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(visionOS) || 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// 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:109:101: error: cannot find type 'URLRequest' in scope
107 |
108 |     /// Function called when receiving data from server.
109 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
110 |         // MARK: failure error returned by server
111 |         if let error = error {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     /// Function called when receiving data from server.
109 |     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.
110 |         // MARK: failure error returned by server
111 |         if let error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:207:39: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
208 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
209 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:211:59: error: cannot find type 'URLRequest' in scope
209 |     }
210 |
211 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
212 |         var request = config.urlRequest
213 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:228:74: error: cannot find type 'URLRequest' in scope
226 |         dataEncoding: String.Encoding,
227 |         body: Data? = nil,
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
229 |
230 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:251:74: error: cannot find type 'URLRequest' in scope
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
250 |         body: Data? = nil,
251 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
252 |
253 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:247:24: error: cannot find type 'URLRequest' in scope
245 |
246 |     open class func setupRequestForOAuth(
247 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
248 |         parameters: OAuthSwift.Parameters,
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:301:32: error: cannot find type 'URLRequest' in scope
299 |
300 |         /// URLRequest (url, method, ...)
301 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
302 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
303 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:334:33: error: cannot find type 'URLRequest' in scope
332 |         }
333 |
334 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
335 |             self.urlRequest = urlRequest
336 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:434:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
436 |     }
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 | }
[486/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// 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)
[487/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// 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)
[488/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// 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)
[489/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// 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)
[490/508] 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(visionOS) || os(tvOS) || os(OSX)
[491/508] 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(visionOS) || os(tvOS) || os(OSX)
[492/508] 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(visionOS) || os(tvOS) || os(OSX)
[493/508] 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(visionOS) || os(tvOS) || os(OSX)
[494/508] 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
[495/508] 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
[496/508] 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
[497/508] 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
[498/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:101: error: cannot find type 'URLRequest' in scope
107 |
108 |     /// Function called when receiving data from server.
109 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
110 |         // MARK: failure error returned by server
111 |         if let error = error {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     /// Function called when receiving data from server.
109 |     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.
110 |         // MARK: failure error returned by server
111 |         if let error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:207:39: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
208 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
209 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:211:59: error: cannot find type 'URLRequest' in scope
209 |     }
210 |
211 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
212 |         var request = config.urlRequest
213 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:228:74: error: cannot find type 'URLRequest' in scope
226 |         dataEncoding: String.Encoding,
227 |         body: Data? = nil,
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
229 |
230 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:251:74: error: cannot find type 'URLRequest' in scope
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
250 |         body: Data? = nil,
251 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
252 |
253 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:247:24: error: cannot find type 'URLRequest' in scope
245 |
246 |     open class func setupRequestForOAuth(
247 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
248 |         parameters: OAuthSwift.Parameters,
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:301:32: error: cannot find type 'URLRequest' in scope
299 |
300 |         /// URLRequest (url, method, ...)
301 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
302 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
303 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:334:33: error: cannot find type 'URLRequest' in scope
332 |         }
333 |
334 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
335 |             self.urlRequest = urlRequest
336 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:434:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
436 |     }
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 |
    :
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:125:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |
124 |         // MARK: failure no response or data returned by server
125 |         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.
126 |             let badRequestCode = 400
127 |             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:134:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |                 userInfo[OAuthSwiftError.ResponseKey] = response
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
136 |             }
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:135:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
136 |             }
137 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
141 |
142 |         // MARK: failure code > 400
143 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
144 |             var localizedDescription = ""
145 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:160:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |                 }
159 |             } else {
160 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |             }
162 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:165:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
163 |             var userInfo: [String: Any] = [
164 |                 NSLocalizedDescriptionKey: localizedDescription,
165 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
166 |                 OAuthSwiftError.ResponseKey: response,
167 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:172:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
170 |                 userInfo["Response-Body"] = string
171 |             }
172 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
173 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
174 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |             }
175 |
176 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             if error.isExpiredToken {
178 |                 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:201:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
199 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
200 |         if let task = task {
201 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |         } else {
203 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:23: error: cannot find 'URLRequest' in scope
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
229 |
230 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
231 |         request.httpMethod = method.rawValue
232 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:325:30: error: cannot find 'URLRequest' in scope
323 |         // MARK: init
324 |         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) {
325 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
326 |             urlRequest.httpMethod = httpMethod.rawValue
327 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:35: error: extra argument 'urlRequest' in call
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:23: error: missing argument for parameter 'url' in call
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
    :
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:435:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |     }
437 | }
/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
[499/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:101: error: cannot find type 'URLRequest' in scope
107 |
108 |     /// Function called when receiving data from server.
109 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
110 |         // MARK: failure error returned by server
111 |         if let error = error {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     /// Function called when receiving data from server.
109 |     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.
110 |         // MARK: failure error returned by server
111 |         if let error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:207:39: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
208 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
209 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:211:59: error: cannot find type 'URLRequest' in scope
209 |     }
210 |
211 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
212 |         var request = config.urlRequest
213 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:228:74: error: cannot find type 'URLRequest' in scope
226 |         dataEncoding: String.Encoding,
227 |         body: Data? = nil,
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
229 |
230 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:251:74: error: cannot find type 'URLRequest' in scope
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
250 |         body: Data? = nil,
251 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
252 |
253 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:247:24: error: cannot find type 'URLRequest' in scope
245 |
246 |     open class func setupRequestForOAuth(
247 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
248 |         parameters: OAuthSwift.Parameters,
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:301:32: error: cannot find type 'URLRequest' in scope
299 |
300 |         /// URLRequest (url, method, ...)
301 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
302 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
303 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:334:33: error: cannot find type 'URLRequest' in scope
332 |         }
333 |
334 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
335 |             self.urlRequest = urlRequest
336 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:434:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
436 |     }
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 |
    :
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:125:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |
124 |         // MARK: failure no response or data returned by server
125 |         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.
126 |             let badRequestCode = 400
127 |             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:134:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |                 userInfo[OAuthSwiftError.ResponseKey] = response
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
136 |             }
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:135:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
136 |             }
137 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
141 |
142 |         // MARK: failure code > 400
143 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
144 |             var localizedDescription = ""
145 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:160:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |                 }
159 |             } else {
160 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |             }
162 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:165:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
163 |             var userInfo: [String: Any] = [
164 |                 NSLocalizedDescriptionKey: localizedDescription,
165 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
166 |                 OAuthSwiftError.ResponseKey: response,
167 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:172:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
170 |                 userInfo["Response-Body"] = string
171 |             }
172 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
173 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
174 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |             }
175 |
176 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             if error.isExpiredToken {
178 |                 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:201:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
199 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
200 |         if let task = task {
201 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |         } else {
203 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:23: error: cannot find 'URLRequest' in scope
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
229 |
230 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
231 |         request.httpMethod = method.rawValue
232 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:325:30: error: cannot find 'URLRequest' in scope
323 |         // MARK: init
324 |         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) {
325 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
326 |             urlRequest.httpMethod = httpMethod.rawValue
327 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:35: error: extra argument 'urlRequest' in call
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:23: error: missing argument for parameter 'url' in call
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
    :
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:435:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |     }
437 | }
/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
[500/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:101: error: cannot find type 'URLRequest' in scope
107 |
108 |     /// Function called when receiving data from server.
109 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
110 |         // MARK: failure error returned by server
111 |         if let error = error {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     /// Function called when receiving data from server.
109 |     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.
110 |         // MARK: failure error returned by server
111 |         if let error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:207:39: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
208 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
209 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:211:59: error: cannot find type 'URLRequest' in scope
209 |     }
210 |
211 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
212 |         var request = config.urlRequest
213 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:228:74: error: cannot find type 'URLRequest' in scope
226 |         dataEncoding: String.Encoding,
227 |         body: Data? = nil,
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
229 |
230 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:251:74: error: cannot find type 'URLRequest' in scope
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
250 |         body: Data? = nil,
251 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
252 |
253 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:247:24: error: cannot find type 'URLRequest' in scope
245 |
246 |     open class func setupRequestForOAuth(
247 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
248 |         parameters: OAuthSwift.Parameters,
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:301:32: error: cannot find type 'URLRequest' in scope
299 |
300 |         /// URLRequest (url, method, ...)
301 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
302 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
303 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:334:33: error: cannot find type 'URLRequest' in scope
332 |         }
333 |
334 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
335 |             self.urlRequest = urlRequest
336 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:434:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
436 |     }
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 |
    :
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:125:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |
124 |         // MARK: failure no response or data returned by server
125 |         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.
126 |             let badRequestCode = 400
127 |             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:134:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |                 userInfo[OAuthSwiftError.ResponseKey] = response
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
136 |             }
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:135:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
136 |             }
137 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
141 |
142 |         // MARK: failure code > 400
143 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
144 |             var localizedDescription = ""
145 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:160:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |                 }
159 |             } else {
160 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |             }
162 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:165:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
163 |             var userInfo: [String: Any] = [
164 |                 NSLocalizedDescriptionKey: localizedDescription,
165 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
166 |                 OAuthSwiftError.ResponseKey: response,
167 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:172:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
170 |                 userInfo["Response-Body"] = string
171 |             }
172 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
173 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
174 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |             }
175 |
176 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             if error.isExpiredToken {
178 |                 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:201:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
199 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
200 |         if let task = task {
201 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |         } else {
203 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:23: error: cannot find 'URLRequest' in scope
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
229 |
230 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
231 |         request.httpMethod = method.rawValue
232 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:325:30: error: cannot find 'URLRequest' in scope
323 |         // MARK: init
324 |         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) {
325 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
326 |             urlRequest.httpMethod = httpMethod.rawValue
327 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:35: error: extra argument 'urlRequest' in call
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:23: error: missing argument for parameter 'url' in call
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
    :
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:435:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |     }
437 | }
/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
[501/508] 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:420:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
418 |     public static let `default` = URLSessionFactory()
419 |
420 |     public var configuration = URLSessionConfiguration.default
    |                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:423:31: error: cannot find type 'URLSessionDelegate' in scope
421 |     public var queue = OperationQueue.main
422 |     /// An optional delegate for the URLSession
423 |     public weak var delegate: URLSessionDelegate?
    |                               `- error: cannot find type 'URLSessionDelegate' in scope
424 |
425 |     /// Monitor session: see UIApplication.shared.isNetworkActivityIndicatorVisible
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:101: error: cannot find type 'URLRequest' in scope
107 |
108 |     /// Function called when receiving data from server.
109 |     public static func completionHandler(completionHandler completion: CompletionHandler?, request: URLRequest, data: Data?, resp: URLResponse?, error: Error?) {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
110 |         // MARK: failure error returned by server
111 |         if let error = error {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:109:132: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |
108 |     /// Function called when receiving data from server.
109 |     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.
110 |         // MARK: failure error returned by server
111 |         if let error = error {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:207:39: error: cannot find type 'URLRequest' in scope
205 |     }
206 |
207 |     open func makeRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
208 |         return try OAuthSwiftHTTPRequest.makeRequest(config: self.config)
209 |     }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:211:59: error: cannot find type 'URLRequest' in scope
209 |     }
210 |
211 |     open class func makeRequest(config: Config) throws -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
212 |         var request = config.urlRequest
213 |         OAuthSwift.log?.trace("URLRequest is created: \(request)")
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:228:74: error: cannot find type 'URLRequest' in scope
226 |         dataEncoding: String.Encoding,
227 |         body: Data? = nil,
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
229 |
230 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:251:74: error: cannot find type 'URLRequest' in scope
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
250 |         body: Data? = nil,
251 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
    |                                                                          `- error: cannot find type 'URLRequest' in scope
252 |
253 |         let finalParameters: OAuthSwift.Parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:247:24: error: cannot find type 'URLRequest' in scope
245 |
246 |     open class func setupRequestForOAuth(
247 |         request: inout URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
248 |         parameters: OAuthSwift.Parameters,
249 |         dataEncoding: String.Encoding = OAuthSwiftDataEncoding,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:301:32: error: cannot find type 'URLRequest' in scope
299 |
300 |         /// URLRequest (url, method, ...)
301 |         public var urlRequest: URLRequest
    |                                `- error: cannot find type 'URLRequest' in scope
302 |         /// These parameters are either added to the query string for GET, HEAD and DELETE requests or
303 |         /// used as the http body in case of POST, PUT or PATCH requests.
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:334:33: error: cannot find type 'URLRequest' in scope
332 |         }
333 |
334 |         public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
    |                                 `- error: cannot find type 'URLRequest' in scope
335 |             self.urlRequest = urlRequest
336 |             self.parameters = parameters
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:434:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
432 |
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
436 |     }
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 |
    :
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:125:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |
124 |         // MARK: failure no response or data returned by server
125 |         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.
126 |             let badRequestCode = 400
127 |             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:134:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |                 userInfo[OAuthSwiftError.ResponseKey] = response
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
136 |             }
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:135:57: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
133 |             }
134 |             if let response = resp as? HTTPURLResponse {
135 |                 userInfo["Response-Headers"] = response.allHeaderFields
    |                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
136 |             }
137 |             let error = NSError(domain: OAuthSwiftError.Domain, code: badRequestCode, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:143:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
141 |
142 |         // MARK: failure code > 400
143 |         guard response.statusCode < 400 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
144 |             var localizedDescription = ""
145 |             let responseString = String(data: responseData, encoding: OAuthSwiftDataEncoding)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:160:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
158 |                 }
159 |             } else {
160 |                 localizedDescription = OAuthSwiftHTTPRequest.descriptionForHTTPStatus(response.statusCode, responseString: String(data: responseData, encoding: OAuthSwiftDataEncoding)!)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |             }
162 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:165:46: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
163 |             var userInfo: [String: Any] = [
164 |                 NSLocalizedDescriptionKey: localizedDescription,
165 |                 "Response-Headers": response.allHeaderFields,
    |                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
166 |                 OAuthSwiftError.ResponseKey: response,
167 |                 OAuthSwiftError.ResponseDataKey: responseData
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:172:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
170 |                 userInfo["Response-Body"] = string
171 |             }
172 |             if let urlString = response.url?.absoluteString {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
173 |                 userInfo[NSURLErrorFailingURLErrorKey] = urlString
174 |             }
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:176:80: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
174 |             }
175 |
176 |             let error = NSError(domain: OAuthSwiftError.Domain, code: response.statusCode, userInfo: userInfo)
    |                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |             if error.isExpiredToken {
178 |                 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:201:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
199 |         // either cancel the request if it's already running or set the flag to prohibit creation of the request
200 |         if let task = task {
201 |             task.cancel()
    |                  `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
202 |         } else {
203 |             cancelRequested = true
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:23: error: cannot find 'URLRequest' in scope
228 |         paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
229 |
230 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
231 |         request.httpMethod = method.rawValue
232 |         for (key, value) in headers {
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:325:30: error: cannot find 'URLRequest' in scope
323 |         // MARK: init
324 |         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) {
325 |             var urlRequest = URLRequest(url: url)
    |                              `- error: cannot find 'URLRequest' in scope
326 |             urlRequest.httpMethod = httpMethod.rawValue
327 |             urlRequest.httpBody = httpBody
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:35: error: extra argument 'urlRequest' in call
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                                   `- error: extra argument 'urlRequest' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:331:23: error: missing argument for parameter 'url' in call
322 |
323 |         // MARK: init
324 |         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
325 |             var urlRequest = URLRequest(url: url)
326 |             urlRequest.httpMethod = httpMethod.rawValue
    :
329 |             urlRequest.timeoutInterval = timeoutInterval
330 |             urlRequest.httpShouldHandleCookies = httpShouldHandleCookies
331 |             self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
    |                       `- error: missing argument for parameter 'url' in call
332 |         }
333 |
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:435:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |     /// Create a new URLSession
434 |     func build() -> URLSession {
435 |         return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
    |                `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |     }
437 | }
/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
[502/508] 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
[503/508] 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
[504/508] 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
[505/508] Compiling OAuthSwift Collection+OAuthSwift.swift
[506/508] Compiling OAuthSwift Data+OAuthSwift.swift
[507/508] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[508/508] Compiling OAuthSwift HMAC.swift
BUILD FAILURE 6.3 linux