The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TweetupKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-tweets/tweetup-kit.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swift-tweets/tweetup-kit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b2f005e Update PromiseK for Swift 4.1
Cloned https://github.com/swift-tweets/tweetup-kit.git
Revision (git rev-parse @):
b2f005e880a9999342c17cbd397fae91cef73e97
SUCCESS checkout https://github.com/swift-tweets/tweetup-kit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/swift-tweets/tweetup-kit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/5097] Fetching oauthswift
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (0.42s)
Fetching https://github.com/koher/PromiseK.git
[1/529] Fetching promisek
Fetched https://github.com/koher/PromiseK.git from cache (0.18s)
Computing version for https://github.com/koher/PromiseK.git
Computed https://github.com/koher/PromiseK.git at 3.1.0 (0.37s)
Creating working copy for https://github.com/koher/PromiseK.git
Working copy of https://github.com/koher/PromiseK.git resolved at 3.1.0
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at master (d072ae9)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/29] Compiling PromiseK Throws.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/29] Compiling OAuthSwift Collection+OAuthSwift.swift
[7/29] Compiling OAuthSwift Data+OAuthSwift.swift
[8/29] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[9/29] Emitting module OAuthSwift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:51:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:35:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:36:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:37:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:196:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:212:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:234:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:284:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:412:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[10/32] Compiling OAuthSwift Objc.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:61:55: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
            scanner.scanUpTo(keyValueSeparator, into: &key)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:61:55: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
            scanner.scanUpTo(keyValueSeparator, into: &key)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:65:54: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
            scanner.scanUpTo(elementSeparator, into: &value)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:65:54: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
            scanner.scanUpTo(elementSeparator, into: &value)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:107:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:107:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[11/32] Compiling OAuthSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:61:55: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
            scanner.scanUpTo(keyValueSeparator, into: &key)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:61:55: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
            scanner.scanUpTo(keyValueSeparator, into: &key)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:65:54: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
            scanner.scanUpTo(elementSeparator, into: &value)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:65:54: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
            scanner.scanUpTo(elementSeparator, into: &value)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:107:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:107:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[12/32] Compiling OAuthSwift String+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:61:55: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
            scanner.scanUpTo(keyValueSeparator, into: &key)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:61:55: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
            scanner.scanUpTo(keyValueSeparator, into: &key)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:65:54: error: cannot convert value of type 'UnsafeMutablePointer<NSString?>' to expected argument type 'UnsafeMutablePointer<String?>'
            scanner.scanUpTo(elementSeparator, into: &value)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:65:54: note: arguments to generic parameter 'Pointee' ('NSString?' and 'String?') are expected to be equal
            scanner.scanUpTo(elementSeparator, into: &value)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:107:23: error: cannot find 'CFStringConvertEncodingToIANACharSetName' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift:107:64: error: cannot find 'CFStringConvertNSStringEncodingToEncoding' in scope
        let charset = CFStringConvertEncodingToIANACharSetName(CFStringConvertNSStringEncodingToEncoding(self.rawValue))
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[13/32] Compiling OAuthSwift OAuthSwiftResponse.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:165:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[14/32] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:165:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[15/32] Compiling OAuthSwift OAuthWebViewController.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:165:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[16/32] Emitting module PromiseK
[17/32] Compiling PromiseK Promise.swift
[19/33] Compiling OAuthSwift UIApplication+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:17:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
[20/33] Compiling OAuthSwift URL+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:17:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
[21/33] Compiling OAuthSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:17:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
error: compile command failed due to signal 6 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[22/33] Compiling OAuthSwift OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:51:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:47:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
[23/33] Compiling OAuthSwift OAuthSwiftClient.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:51:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:47:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
[24/33] Compiling OAuthSwift OAuthSwiftCredential.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:51:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:54: error: extra argument 'request' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:93:45: error: missing argument for parameter 'url' in call
        let request = OAuthSwiftHTTPRequest(request: request, paramsLocation: self.paramsLocation, sessionFactory: self.sessionFactory)
                                            ^
                                            url: <#URL#>,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:47:17: note: 'init(url:method:parameters:paramsLocation:httpBody:headers:sessionFactory:)' declared here
    convenience init(url: URL, method: Method = .GET, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], sessionFactory: URLSessionFactory = .default) {
                ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:39: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:114:55: error: cannot find 'arc4random' in scope
        let boundary = "AS-boundary-\(arc4random())-\(arc4random())"
                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:51:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:35:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:36:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:37:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:196:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:212:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:234:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:284:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:412:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:52:46: error: extra argument 'urlRequest' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:52:33: error: missing arguments for parameters 'url', 'parameters' in call
        self.init(config: Config(urlRequest: request, paramsLocation: paramsLocation, sessionFactory: sessionFactory))
                                ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:307:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:70:28: error: 'nil' requires a contextual type
            self.request = nil
                           ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:76:13: error: cannot find 'objc_sync_enter' in scope
            objc_sync_enter(self)
            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:182:9: error: cannot find 'objc_sync_enter' in scope
        objc_sync_enter(self)
        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:183:17: error: cannot find 'objc_sync_exit' in scope
        defer { objc_sync_exit(self) }
                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:186:18: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
            task.cancel()
            ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:214:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:308:30: error: cannot find 'URLRequest' in scope
            var urlRequest = URLRequest(url: url)
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:314:35: error: extra argument 'urlRequest' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:314:23: error: missing argument for parameter 'url' in call
            self.init(urlRequest: urlRequest, parameters: parameters, paramsLocation: paramsLocation, dataEncoding: dataEncoding, sessionFactory: sessionFactory)
                      ^
                      url: <#URL#>,
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:307:16: note: 'init(url:httpMethod:httpBody:headers:timeoutInterval:httpShouldHandleCookies:parameters:paramsLocation:dataEncoding:sessionFactory:)' declared here
        public init(url: URL, httpMethod: Method = .GET, httpBody: Data? = nil, headers: OAuthSwift.Headers = [:], timeoutInterval: TimeInterval = 60, httpShouldHandleCookies: Bool = false, parameters: OAuthSwift.Parameters, paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
               ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:374:40: error: 'nil' requires a contextual type
                urlComponents?.query = nil
                                       ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:413:16: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        return URLSession(configuration: self.configuration, delegate: self.delegate, delegateQueue: self.queue)
               ^~~~~~~~~~
Can't demangle: $s10OAuthSwift0aB5ErrorO07requestC033_26BBA774041396F45A943316C92836FFLLXeF5errorL_s0C0_pvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Collection+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Data+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Dictionary+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/HMAC.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Int+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NotificationCenter+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth1Swift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth2Swift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftCredential.swift -primary-file /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift -primary-file /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftMultipartData.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Objc.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/SHA1.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/UIApplication+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/URL+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift -supplementary-output-file-map /tmp/TemporaryDirectory.S7zjot/supplementaryOutputs-5 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name OAuthSwift -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthSwift.build/OAuthSwiftError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthSwift.build/OAuthSwiftHTTPRequest.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthSwift.build/OAuthSwiftMultipartData.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with effective version 4.1.50
3.	While walking into 'OAuthSwiftError' (at /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:12:8)
4.	While evaluating request USRGenerationRequest(OAuthSwift.(file).OAuthSwiftError.requestError(error:request:).error@/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:23)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x56397ebd5d73]
/usr/bin/swift-frontend(+0x7305abe)[0x56397ebd3abe]
/usr/bin/swift-frontend(+0x73080ea)[0x56397ebd60ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fa18cdab520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fa18cdff9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fa18cdab476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fa18cd917f3]
/usr/bin/swift-frontend(+0x2af4275)[0x56397a3c2275]
/usr/bin/swift-frontend(+0x2755c54)[0x56397a023c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x56397a38669b]
/usr/bin/swift-frontend(+0x2347a0c)[0x563979c15a0c]
/usr/bin/swift-frontend(+0x106859c)[0x56397893659c]
/usr/bin/swift-frontend(+0x1068102)[0x563978936102]
/usr/bin/swift-frontend(+0x106716b)[0x56397893516b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x56397a3871aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x563978904d5b]
/usr/bin/swift-frontend(+0x10362a7)[0x5639789042a7]
/usr/bin/swift-frontend(+0x1033c59)[0x563978901c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x563979582cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x56397a07b05c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x56397a07cb3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x56397a07f0e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x56397a07b07c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x56397a07fc1f]
/usr/bin/swift-frontend(+0x27b086b)[0x56397a07e86b]
/usr/bin/swift-frontend(+0x27ad07c)[0x56397a07b07c]
/usr/bin/swift-frontend(+0x27acf73)[0x56397a07af73]
/usr/bin/swift-frontend(+0x298b1e2)[0x56397a2591e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x5639795806a6]
/usr/bin/swift-frontend(+0x1032c84)[0x563978900c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x563978900b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x5639788f5f82]
/usr/bin/swift-frontend(+0x1027978)[0x5639788f5978]
/usr/bin/swift-frontend(+0xe3f242)[0x56397870d242]
/usr/bin/swift-frontend(+0xe3d09c)[0x56397870b09c]
/usr/bin/swift-frontend(+0xe382cd)[0x5639787062cd]
/usr/bin/swift-frontend(+0xe369db)[0x5639787049db]
/usr/bin/swift-frontend(+0xcc3315)[0x563978591315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fa18cd92d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fa18cd92e40]
/usr/bin/swift-frontend(+0xcc2375)[0x563978590375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/21] Emitting module OAuthSwift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftRequestHandle {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift:92:38: error: cannot find type 'URLRequest' in scope
    open func makeRequest(_ request: URLRequest) -> OAuthSwiftHTTPRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:51:31: error: cannot find type 'URLRequest' in scope
    convenience init(request: URLRequest, paramsLocation: ParamsLocation = .authorizationHeader, sessionFactory: URLSessionFactory = .default) {
                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:35:26: error: cannot find type 'URLRequest' in scope
    private var request: URLRequest?
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:36:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:37:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var session: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:192:39: error: cannot find type 'URLRequest' in scope
    open func makeRequest() throws -> URLRequest {
                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:196:59: error: cannot find type 'URLRequest' in scope
    open class func makeRequest(config: Config) throws -> URLRequest {
                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:212:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:234:74: error: cannot find type 'URLRequest' in scope
        paramsLocation: ParamsLocation = .authorizationHeader) throws -> URLRequest {
                                                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:230:24: error: cannot find type 'URLRequest' in scope
        request: inout URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:284:32: error: cannot find type 'URLRequest' in scope
        public var urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:317:33: error: cannot find type 'URLRequest' in scope
        public init(urlRequest: URLRequest, parameters: OAuthSwift.Parameters = [:], paramsLocation: ParamsLocation = .authorizationHeader, dataEncoding: String.Encoding = OAuthSwiftDataEncoding, sessionFactory: URLSessionFactory = .default) {
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:412:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func build() -> URLSession {
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[3/23] Compiling OAuthSwift OAuthSwiftResponse.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:165:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[4/23] Compiling OAuthSwift OAuthSwiftURLHandlerType.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:165:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[5/23] Compiling OAuthSwift OAuthWebViewController.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:12:2: error: Objective-C interoperability is disabled
@objc
~^~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:21:65: error: cannot find type 'URLRequest' in scope
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                                                ^~~~~~~~~~
/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.
    public var response: HTTPURLResponse
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift:19:25: error: cannot find type 'URLRequest' in scope
    public var 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.
    public init(data: Data, response: HTTPURLResponse, request: URLRequest?) {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:19:2: error: Objective-C interoperability is disabled
@objc public protocol OAuthSwiftURLHandlerType {
~^~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:28:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:158:39: error: cannot find type 'NSExtensionContext' in scope
    fileprivate var extensionContext: NSExtensionContext
                                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:160:35: error: cannot find type 'NSExtensionContext' in scope
    public init(extensionContext: NSExtensionContext) {
                                  ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:164:6: error: Objective-C interoperability is disabled
    @objc open func handle(_ url: URL) {
    ~^~~~~

/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift:165:55: error: 'nil' requires a contextual type
        extensionContext.open(url, completionHandler: nil)
                                                      ^
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift:39:36: error: cannot find type 'OAuthViewController' in scope
open class OAuthWebViewController: OAuthViewController, OAuthSwiftURLHandlerType {
                                   ^~~~~~~~~~~~~~~~~~~
[6/23] Compiling OAuthSwift URL+OAuthSwift.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:17:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
[7/23] Compiling OAuthSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift:17:20: error: cannot find 'arc4random_uniform' in scope
        let rand = arc4random_uniform(length)
                   ^~~~~~~~~~~~~~~~~~
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:403:56: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var configuration = URLSessionConfiguration.default
                               ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift:406:31: error: cannot find type 'URLSessionDelegate' in scope
    public weak var delegate: URLSessionDelegate?
                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift:34:46: error: cannot find type 'URLRequest' in scope
    case requestError(error: Error, request: URLRequest)
                                             ^~~~~~~~~~
SIL verification failed: result of witness_method must have correct representation for protocol: methodType->getRepresentation() == F.getModule().Types.getProtocolWitnessRepresentation(protocol)
Verifying instruction:
     %249 = open_existential_ref %246 : $any OAuthSwiftURLHandlerType to $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self // users: %252, %251, %251, %250
->   %250 = witness_method $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self, #OAuthSwiftURLHandlerType.handle : <Self where Self : OAuthSwiftURLHandlerType> (Self) -> (URL) -> (), %249 : $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self : $@convention(method) <τ_0_0 where τ_0_0 : OAuthSwiftURLHandlerType> (@guaranteed URL, @guaranteed τ_0_0) -> () // type-defs: %249; user: %251
     %251 = apply %250<@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self>(%239, %249) : $@convention(method) <τ_0_0 where τ_0_0 : OAuthSwiftURLHandlerType> (@guaranteed URL, @guaranteed τ_0_0) -> () // type-defs: %249
In function:
// closure #1 in OAuth1Swift.authorize(withCallbackURL:success:failure:)
sil private [ossa] @$s10OAuthSwift06OAuth1B0C9authorize15withCallbackURL7success7failureAA0aB13RequestHandle_pSg10Foundation0G0V_yAA0aB10CredentialC_AA0aB8ResponseCSgSDySSypGtcyAA0aB5ErrorOcSgtFyAN_AqRtcfU_ : $@convention(thin) (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>, @guaranteed @sil_unowned OAuth1Swift, @guaranteed Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, @guaranteed @callee_guaranteed (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>) -> (), @guaranteed URL) -> () {
// %0 "credential"                                // users: %289, %288, %36, %35, %7
// %1                                             // user: %8
// %2                                             // user: %9
// %3 "self"                                      // users: %242, %161, %60, %54, %19, %14, %10
// %4 "failure"                                   // users: %283, %256, %25, %11
// %5 "success"                                   // users: %26, %12
// %6 "callbackURL"                               // users: %197, %13
bb0(%0 : @guaranteed $OAuthSwiftCredential, %1 : @guaranteed $Optional<OAuthSwiftResponse>, %2 : @guaranteed $Dictionary<String, Any>, %3 : @closureCapture @guaranteed $@sil_unowned OAuth1Swift, %4 : @closureCapture @guaranteed $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, %5 : @closureCapture @guaranteed $@callee_guaranteed (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>) -> (), %6 : @closureCapture @guaranteed $URL):
  debug_value %0 : $OAuthSwiftCredential, let, name "credential", argno 1 // id: %7
  debug_value %1 : $Optional<OAuthSwiftResponse>, let, name "_1", argno 2 // id: %8
  debug_value %2 : $Dictionary<String, Any>, let, name "_2", argno 3 // id: %9
  debug_value %3 : $@sil_unowned OAuth1Swift, let, name "self", argno 4 // id: %10
  debug_value %4 : $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, let, name "failure", argno 5 // id: %11
  debug_value %5 : $@callee_guaranteed (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>) -> (), let, name "success", argno 6 // id: %12
  debug_value %6 : $URL, let, name "callbackURL", argno 7 // id: %13
  %14 = strong_copy_unowned_value %3 : $@sil_unowned OAuth1Swift // user: %15
  %15 = upcast %14 : $OAuth1Swift to $OAuthSwift  // users: %34, %30, %29
  %16 = alloc_box ${ var @sil_weak Optional<OAuth1Swift> } // users: %33, %17
  %17 = begin_borrow [lexical] [var_decl] %16 : ${ var @sil_weak Optional<OAuth1Swift> } // users: %32, %24, %18
  %18 = project_box %17 : ${ var @sil_weak Optional<OAuth1Swift> }, 0 // users: %27, %21
  %19 = strong_copy_unowned_value %3 : $@sil_unowned OAuth1Swift // user: %20
  %20 = enum $Optional<OAuth1Swift>, #Optional.some!enumelt, %19 : $OAuth1Swift // users: %22, %21
  store_weak %20 to [init] %18 : $*@sil_weak Optional<OAuth1Swift> // id: %21
  destroy_value %20 : $Optional<OAuth1Swift>      // id: %22
  // function_ref closure #1 in closure #1 in OAuth1Swift.authorize(withCallbackURL:success:failure:)
  %23 = function_ref @$s10OAuthSwift06OAuth1B0C9authorize15withCallbackURL7success7failureAA0aB13RequestHandle_pSg10Foundation0G0V_yAA0aB10CredentialC_AA0aB8ResponseCSgSDySSypGtcyAA0aB5ErrorOcSgtFyAN_AqRtcfU_yALcfU_ : $@convention(thin) (@guaranteed URL, @guaranteed { var @sil_weak Optional<OAuth1Swift> }, @guaranteed Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, @guaranteed @callee_guaranteed (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>) -> ()) -> () // user: %28
  %24 = copy_value %17 : ${ var @sil_weak Optional<OAuth1Swift> } // user: %28
  %25 = copy_value %4 : $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()> // user: %28
  %26 = copy_value %5 : $@callee_guaranteed (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>) -> () // user: %28
  mark_function_escape %18 : $*@sil_weak Optional<OAuth1Swift> // id: %27
  %28 = partial_apply [callee_guaranteed] %23(%24, %25, %26) : $@convention(thin) (@guaranteed URL, @guaranteed { var @sil_weak Optional<OAuth1Swift> }, @guaranteed Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, @guaranteed @callee_guaranteed (@guaranteed OAuthSwiftCredential, @guaranteed Optional<OAuthSwiftResponse>, @guaranteed Dictionary<String, Any>) -> ()) -> () // users: %31, %30
  %29 = class_method %15 : $OAuthSwift, #OAuthSwift.observeCallback : (OAuthSwift) -> (@escaping (URL) -> ()) -> (), $@convention(method) (@guaranteed @callee_guaranteed (@guaranteed URL) -> (), @guaranteed OAuthSwift) -> () // user: %30
  %30 = apply %29(%28, %15) : $@convention(method) (@guaranteed @callee_guaranteed (@guaranteed URL) -> (), @guaranteed OAuthSwift) -> ()
  destroy_value %28 : $@callee_guaranteed (@guaranteed URL) -> () // id: %31
  end_borrow %17 : ${ var @sil_weak Optional<OAuth1Swift> } // id: %32
  destroy_value %16 : ${ var @sil_weak Optional<OAuth1Swift> } // id: %33
  destroy_value %15 : $OAuthSwift                 // id: %34
  %35 = class_method %0 : $OAuthSwiftCredential, #OAuthSwiftCredential.oauthToken!getter : (OAuthSwiftCredential) -> () -> String, $@convention(method) (@guaranteed OAuthSwiftCredential) -> @owned String // user: %36
  %36 = apply %35(%0) : $@convention(method) (@guaranteed OAuthSwiftCredential) -> @owned String // users: %49, %42, %37
  %37 = begin_borrow %36 : $String                // users: %48, %41, %39
  // function_ref String.urlQueryEncoded.getter
  %38 = function_ref @$sSS10OAuthSwiftE15urlQueryEncodedSSSgvg : $@convention(method) (@guaranteed String) -> @owned Optional<String> // user: %39
  %39 = apply %38(%37) : $@convention(method) (@guaranteed String) -> @owned Optional<String> // user: %40
  switch_enum %39 : $Optional<String>, case #Optional.some!enumelt: bb2, case #Optional.none!enumelt: bb1 // id: %40
bb1:                                              // Preds: bb0
  end_borrow %37 : $String                        // id: %41
  destroy_value %36 : $String                     // id: %42
  br bb19                                         // id: %43
// %44                                            // users: %281, %45
bb2(%44 : @owned $String):                        // Preds: bb0
  %45 = begin_borrow [var_decl] %44 : $String     // users: %280, %132, %46
  debug_value %45 : $String, let, name "token"    // id: %46
  br bb3                                          // id: %47
bb3:                                              // Preds: bb2
  end_borrow %37 : $String                        // id: %48
  destroy_value %36 : $String                     // id: %49
  %50 = alloc_box ${ var String }, var, name "urlString" // users: %279, %51
  %51 = begin_borrow [var_decl] %50 : ${ var String } // users: %278, %52
  %52 = project_box %51 : ${ var String }, 0      // users: %261, %231, %223, %156, %103
  %53 = metatype $@thin String.Type               // user: %100
  %54 = strong_copy_unowned_value %3 : $@sil_unowned OAuth1Swift // users: %59, %55
  %55 = begin_borrow %54 : $OAuth1Swift           // users: %58, %57, %56
  %56 = class_method %55 : $OAuth1Swift, #OAuth1Swift.authorizeUrl!getter : (OAuth1Swift) -> () -> String, $@convention(method) (@guaranteed OAuth1Swift) -> @owned String // user: %57
  %57 = apply %56(%55) : $@convention(method) (@guaranteed OAuth1Swift) -> @owned String // users: %102, %100
  end_borrow %55 : $OAuth1Swift                   // id: %58
  destroy_value %54 : $OAuth1Swift                // id: %59
  %60 = strong_copy_unowned_value %3 : $@sil_unowned OAuth1Swift // users: %65, %61
  %61 = begin_borrow %60 : $OAuth1Swift           // users: %64, %63, %62
  %62 = class_method %61 : $OAuth1Swift, #OAuth1Swift.authorizeUrl!getter : (OAuth1Swift) -> () -> String, $@convention(method) (@guaranteed OAuth1Swift) -> @owned String // user: %63
  %63 = apply %62(%61) : $@convention(method) (@guaranteed OAuth1Swift) -> @owned String // user: %67
  end_borrow %61 : $OAuth1Swift                   // id: %64
  destroy_value %60 : $OAuth1Swift                // id: %65
  %66 = alloc_stack $String                       // users: %81, %80, %77, %67
  store %63 to [init] %66 : $*String              // id: %67
  %68 = string_literal utf8 "?"                   // user: %73
  %69 = integer_literal $Builtin.Word, 1          // user: %73
  %70 = integer_literal $Builtin.Int1, -1         // user: %73
  %71 = metatype $@thin String.Type               // user: %73
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %72 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %73
  %73 = apply %72(%68, %69, %70, %71) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %75
  %74 = alloc_stack $String                       // users: %79, %78, %77, %75
  store %73 to [init] %74 : $*String              // id: %75
  // function_ref StringProtocol.contains<A>(_:)
  %76 = function_ref @$sSy10FoundationE8containsySbqd__SyRd__lF : $@convention(method) <τ_0_0 where τ_0_0 : StringProtocol><τ_1_0 where τ_1_0 : StringProtocol> (@in_guaranteed τ_1_0, @in_guaranteed τ_0_0) -> Bool // user: %77
  %77 = apply %76<String, String>(%74, %66) : $@convention(method) <τ_0_0 where τ_0_0 : StringProtocol><τ_1_0 where τ_1_0 : StringProtocol> (@in_guaranteed τ_1_0, @in_guaranteed τ_0_0) -> Bool // user: %82
  destroy_addr %74 : $*String                     // id: %78
  dealloc_stack %74 : $*String                    // id: %79
  destroy_addr %66 : $*String                     // id: %80
  dealloc_stack %66 : $*String                    // id: %81
  %82 = struct_extract %77 : $Bool, #Bool._value  // user: %83
  cond_br %82, bb4, bb5                           // id: %83
bb4:                                              // Preds: bb3
  %84 = string_literal utf8 "&"                   // user: %89
  %85 = integer_literal $Builtin.Word, 1          // user: %89
  %86 = integer_literal $Builtin.Int1, -1         // user: %89
  %87 = metatype $@thin String.Type               // user: %89
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %88 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %89
  %89 = apply %88(%84, %85, %86, %87) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %90
  br bb6(%89 : $String)                           // id: %90
bb5:                                              // Preds: bb3
  %91 = string_literal utf8 "?"                   // user: %96
  %92 = integer_literal $Builtin.Word, 1          // user: %96
  %93 = integer_literal $Builtin.Int1, -1         // user: %96
  %94 = metatype $@thin String.Type               // user: %96
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %95 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %96
  %96 = apply %95(%91, %92, %93, %94) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %97
  br bb6(%96 : $String)                           // id: %97
// %98                                            // users: %101, %100
bb6(%98 : @owned $String):                        // Preds: bb5 bb4
  // function_ref static String.+ infix(_:_:)
  %99 = function_ref @$sSS1poiyS2S_SStFZ : $@convention(method) (@guaranteed String, @guaranteed String, @thin String.Type) -> @owned String // user: %100
  %100 = apply %99(%57, %98, %53) : $@convention(method) (@guaranteed String, @guaranteed String, @thin String.Type) -> @owned String // user: %103
  destroy_value %98 : $String                     // id: %101
  destroy_value %57 : $String                     // id: %102
  store %100 to [init] %52 : $*String             // id: %103
  %104 = metatype $@thin String.Type              // user: %158
  %105 = alloc_box ${ var DefaultStringInterpolation } // users: %152, %106
  %106 = begin_borrow [var_decl] %105 : ${ var DefaultStringInterpolation } // users: %151, %107
  %107 = project_box %106 : ${ var DefaultStringInterpolation }, 0 // users: %150, %145, %133, %126, %119
  %108 = integer_literal $Builtin.IntLiteral, 12  // user: %111
  %109 = metatype $@thin Int.Type                 // user: %111
  // function_ref Int.init(_builtinIntegerLiteral:)
  %110 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %111
  %111 = apply %110(%108, %109) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %118
  %112 = integer_literal $Builtin.IntLiteral, 1   // user: %115
  %113 = metatype $@thin Int.Type                 // user: %115
  // function_ref Int.init(_builtinIntegerLiteral:)
  %114 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %115
  %115 = apply %114(%112, %113) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %118
  %116 = metatype $@thin DefaultStringInterpolation.Type // user: %118
  // function_ref DefaultStringInterpolation.init(literalCapacity:interpolationCount:)
  %117 = function_ref @$ss26DefaultStringInterpolationV15literalCapacity18interpolationCountABSi_SitcfC : $@convention(method) (Int, Int, @thin DefaultStringInterpolation.Type) -> @owned DefaultStringInterpolation // user: %118
  %118 = apply %117(%111, %115, %116) : $@convention(method) (Int, Int, @thin DefaultStringInterpolation.Type) -> @owned DefaultStringInterpolation // user: %119
  store %118 to [init] %107 : $*DefaultStringInterpolation // id: %119
  %120 = string_literal utf8 "oauth_token="       // user: %125
  %121 = integer_literal $Builtin.Word, 12        // user: %125
  %122 = integer_literal $Builtin.Int1, -1        // user: %125
  %123 = metatype $@thin String.Type              // user: %125
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %124 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %125
  %125 = apply %124(%120, %121, %122, %123) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // users: %130, %128
  %126 = begin_access [modify] [unknown] %107 : $*DefaultStringInterpolation // users: %129, %128
  // function_ref DefaultStringInterpolation.appendLiteral(_:)
  %127 = function_ref @$ss26DefaultStringInterpolationV13appendLiteralyySSF : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> () // user: %128
  %128 = apply %127(%125, %126) : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> ()
  end_access %126 : $*DefaultStringInterpolation  // id: %129
  destroy_value %125 : $String                    // id: %130
  %131 = alloc_stack $String                      // users: %138, %132
  %132 = store_borrow %45 to %131 : $*String      // users: %137, %135
  %133 = begin_access [modify] [unknown] %107 : $*DefaultStringInterpolation // users: %136, %135
  // function_ref DefaultStringInterpolation.appendInterpolation<A>(_:)
  %134 = function_ref @$ss26DefaultStringInterpolationV06appendC0yyxs06CustomB11ConvertibleRzs20TextOutputStreamableRzlF : $@convention(method) <τ_0_0 where τ_0_0 : CustomStringConvertible, τ_0_0 : TextOutputStreamable> (@in_guaranteed τ_0_0, @inout DefaultStringInterpolation) -> () // user: %135
  %135 = apply %134<String>(%132, %133) : $@convention(method) <τ_0_0 where τ_0_0 : CustomStringConvertible, τ_0_0 : TextOutputStreamable> (@in_guaranteed τ_0_0, @inout DefaultStringInterpolation) -> ()
  end_access %133 : $*DefaultStringInterpolation  // id: %136
  end_borrow %132 : $*String                      // id: %137
  dealloc_stack %131 : $*String                   // id: %138
  %139 = string_literal utf8 ""                   // user: %144
  %140 = integer_literal $Builtin.Word, 0         // user: %144
  %141 = integer_literal $Builtin.Int1, -1        // user: %144
  %142 = metatype $@thin String.Type              // user: %144
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %143 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %144
  %144 = apply %143(%139, %140, %141, %142) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // users: %149, %147
  %145 = begin_access [modify] [unknown] %107 : $*DefaultStringInterpolation // users: %148, %147
  // function_ref DefaultStringInterpolation.appendLiteral(_:)
  %146 = function_ref @$ss26DefaultStringInterpolationV13appendLiteralyySSF : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> () // user: %147
  %147 = apply %146(%144, %145) : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> ()
  end_access %145 : $*DefaultStringInterpolation  // id: %148
  destroy_value %144 : $String                    // id: %149
  %150 = load [copy] %107 : $*DefaultStringInterpolation // user: %155
  end_borrow %106 : ${ var DefaultStringInterpolation } // id: %151
  destroy_value %105 : ${ var DefaultStringInterpolation } // id: %152
  %153 = metatype $@thin String.Type              // user: %155
  // function_ref String.init(stringInterpolation:)
  %154 = function_ref @$sSS19stringInterpolationSSs013DefaultStringB0V_tcfC : $@convention(method) (@owned DefaultStringInterpolation, @thin String.Type) -> @owned String // user: %155
  %155 = apply %154(%150, %153) : $@convention(method) (@owned DefaultStringInterpolation, @thin String.Type) -> @owned String // users: %160, %158
  %156 = begin_access [modify] [unknown] %52 : $*String // users: %159, %158
  // function_ref static String.+= infix(_:_:)
  %157 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () // user: %158
  %158 = apply %157(%156, %155, %104) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> ()
  end_access %156 : $*String                      // id: %159
  destroy_value %155 : $String                    // id: %160
  %161 = strong_copy_unowned_value %3 : $@sil_unowned OAuth1Swift // users: %166, %162
  %162 = begin_borrow %161 : $OAuth1Swift         // users: %165, %164, %163
  %163 = class_method %162 : $OAuth1Swift, #OAuth1Swift.addCallbackURLToAuthorizeURL!getter : (OAuth1Swift) -> () -> Bool, $@convention(method) (@guaranteed OAuth1Swift) -> Bool // user: %164
  %164 = apply %163(%162) : $@convention(method) (@guaranteed OAuth1Swift) -> Bool // user: %167
  end_borrow %162 : $OAuth1Swift                  // id: %165
  destroy_value %161 : $OAuth1Swift               // id: %166
  %167 = struct_extract %164 : $Bool, #Bool._value // user: %168
  cond_br %167, bb7, bb8                          // id: %168
bb7:                                              // Preds: bb6
  %169 = metatype $@thin String.Type              // user: %225
  %170 = alloc_box ${ var DefaultStringInterpolation } // users: %219, %171
  %171 = begin_borrow [var_decl] %170 : ${ var DefaultStringInterpolation } // users: %218, %172
  %172 = project_box %171 : ${ var DefaultStringInterpolation }, 0 // users: %217, %212, %200, %191, %184
  %173 = integer_literal $Builtin.IntLiteral, 16  // user: %176
  %174 = metatype $@thin Int.Type                 // user: %176
  // function_ref Int.init(_builtinIntegerLiteral:)
  %175 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %176
  %176 = apply %175(%173, %174) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %183
  %177 = integer_literal $Builtin.IntLiteral, 1   // user: %180
  %178 = metatype $@thin Int.Type                 // user: %180
  // function_ref Int.init(_builtinIntegerLiteral:)
  %179 = function_ref @$sSi22_builtinIntegerLiteralSiBI_tcfC : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %180
  %180 = apply %179(%177, %178) : $@convention(method) (Builtin.IntLiteral, @thin Int.Type) -> Int // user: %183
  %181 = metatype $@thin DefaultStringInterpolation.Type // user: %183
  // function_ref DefaultStringInterpolation.init(literalCapacity:interpolationCount:)
  %182 = function_ref @$ss26DefaultStringInterpolationV15literalCapacity18interpolationCountABSi_SitcfC : $@convention(method) (Int, Int, @thin DefaultStringInterpolation.Type) -> @owned DefaultStringInterpolation // user: %183
  %183 = apply %182(%176, %180, %181) : $@convention(method) (Int, Int, @thin DefaultStringInterpolation.Type) -> @owned DefaultStringInterpolation // user: %184
  store %183 to [init] %172 : $*DefaultStringInterpolation // id: %184
  %185 = string_literal utf8 "&oauth_callback="   // user: %190
  %186 = integer_literal $Builtin.Word, 16        // user: %190
  %187 = integer_literal $Builtin.Int1, -1        // user: %190
  %188 = metatype $@thin String.Type              // user: %190
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %189 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %190
  %190 = apply %189(%185, %186, %187, %188) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // users: %195, %193
  %191 = begin_access [modify] [unknown] %172 : $*DefaultStringInterpolation // users: %194, %193
  // function_ref DefaultStringInterpolation.appendLiteral(_:)
  %192 = function_ref @$ss26DefaultStringInterpolationV13appendLiteralyySSF : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> () // user: %193
  %193 = apply %192(%190, %191) : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> ()
  end_access %191 : $*DefaultStringInterpolation  // id: %194
  destroy_value %190 : $String                    // id: %195
  // function_ref URL.absoluteString.getter
  %196 = function_ref @$s10Foundation3URLV14absoluteStringSSvg : $@convention(method) (@guaranteed URL) -> @owned String // user: %197
  %197 = apply %196(%6) : $@convention(method) (@guaranteed URL) -> @owned String // user: %199
  %198 = alloc_stack $String                      // users: %205, %204, %202, %199
  store %197 to [init] %198 : $*String            // id: %199
  %200 = begin_access [modify] [unknown] %172 : $*DefaultStringInterpolation // users: %203, %202
  // function_ref DefaultStringInterpolation.appendInterpolation<A>(_:)
  %201 = function_ref @$ss26DefaultStringInterpolationV06appendC0yyxs06CustomB11ConvertibleRzs20TextOutputStreamableRzlF : $@convention(method) <τ_0_0 where τ_0_0 : CustomStringConvertible, τ_0_0 : TextOutputStreamable> (@in_guaranteed τ_0_0, @inout DefaultStringInterpolation) -> () // user: %202
  %202 = apply %201<String>(%198, %200) : $@convention(method) <τ_0_0 where τ_0_0 : CustomStringConvertible, τ_0_0 : TextOutputStreamable> (@in_guaranteed τ_0_0, @inout DefaultStringInterpolation) -> ()
  end_access %200 : $*DefaultStringInterpolation  // id: %203
  destroy_addr %198 : $*String                    // id: %204
  dealloc_stack %198 : $*String                   // id: %205
  %206 = string_literal utf8 ""                   // user: %211
  %207 = integer_literal $Builtin.Word, 0         // user: %211
  %208 = integer_literal $Builtin.Int1, -1        // user: %211
  %209 = metatype $@thin String.Type              // user: %211
  // function_ref String.init(_builtinStringLiteral:utf8CodeUnitCount:isASCII:)
  %210 = function_ref @$sSS21_builtinStringLiteral17utf8CodeUnitCount7isASCIISSBp_BwBi1_tcfC : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // user: %211
  %211 = apply %210(%206, %207, %208, %209) : $@convention(method) (Builtin.RawPointer, Builtin.Word, Builtin.Int1, @thin String.Type) -> @owned String // users: %216, %214
  %212 = begin_access [modify] [unknown] %172 : $*DefaultStringInterpolation // users: %215, %214
  // function_ref DefaultStringInterpolation.appendLiteral(_:)
  %213 = function_ref @$ss26DefaultStringInterpolationV13appendLiteralyySSF : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> () // user: %214
  %214 = apply %213(%211, %212) : $@convention(method) (@guaranteed String, @inout DefaultStringInterpolation) -> ()
  end_access %212 : $*DefaultStringInterpolation  // id: %215
  destroy_value %211 : $String                    // id: %216
  %217 = load [copy] %172 : $*DefaultStringInterpolation // user: %222
  end_borrow %171 : ${ var DefaultStringInterpolation } // id: %218
  destroy_value %170 : ${ var DefaultStringInterpolation } // id: %219
  %220 = metatype $@thin String.Type              // user: %222
  // function_ref String.init(stringInterpolation:)
  %221 = function_ref @$sSS19stringInterpolationSSs013DefaultStringB0V_tcfC : $@convention(method) (@owned DefaultStringInterpolation, @thin String.Type) -> @owned String // user: %222
  %222 = apply %221(%217, %220) : $@convention(method) (@owned DefaultStringInterpolation, @thin String.Type) -> @owned String // users: %227, %225
  %223 = begin_access [modify] [unknown] %52 : $*String // users: %226, %225
  // function_ref static String.+= infix(_:_:)
  %224 = function_ref @$sSS2peoiyySSz_SStFZ : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> () // user: %225
  %225 = apply %224(%223, %222, %169) : $@convention(method) (@inout String, @guaranteed String, @thin String.Type) -> ()
  end_access %223 : $*String                      // id: %226
  destroy_value %222 : $String                    // id: %227
  br bb9                                          // id: %228
bb8:                                              // Preds: bb6
  br bb9                                          // id: %229
bb9:                                              // Preds: bb7 bb8
  %230 = metatype $@thin URL.Type                 // user: %235
  %231 = begin_access [read] [unknown] %52 : $*String // users: %233, %232
  %232 = load [copy] %231 : $*String              // user: %235
  end_access %231 : $*String                      // id: %233
  // function_ref URL.init(string:)
  %234 = function_ref @$s10Foundation3URLV6stringACSgSS_tcfC : $@convention(method) (@owned String, @thin URL.Type) -> @owned Optional<URL> // user: %235
  %235 = apply %234(%232, %230) : $@convention(method) (@owned String, @thin URL.Type) -> @owned Optional<URL> // user: %236
  switch_enum %235 : $Optional<URL>, case #Optional.some!enumelt: bb11, case #Optional.none!enumelt: bb10 // id: %236
bb10:                                             // Preds: bb9
  br bb13                                         // id: %237
// %238                                           // users: %254, %239
bb11(%238 : @owned $URL):                         // Preds: bb9
  %239 = begin_borrow [lexical] [var_decl] %238 : $URL // users: %253, %251, %240
  debug_value %239 : $URL, let, name "queryURL"   // id: %240
  br bb12                                         // id: %241
bb12:                                             // Preds: bb11
  %242 = strong_copy_unowned_value %3 : $@sil_unowned OAuth1Swift // user: %243
  %243 = upcast %242 : $OAuth1Swift to $OAuthSwift // users: %248, %244
  %244 = begin_borrow %243 : $OAuthSwift          // users: %247, %246, %245
  %245 = class_method %244 : $OAuthSwift, #OAuthSwift.authorizeURLHandler!getter : (OAuthSwift) -> () -> any OAuthSwiftURLHandlerType, $@convention(method) (@guaranteed OAuthSwift) -> @owned any OAuthSwiftURLHandlerType // user: %246
  %246 = apply %245(%244) : $@convention(method) (@guaranteed OAuthSwift) -> @owned any OAuthSwiftURLHandlerType // user: %249
  end_borrow %244 : $OAuthSwift                   // id: %247
  destroy_value %243 : $OAuthSwift                // id: %248
  %249 = open_existential_ref %246 : $any OAuthSwiftURLHandlerType to $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self // users: %252, %251, %251, %250
  %250 = witness_method $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self, #OAuthSwiftURLHandlerType.handle : <Self where Self : OAuthSwiftURLHandlerType> (Self) -> (URL) -> (), %249 : $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self : $@convention(method) <τ_0_0 where τ_0_0 : OAuthSwiftURLHandlerType> (@guaranteed URL, @guaranteed τ_0_0) -> () // type-defs: %249; user: %251
  %251 = apply %250<@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self>(%239, %249) : $@convention(method) <τ_0_0 where τ_0_0 : OAuthSwiftURLHandlerType> (@guaranteed URL, @guaranteed τ_0_0) -> () // type-defs: %249
  destroy_value %249 : $@opened("99EB7E06-CAB8-11EE-9342-0242AC110003", any OAuthSwiftURLHandlerType) Self // id: %252
  end_borrow %239 : $URL                          // id: %253
  destroy_value %238 : $URL                       // id: %254
  br bb18                                         // id: %255
bb13:                                             // Preds: bb10
  %256 = copy_value %4 : $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()> // user: %257
  switch_enum %256 : $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, case #Optional.some!enumelt: bb15, case #Optional.none!enumelt: bb14 // id: %257
bb14:                                             // Preds: bb13
  br bb17                                         // id: %258
// %259                                           // users: %272, %266
bb15(%259 : @owned $@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()): // Preds: bb13
  %260 = metatype $@thin OAuthSwiftError.Type
  %261 = begin_access [read] [unknown] %52 : $*String // users: %263, %262
  %262 = load [copy] %261 : $*String              // user: %264
  end_access %261 : $*String                      // id: %263
  %264 = tuple $(urlString: String) (%262)        // user: %265
  %265 = enum $OAuthSwiftError, #OAuthSwiftError.encodingError!enumelt, %264 : $(urlString: String) // users: %269, %267
  %266 = begin_borrow %259 : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> () // users: %268, %267
  %267 = apply %266(%265) : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()
  end_borrow %266 : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> () // id: %268
  destroy_value %265 : $OAuthSwiftError           // id: %269
  %270 = tuple ()                                 // user: %271
  %271 = enum $Optional<()>, #Optional.some!enumelt, %270 : $() // user: %273
  destroy_value %259 : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> () // id: %272
  br bb16(%271 : $Optional<()>)                   // id: %273
bb16(%274 : $Optional<()>):                       // Preds: bb17 bb15
  br bb18                                         // id: %275
bb17:                                             // Preds: bb14
  %276 = enum $Optional<()>, #Optional.none!enumelt // user: %277
  br bb16(%276 : $Optional<()>)                   // id: %277
bb18:                                             // Preds: bb16 bb12
  end_borrow %51 : ${ var String }                // id: %278
  destroy_value %50 : ${ var String }             // id: %279
  end_borrow %45 : $String                        // id: %280
  destroy_value %44 : $String                     // id: %281
  br bb24                                         // id: %282
bb19:                                             // Preds: bb1
  %283 = copy_value %4 : $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()> // user: %284
  switch_enum %283 : $Optional<@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()>, case #Optional.some!enumelt: bb21, case #Optional.none!enumelt: bb20 // id: %284
bb20:                                             // Preds: bb19
  br bb23                                         // id: %285
// %286                                           // users: %298, %292
bb21(%286 : @owned $@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()): // Preds: bb19
  %287 = metatype $@thin OAuthSwiftError.Type
  %288 = class_method %0 : $OAuthSwiftCredential, #OAuthSwiftCredential.oauthToken!getter : (OAuthSwiftCredential) -> () -> String, $@convention(method) (@guaranteed OAuthSwiftCredential) -> @owned String // user: %289
  %289 = apply %288(%0) : $@convention(method) (@guaranteed OAuthSwiftCredential) -> @owned String // user: %290
  %290 = tuple $(urlString: String) (%289)        // user: %291
  %291 = enum $OAuthSwiftError, #OAuthSwiftError.encodingError!enumelt, %290 : $(urlString: String) // users: %295, %293
  %292 = begin_borrow %286 : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> () // users: %294, %293
  %293 = apply %292(%291) : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> ()
  end_borrow %292 : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> () // id: %294
  destroy_value %291 : $OAuthSwiftError           // id: %295
  %296 = tuple ()                                 // user: %297
  %297 = enum $Optional<()>, #Optional.some!enumelt, %296 : $() // user: %299
  destroy_value %286 : $@callee_guaranteed (@guaranteed OAuthSwiftError) -> () // id: %298
  br bb22(%297 : $Optional<()>)                   // id: %299
bb22(%300 : $Optional<()>):                       // Preds: bb23 bb21
  br bb24                                         // id: %301
bb23:                                             // Preds: bb20
  %302 = enum $Optional<()>, #Optional.none!enumelt // user: %303
  br bb22(%302 : $Optional<()>)                   // id: %303
bb24:                                             // Preds: bb22 bb18
  %304 = tuple ()                                 // user: %305
  return %304 : $()                               // id: %305
} // end sil function '$s10OAuthSwift06OAuth1B0C9authorize15withCallbackURL7success7failureAA0aB13RequestHandle_pSg10Foundation0G0V_yAA0aB10CredentialC_AA0aB8ResponseCSgSDySSypGtcyAA0aB5ErrorOcSgtFyAN_AqRtcfU_'
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Collection+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Data+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Dictionary+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/HMAC.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Int+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NSError+OAuthSwift.swift -primary-file /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/NotificationCenter+OAuthSwift.swift -primary-file /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth1Swift.swift -primary-file /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth2Swift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftClient.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftCredential.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftError.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftHTTPRequest.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftMultipartData.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftResponse.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthSwiftURLHandlerType.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuthWebViewController.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Objc.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/SHA1.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/String+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/UIApplication+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/URL+OAuthSwift.swift /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/Utils.swift -supplementary-output-file-map /tmp/TemporaryDirectory.UddkbU/supplementaryOutputs-2 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name OAuthSwift -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthSwift.build/NotificationCenter+OAuthSwift.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthSwift.build/OAuth1Swift.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthSwift.build/OAuth2Swift.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with effective version 4.1.50
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth1Swift.swift")
4.	While silgen emitFunction SIL function "@$s10OAuthSwift06OAuth1B0C9authorize15withCallbackURL7success7failureAA0aB13RequestHandle_pSg10Foundation0G0V_yAA0aB10CredentialC_AA0aB8ResponseCSgSDySSypGtcyAA0aB5ErrorOcSgtF".
 for 'authorize(withCallbackURL:success:failure:)' (at /host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth1Swift.swift:65:10)
5.	While silgen closureexpr SIL function "@$s10OAuthSwift06OAuth1B0C9authorize15withCallbackURL7success7failureAA0aB13RequestHandle_pSg10Foundation0G0V_yAA0aB10CredentialC_AA0aB8ResponseCSgSDySSypGtcyAA0aB5ErrorOcSgtFyAN_AqRtcfU_".
 for expression at [/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth1Swift.swift:67:71 - line:114:9] RangeText="{ [unowned self] credential, _, _ in
            self.observeCallback { [weak self] url in
                guard let this = self else { OAuthSwift.retainError(failure); return }
                var responseParameters = [String: String]()
                if let query = url.query {
                    responseParameters += query.parametersFromQueryString
                }
                if let fragment = url.fragment, !fragment.isEmpty {
                    responseParameters += fragment.parametersFromQueryString
                }
                if let token = responseParameters["token"] {
                    responseParameters["oauth_token"] = token
                }
                if let token = responseParameters["oauth_token"] {
                    this.client.credential.oauthToken = token.safeStringByRemovingPercentEncoding
                    if let oauth_verifier = responseParameters["oauth_verifier"] {
                        this.client.credential.oauthVerifier = oauth_verifier.safeStringByRemovingPercentEncoding
                    } else {
                        if !this.allowMissingOAuthVerifier {
                            failure?(OAuthSwiftError.configurationError(message: "Missing oauth_verifier. Maybe use allowMissingOAuthVerifier=true"))
                            return
                        }
                    }
                    this.postOAuthAccessTokenWithRequestToken(success: success, failure: failure)
                } else {
                    failure?(OAuthSwiftError.missingToken)
                    return
                }
            }
            // 2. Authorize
            if let token = credential.oauthToken.urlQueryEncoded {
                var urlString = self.authorizeUrl + (self.authorizeUrl.contains("?") ? "&" : "?")
                urlString += "oauth_token=\(token)"
                if self.addCallbackURLToAuthorizeURL {
                    urlString += "&oauth_callback=\(callbackURL.absoluteString)"
                }
                if let queryURL = URL(string: urlString) {
                    self.authorizeURLHandler.handle(queryURL)
                } else {
                    failure?(OAuthSwiftError.encodingError(urlString: urlString))
                }
            } else {
                failure?(OAuthSwiftError.encodingError(urlString: credential.oauthToken)) //TODO specific error
            }
        "
6.	While verifying SIL function "@$s10OAuthSwift06OAuth1B0C9authorize15withCallbackURL7success7failureAA0aB13RequestHandle_pSg10Foundation0G0V_yAA0aB10CredentialC_AA0aB8ResponseCSgSDySSypGtcyAA0aB5ErrorOcSgtFyAN_AqRtcfU_".
 for expression at [/host/spi-builder-workspace/.build/checkouts/OAuthSwift/Sources/OAuth1Swift.swift:67:71 - line:114:9] RangeText="{ [unowned self] credential, _, _ in
            self.observeCallback { [weak self] url in
                guard let this = self else { OAuthSwift.retainError(failure); return }
                var responseParameters = [String: String]()
                if let query = url.query {
                    responseParameters += query.parametersFromQueryString
                }
                if let fragment = url.fragment, !fragment.isEmpty {
                    responseParameters += fragment.parametersFromQueryString
                }
                if let token = responseParameters["token"] {
                    responseParameters["oauth_token"] = token
                }
                if let token = responseParameters["oauth_token"] {
                    this.client.credential.oauthToken = token.safeStringByRemovingPercentEncoding
                    if let oauth_verifier = responseParameters["oauth_verifier"] {
                        this.client.credential.oauthVerifier = oauth_verifier.safeStringByRemovingPercentEncoding
                    } else {
                        if !this.allowMissingOAuthVerifier {
                            failure?(OAuthSwiftError.configurationError(message: "Missing oauth_verifier. Maybe use allowMissingOAuthVerifier=true"))
                            return
                        }
                    }
                    this.postOAuthAccessTokenWithRequestToken(success: success, failure: failure)
                } else {
                    failure?(OAuthSwiftError.missingToken)
                    return
                }
            }
            // 2. Authorize
            if let token = credential.oauthToken.urlQueryEncoded {
                var urlString = self.authorizeUrl + (self.authorizeUrl.contains("?") ? "&" : "?")
                urlString += "oauth_token=\(token)"
                if self.addCallbackURLToAuthorizeURL {
                    urlString += "&oauth_callback=\(callbackURL.absoluteString)"
                }
                if let queryURL = URL(string: urlString) {
                    self.authorizeURLHandler.handle(queryURL)
                } else {
                    failure?(OAuthSwiftError.encodingError(urlString: urlString))
                }
            } else {
                failure?(OAuthSwiftError.encodingError(urlString: credential.oauthToken)) //TODO specific error
            }
        "
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x5597801abd73]
/usr/bin/swift-frontend(+0x7305abe)[0x5597801a9abe]
/usr/bin/swift-frontend(+0x73080ea)[0x5597801ac0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7ff14887a520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7ff1488ce9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7ff14887a476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7ff1488607f3]
/usr/bin/swift-frontend(+0x1fe7ad1)[0x55977ae8bad1]
/usr/bin/swift-frontend(+0x1ffe0a9)[0x55977aea20a9]
/usr/bin/swift-frontend(+0x1fec2f0)[0x55977ae902f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x55977ae8e9c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x55977ae87462]
/usr/bin/swift-frontend(+0x1518ace)[0x55977a3bcace]
/usr/bin/swift-frontend(+0x1517f18)[0x55977a3bbf18]
/usr/bin/swift-frontend(+0x151a55c)[0x55977a3be55c]
/usr/bin/swift-frontend(+0x1586264)[0x55977a42a264]
/usr/bin/swift-frontend(+0x15726fb)[0x55977a4166fb]
/usr/bin/swift-frontend(+0x157b10c)[0x55977a41f10c]
/usr/bin/swift-frontend(+0x1572859)[0x55977a416859]
/usr/bin/swift-frontend(+0x1566c8c)[0x55977a40ac8c]
/usr/bin/swift-frontend(+0x1647e10)[0x55977a4ebe10]
/usr/bin/swift-frontend(+0x1634176)[0x55977a4d8176]
/usr/bin/swift-frontend(+0x1646725)[0x55977a4ea725]
/usr/bin/swift-frontend(+0x165498f)[0x55977a4f898f]
/usr/bin/swift-frontend(+0x1653f4e)[0x55977a4f7f4e]
/usr/bin/swift-frontend(+0x163876c)[0x55977a4dc76c]
/usr/bin/swift-frontend(+0x1635df2)[0x55977a4d9df2]
/usr/bin/swift-frontend(+0x15726c4)[0x55977a4166c4]
/usr/bin/swift-frontend(+0x1567451)[0x55977a40b451]
/usr/bin/swift-frontend(+0x15fe6cb)[0x55977a4a26cb]
/usr/bin/swift-frontend(+0x15fd15d)[0x55977a4a115d]
/usr/bin/swift-frontend(+0x1592d99)[0x55977a436d99]
/usr/bin/swift-frontend(+0x151827d)[0x55977a3bc27d]
/usr/bin/swift-frontend(+0x151931c)[0x55977a3bd31c]
/usr/bin/swift-frontend(+0x15166f4)[0x55977a3ba6f4]
/usr/bin/swift-frontend(+0x1612c92)[0x55977a4b6c92]
/usr/bin/swift-frontend(+0x160eef4)[0x55977a4b2ef4]
/usr/bin/swift-frontend(+0x160ec08)[0x55977a4b2c08]
/usr/bin/swift-frontend(+0x151c5c7)[0x55977a3c05c7]
/usr/bin/swift-frontend(+0x15fca8c)[0x55977a4a0a8c]
/usr/bin/swift-frontend(+0x151f8df)[0x55977a3c38df]
/usr/bin/swift-frontend(+0x151d408)[0x55977a3c1408]
/usr/bin/swift-frontend(+0xe3477b)[0x559779cd877b]
/usr/bin/swift-frontend(+0xe4a7f5)[0x559779cee7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x559779cdc2ad]
/usr/bin/swift-frontend(+0xe369db)[0x559779cda9db]
/usr/bin/swift-frontend(+0xcc3315)[0x559779b67315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7ff148861d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7ff148861e40]
/usr/bin/swift-frontend(+0xcc2375)[0x559779b66375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 1