Build Information
Failed to build TweetupKit with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-tweets/tweetup-kit.git
Reference: 0.2.3
Cloned https://github.com/swift-tweets/tweetup-kit.git into spi-builder-workspace
SUCCESS checkout https://github.com/swift-tweets/tweetup-kit.git at 0.2.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/5099] Fetching oauthswift
Fetched https://github.com/OAuthSwift/OAuthSwift.git (0.48s)
Fetching https://github.com/koher/PromiseK.git
[1/529] Fetching promisek
Fetched https://github.com/koher/PromiseK.git (0.20s)
Computing version for https://github.com/koher/PromiseK.git
Computed https://github.com/koher/PromiseK.git at 3.1.0 (0.27s)
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at master
Creating working copy for https://github.com/koher/PromiseK.git
Working copy of https://github.com/koher/PromiseK.git resolved at 3.1.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/25] Compiling OAuthSwift Collection+OAuthSwift.swift
[2/25] Compiling OAuthSwift Data+OAuthSwift.swift
[3/25] Compiling OAuthSwift Dictionary+OAuthSwift.swift
[4/25] 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 {
^~~~~~~~~~~~~~~~~~~
[5/28] 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 {
^~~~~~~~~~~~~~~~~~~
[6/28] 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 {
^~~~~~~~~~~~~~~~~~~
[7/28] 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 {
^~~~~~~~~~~~~~~~~~~
[8/28] Compiling PromiseK Throws.swift
[9/28] Compiling PromiseK Promise.swift
[10/28] Emitting module PromiseK
[13/30] 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)
^~~~~~~~~~~~~~~~~~
[14/30] 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)
^~~~~~~~~~~~~~~~~~
[15/30] 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)
[16/30] 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())"
^~~~~~~~~~
[17/30] 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())"
^~~~~~~~~~
[18/30] 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/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("883087A8-0905-11EE-A684-0242AC110003", any OAuthSwiftURLHandlerType) Self // users: %252, %251, %251, %250
-> %250 = witness_method $@opened("883087A8-0905-11EE-A684-0242AC110003", any OAuthSwiftURLHandlerType) Self, #OAuthSwiftURLHandlerType.handle : <Self where Self : OAuthSwiftURLHandlerType> (Self) -> (URL) -> (), %249 : $@opened("883087A8-0905-11EE-A684-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("883087A8-0905-11EE-A684-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] %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 [lexical] %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 [lexical] %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 [lexical] %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 [lexical] %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] %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("883087A8-0905-11EE-A684-0242AC110003", any OAuthSwiftURLHandlerType) Self // users: %252, %251, %251, %250
%250 = witness_method $@opened("883087A8-0905-11EE-A684-0242AC110003", any OAuthSwiftURLHandlerType) Self, #OAuthSwiftURLHandlerType.handle : <Self where Self : OAuthSwiftURLHandlerType> (Self) -> (URL) -> (), %249 : $@opened("883087A8-0905-11EE-A684-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("883087A8-0905-11EE-A684-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("883087A8-0905-11EE-A684-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.IaPNPM/supplementaryOutputs-3 -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 -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name OAuthSwift -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.9-dev (LLVM 464b04eb9b157e3, Swift 7203d52cb1e074d)
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[0x6b367f3]
/usr/bin/swift-frontend[0x6b3440e]
/usr/bin/swift-frontend[0x6b36b5f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fbf052e0420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fbf0472700b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fbf04706859]
/usr/bin/swift-frontend[0x1864d7e]
/usr/bin/swift-frontend[0x187b396]
/usr/bin/swift-frontend[0x1869d7b]
/usr/bin/swift-frontend[0x1867e4a]
/usr/bin/swift-frontend[0x186005a]
/usr/bin/swift-frontend[0xd465eb]
/usr/bin/swift-frontend[0xd43f3b]
/usr/bin/swift-frontend[0xd47edc]
/usr/bin/swift-frontend[0xdb5e50]
/usr/bin/swift-frontend[0xda4cde]
/usr/bin/swift-frontend[0xda6808]
/usr/bin/swift-frontend[0xd9906c]
/usr/bin/swift-frontend[0xe6b0c2]
/usr/bin/swift-frontend[0xe55b15]
/usr/bin/swift-frontend[0xe699b2]
/usr/bin/swift-frontend[0xe77179]
/usr/bin/swift-frontend[0xe76725]
/usr/bin/swift-frontend[0xe5aa43]
/usr/bin/swift-frontend[0xe57d96]
/usr/bin/swift-frontend[0xda4cc4]
/usr/bin/swift-frontend[0xd99547]
/usr/bin/swift-frontend[0xe22f1f]
/usr/bin/swift-frontend[0xe2153d]
/usr/bin/swift-frontend[0xdc36ff]
/usr/bin/swift-frontend[0xd458f1]
/usr/bin/swift-frontend[0xd479f0]
/usr/bin/swift-frontend[0xd437c4]
/usr/bin/swift-frontend[0xe35812]
/usr/bin/swift-frontend[0xe314e2]
/usr/bin/swift-frontend[0xe31458]
/usr/bin/swift-frontend[0xd4a896]
/usr/bin/swift-frontend[0xe20e9f]
/usr/bin/swift-frontend[0xd4f14a]
/usr/bin/swift-frontend[0xd4c489]
/usr/bin/swift-frontend[0x66520d]
/usr/bin/swift-frontend[0x67b44e]
/usr/bin/swift-frontend[0x6684a2]
/usr/bin/swift-frontend[0x4c43d1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fbf04708083]
/usr/bin/swift-frontend[0x4c3b1e]
BUILD FAILURE 5.9 linux
Build Machine: Linux 1