Build Information
Failed to build SoracomAPI with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[407/434] Compiling SoracomAPI TextStyle.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[408/434] Compiling SoracomAPI DeleteVirtualPrivateGatewayIpAddressMapEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[409/434] Compiling SoracomAPI DeleteVpcPeeringConnection.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[410/434] Compiling SoracomAPI GetVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[411/434] Compiling SoracomAPI ListGatePeers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[412/434] Compiling SoracomAPI ListVirtualPrivateGatewayIpAddressMapEntries.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[413/434] Compiling SoracomAPI ListVirtualPrivateGateways.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[414/434] Compiling SoracomAPI OpenGate.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[415/434] Compiling SoracomAPI PutVirtualPrivateGatewayIpAddressMapEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[416/434] Compiling SoracomAPI RegisterGatePeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[417/434] Compiling SoracomAPI SetInspectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[418/434] Compiling SoracomAPI SetRedirectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[419/434] Compiling SoracomAPI TerminateVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[420/434] Compiling SoracomAPI UnregisterGatePeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[421/434] Compiling SoracomAPI UnsetInspectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[422/434] Compiling SoracomAPI UnsetRedirectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[423/434] Compiling SoracomAPI UpdateMirroringPeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[424/434] Compiling SoracomAPI ResponseDecoder.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[425/434] Compiling SoracomAPI Client.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[426/434] Compiling SoracomAPI Constants.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[427/434] Compiling SoracomAPI Enums.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[428/434] Compiling SoracomAPI HTTPMethod.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[429/434] Compiling SoracomAPI JSONComparison.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[430/434] Compiling SoracomAPI AuthRequest+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/174] Compiling SoracomAPI ExportLatestBilling.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[3/174] Compiling SoracomAPI GetBilling.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[4/174] Compiling SoracomAPI GetBillingHistory.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[5/174] Compiling SoracomAPI GetBillingPerDay.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[6/174] Compiling SoracomAPI GetLatestBilling.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[7/174] Compiling SoracomAPI CreateSandboxCoupon.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[8/174] Compiling SoracomAPI CreateCredential.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[9/174] Compiling SoracomAPI DeleteCredential.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[10/174] Compiling SoracomAPI ListCredentials.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[11/174] Compiling SoracomAPI UpdateCredential.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[12/174] Compiling SoracomAPI DeleteDataEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[13/174] Compiling SoracomAPI GetDataEntries.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[14/174] Compiling SoracomAPI GetDataEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[15/174] Compiling SoracomAPI ListDataSourceResources.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[16/174] Compiling SoracomAPI CreateDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[17/174] Compiling SoracomAPI DeleteDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[18/174] Compiling SoracomAPI DeleteDeviceTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[19/174] Compiling SoracomAPI ExecuteDeviceResource.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[20/174] Compiling SoracomAPI GetDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[21/174] Compiling SoracomAPI ListDevices.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[22/174] Compiling SoracomAPI ObserveDeviceResource.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[23/174] Compiling SoracomAPI ObserveDeviceResources.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[24/174] Compiling SoracomAPI PutDeviceTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[25/174] Compiling SoracomAPI ReadDeviceResource.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[26/197] Compiling SoracomAPI RegisterOrderedSim.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[27/197] Compiling SoracomAPI ActivatePaymentMethod.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[28/197] Compiling SoracomAPI ExportPaymentStatement.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[29/197] Compiling SoracomAPI GetPayerInformation.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[30/197] Compiling SoracomAPI GetPaymentMethod.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[31/197] Compiling SoracomAPI GetPaymentTransaction.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[32/197] Compiling SoracomAPI ListCoupons.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[33/197] Compiling SoracomAPI ListPaymentStatements.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[34/197] Compiling SoracomAPI RegisterCoupon.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[35/197] Compiling SoracomAPI RegisterPayerInformation.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[36/197] Compiling SoracomAPI RegisterWebPayPaymentMethod.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[37/197] Compiling SoracomAPI SearchSubscribers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[38/197] Compiling SoracomAPI AttachRole.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[39/197] Compiling SoracomAPI CreateRole.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[40/197] Compiling SoracomAPI DeleteRole.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[41/197] Compiling SoracomAPI DetachRole.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[42/197] Compiling SoracomAPI GetRole.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[43/197] Compiling SoracomAPI ListRoleAttachedUsers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[44/197] Compiling SoracomAPI ListRoles.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[45/197] Compiling SoracomAPI ListUserRoles.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[46/197] Compiling SoracomAPI UpdateRole.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[47/197] Compiling SoracomAPI CreateShippingAddress.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[48/197] Compiling SoracomAPI DeleteShippingAddress.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[49/220] Compiling SoracomAPI GetShippingAddress.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[50/220] Compiling SoracomAPI ListShippingAddresses.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[51/220] Compiling SoracomAPI UpdateShippingAddress.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[52/220] Compiling SoracomAPI DeleteSigfoxDeviceTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[53/220] Compiling SoracomAPI DisableTerminationOnSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[54/220] Compiling SoracomAPI EnableTerminationOnSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[55/220] Compiling SoracomAPI GetDataFromSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[56/220] Compiling SoracomAPI GetSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[57/220] Compiling SoracomAPI ListSigfoxDevices.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[58/220] Compiling SoracomAPI PutSigfoxDeviceTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[59/220] Compiling SoracomAPI RegisterSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[60/220] Compiling SoracomAPI SendDataToSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[61/220] Compiling SoracomAPI SetSigfoxDeviceGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[62/220] Compiling SoracomAPI TerminateSigfoxDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[63/220] Compiling SoracomAPI UnsetSigfoxDeviceGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[64/220] Compiling SoracomAPI ExportAirStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[65/220] Compiling SoracomAPI ExportBeamStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[66/220] Compiling SoracomAPI GetAirStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[67/220] Compiling SoracomAPI GetBeamStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[68/220] Compiling SoracomAPI InsertAirStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[69/220] Compiling SoracomAPI InsertBeamStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[70/220] Compiling SoracomAPI ActivateSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[71/220] Compiling SoracomAPI CreateSandboxSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/243] Emitting module SoracomAPI
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
[73/243] Compiling SoracomAPI SetLoraDeviceGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[74/243] Compiling SoracomAPI TerminateLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[75/243] Compiling SoracomAPI UnsetLoraDeviceGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[76/243] Compiling SoracomAPI DeleteLoraGatewayTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[77/243] Compiling SoracomAPI DisableTerminationOnLoraGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[78/243] Compiling SoracomAPI EnableTerminationOnLoraGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[79/243] Compiling SoracomAPI GetLoraGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[80/243] Compiling SoracomAPI ListLoraGateways.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[81/243] Compiling SoracomAPI PutLoraGatewayTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[82/243] Compiling SoracomAPI SetLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[83/243] Compiling SoracomAPI TerminateLoraGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[84/243] Compiling SoracomAPI UnsetLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[85/243] Compiling SoracomAPI AddPermissionToLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[86/243] Compiling SoracomAPI CreateLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[87/243] Compiling SoracomAPI DeleteLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[88/243] Compiling SoracomAPI DeleteLoraNetworkSetTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[89/243] Compiling SoracomAPI GetLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[90/243] Compiling SoracomAPI ListGatewaysInLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[91/243] Compiling SoracomAPI ListLoraNetworkSets.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[92/243] Compiling SoracomAPI PutLoraNetworkSetTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[93/243] Compiling SoracomAPI RevokePermissionFromLoraNetworkSet.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[94/243] Compiling SoracomAPI CreateOperator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[95/243] Compiling SoracomAPI DeleteOperatorAuthKey.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[96/243] Compiling SoracomAPI DeleteSandboxOperator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[97/243] Compiling SoracomAPI EnableMFA.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[98/243] Compiling SoracomAPI GenerateAuthToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[99/243] Compiling SoracomAPI GenerateOperatorAuthKey.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[100/243] Compiling SoracomAPI GenerateSupportToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[101/243] Compiling SoracomAPI GetMFAStatus.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[102/243] Compiling SoracomAPI GetOperator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[103/243] Compiling SoracomAPI GetSignupToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[104/243] Compiling SoracomAPI InitializeOperator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[105/243] Compiling SoracomAPI IssueEmailChangeToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[106/243] Compiling SoracomAPI IssueMFARevokingToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[107/243] Compiling SoracomAPI ListOperatorAuthKeys.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[108/243] Compiling SoracomAPI RevokeMFA.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[109/243] Compiling SoracomAPI UpdateOperatorPassword.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[110/243] Compiling SoracomAPI VerifyEmailChangeToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[111/243] Compiling SoracomAPI VerifyMFA.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[112/243] Compiling SoracomAPI VerifyMFARevokingToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[113/243] Compiling SoracomAPI VerifyOperator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[114/243] Compiling SoracomAPI CancelOrder.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[115/243] Compiling SoracomAPI ConfirmOrder.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[116/243] Compiling SoracomAPI CreateQuotation.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[117/243] Compiling SoracomAPI GetOrder.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[118/243] Compiling SoracomAPI ListOrderedSubscribers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[119/243] Compiling SoracomAPI ListOrders.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[120/243] Compiling SoracomAPI ListProducts.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[121/312] Compiling SoracomAPI DeactivateSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[122/312] Compiling SoracomAPI DeleteSubscriberSession.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[123/312] Compiling SoracomAPI DeleteSubscriberTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[124/312] Compiling SoracomAPI DeleteSubscriberTransferToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[125/312] Compiling SoracomAPI DisableTermination.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[126/312] Compiling SoracomAPI EnableTermination.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[127/312] Compiling SoracomAPI GetDataFromSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[128/312] Compiling SoracomAPI GetSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[129/312] Compiling SoracomAPI IssueSubscriberTransferToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[130/312] Compiling SoracomAPI ListSessionEvents.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[131/312] Compiling SoracomAPI ListSubscribers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[132/312] Compiling SoracomAPI PutSubscriberTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[133/312] Compiling SoracomAPI RegisterSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[134/312] Compiling SoracomAPI ReportLocalInfo.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[135/312] Compiling SoracomAPI SendSms.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[136/312] Compiling SoracomAPI SetExpiryTime.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[137/312] Compiling SoracomAPI SetGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[138/312] Compiling SoracomAPI SetImeiLock.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[139/312] Compiling SoracomAPI SetSubscriberToStandby.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[140/312] Compiling SoracomAPI SuspendSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[141/312] Compiling SoracomAPI TerminateSubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[142/312] Compiling SoracomAPI UnsetExpiryTime.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[143/312] Compiling SoracomAPI UnsetGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[144/312] Compiling SoracomAPI UnsetImeiLock.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[145/312] Compiling SoracomAPI UpdateSpeedClass.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[146/312] Compiling SoracomAPI VerifySubscriberTransferToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[147/312] Compiling SoracomAPI CreateUser.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[148/312] Compiling SoracomAPI CreateUserPassword.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[149/312] Compiling SoracomAPI DeleteUser.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[150/312] Compiling SoracomAPI DeleteUserAuthKey.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[151/312] Compiling SoracomAPI DeleteUserPassword.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[152/312] Compiling SoracomAPI GenerateUserAuthKey.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[153/312] Compiling SoracomAPI GetUser.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[154/312] Compiling SoracomAPI GetUserAuthKey.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[155/312] Compiling SoracomAPI GetUserPermission.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[156/312] Compiling SoracomAPI HasUserPassword.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[157/312] Compiling SoracomAPI ListUserAuthKeys.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[158/312] Compiling SoracomAPI ListUsers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[159/312] Compiling SoracomAPI UpdateUser.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[160/312] Compiling SoracomAPI UpdateUserPassword.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[161/312] Compiling SoracomAPI UpdateUserPermission.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[162/312] Compiling SoracomAPI CloseGate.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[163/312] Compiling SoracomAPI CreateMirroringPeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[164/312] Compiling SoracomAPI CreateVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[165/312] Compiling SoracomAPI CreateVpcPeeringConnection.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[166/312] Compiling SoracomAPI DeleteMirroringPeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[167/312] Compiling SoracomAPI APIError.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[168/312] Compiling SoracomAPI APIOperation.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[169/312] Compiling SoracomAPI API.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[170/312] Compiling SoracomAPI AnyCodable.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[171/312] Compiling SoracomAPI Coding.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[172/312] Compiling SoracomAPI APICallError.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[173/312] Compiling SoracomAPI APICallErrorMessage.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[174/312] Compiling SoracomAPI APIKeyResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[175/312] Compiling SoracomAPI ActionConfig.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[176/312] Compiling SoracomAPI ActionConfigProperty.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[177/312] Compiling SoracomAPI AirStatsResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[178/312] Compiling SoracomAPI AttachRoleRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[179/312] Compiling SoracomAPI AttributeUpdate.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[180/312] Compiling SoracomAPI AuthKeyResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[181/312] Compiling SoracomAPI AuthRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[182/312] Compiling SoracomAPI AuthResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[183/312] Compiling SoracomAPI BeamCounts.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[184/312] Compiling SoracomAPI BeamStatsResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[185/312] Compiling SoracomAPI Config.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[186/312] Compiling SoracomAPI CouponResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[187/312] Compiling SoracomAPI CreateAndUpdateCredentialsModel.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[188/312] Compiling SoracomAPI CreateCouponRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[189/312] Compiling SoracomAPI CreateCouponResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[190/312] Compiling SoracomAPI CreateEstimatedOrderRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[191/312] Compiling SoracomAPI ReadDeviceResources.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[192/312] Compiling SoracomAPI SetDeviceGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[193/312] Compiling SoracomAPI UnobserveDeviceResource.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[194/312] Compiling SoracomAPI UnobserveDeviceResources.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[195/312] Compiling SoracomAPI UnsetDeviceGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[196/312] Compiling SoracomAPI WriteDeviceResource.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[197/312] Compiling SoracomAPI CreateDeviceObjectModel.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[198/312] Compiling SoracomAPI DeleteDeviceObjectModel.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[199/312] Compiling SoracomAPI GetDeviceObjectModel.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[200/312] Compiling SoracomAPI ListDeviceObjectModels.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[201/312] Compiling SoracomAPI SetDeviceObjectModelScope.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[202/312] Compiling SoracomAPI UpdateDeviceObjectModel.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[203/312] Compiling SoracomAPI CreateEventHandler.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[204/312] Compiling SoracomAPI DeleteEventHandler.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[205/312] Compiling SoracomAPI DeleteIgnoreEventHandler.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[206/312] Compiling SoracomAPI GetEventHandler.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[207/312] Compiling SoracomAPI ListEventHandlers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[208/312] Compiling SoracomAPI ListEventHandlersBySubscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[209/312] Compiling SoracomAPI SetIgnoreEventHandler.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[210/312] Compiling SoracomAPI UpdateEventHandler.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[211/312] Compiling SoracomAPI GetExportedFile.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[212/312] Compiling SoracomAPI CreateGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[213/312] Compiling SoracomAPI DeleteConfigurationParameter.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[214/312] Compiling SoracomAPI DeleteGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[215/312] Compiling SoracomAPI DeleteGroupTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[216/312] Compiling SoracomAPI GetGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[217/312] Compiling SoracomAPI ListGroups.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[218/312] Compiling SoracomAPI ListSubscribersInGroup.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[219/312] Compiling SoracomAPI PutConfigurationParameters.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[220/312] Compiling SoracomAPI PutGroupTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[221/312] Compiling SoracomAPI CreateLagoonUser.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[222/312] Compiling SoracomAPI DeleteLagoonUser.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[223/312] Compiling SoracomAPI ListLagoonUsers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[224/312] Compiling SoracomAPI RegisterLagoon.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[225/312] Compiling SoracomAPI TerminateLagoon.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[226/312] Compiling SoracomAPI UpdateLagoonUserEmail.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[227/312] Compiling SoracomAPI UpdateLagoonUserPassword.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[228/312] Compiling SoracomAPI UpdateLagoonUserPermission.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[229/312] Compiling SoracomAPI GetLogs.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[230/312] Compiling SoracomAPI DeleteLoraDeviceTag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[231/312] Compiling SoracomAPI DisableTerminationOnLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[232/312] Compiling SoracomAPI EnableTerminationOnLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[233/312] Compiling SoracomAPI GetDataFromLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[234/312] Compiling SoracomAPI GetLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[235/312] Compiling SoracomAPI ListLoraDevices.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[236/312] Compiling SoracomAPI PutLoraDeviceTags.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[237/312] Compiling SoracomAPI RegisterLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[238/312] Compiling SoracomAPI SendDataToLoraDevice.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[239/312] Compiling SoracomAPI SmsForwardingReport.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[240/312] Compiling SoracomAPI SmsForwardingRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[241/312] Compiling SoracomAPI SoracomBeamStats.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[242/312] Compiling SoracomAPI Subscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[243/312] Compiling SoracomAPI SupportTokenResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[244/312] Compiling SoracomAPI Tag.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[245/312] Compiling SoracomAPI TagUpdateRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[246/312] Compiling SoracomAPI UpdateEventHandlerRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[247/312] Compiling SoracomAPI UpdatePasswordRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[248/312] Compiling SoracomAPI UpdatePermissionRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[249/312] Compiling SoracomAPI UpdateSpeedClassRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[250/312] Compiling SoracomAPI UpdateUserRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[251/312] Compiling SoracomAPI UserDetailResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[252/312] Compiling SoracomAPI VerifyEmailChangeTokenRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[253/312] Compiling SoracomAPI VerifyOperatorsRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[254/312] Compiling SoracomAPI VerifyPasswordResetTokenRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[255/312] Compiling SoracomAPI VerifySubscriberTransferTokenRequest.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[256/312] Compiling SoracomAPI VerifySubscriberTransferTokenResponse.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[257/312] Compiling SoracomAPI VirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[258/312] Compiling SoracomAPI VpcPeeringConnection.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[259/312] Compiling SoracomAPI Auth.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[260/312] Compiling SoracomAPI IssuePasswordResetToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[261/312] Compiling SoracomAPI VerifyPasswordResetToken.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[262/312] Compiling SoracomAPI ExportBilling.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[263/312] Compiling SoracomAPI DeleteVirtualPrivateGatewayIpAddressMapEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[264/312] Compiling SoracomAPI DeleteVpcPeeringConnection.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[265/312] Compiling SoracomAPI GetVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[266/312] Compiling SoracomAPI ListGatePeers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[267/312] Compiling SoracomAPI ListVirtualPrivateGatewayIpAddressMapEntries.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[268/312] Compiling SoracomAPI ListVirtualPrivateGateways.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[269/312] Compiling SoracomAPI OpenGate.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[270/312] Compiling SoracomAPI PutVirtualPrivateGatewayIpAddressMapEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[271/312] Compiling SoracomAPI RegisterGatePeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[272/312] Compiling SoracomAPI SetInspectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[273/312] Compiling SoracomAPI SetRedirectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[274/312] Compiling SoracomAPI TerminateVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[275/312] Compiling SoracomAPI UnregisterGatePeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[276/312] Compiling SoracomAPI UnsetInspectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[277/312] Compiling SoracomAPI UnsetRedirectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[278/312] Compiling SoracomAPI UpdateMirroringPeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[279/312] Compiling SoracomAPI ResponseDecoder.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[280/312] Compiling SoracomAPI Client.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[281/312] Compiling SoracomAPI Constants.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[282/312] Compiling SoracomAPI Enums.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[283/312] Compiling SoracomAPI HTTPMethod.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[284/312] Compiling SoracomAPI JSONComparison.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[285/312] Compiling SoracomAPI AuthRequest+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func parse() -> T? {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
[286/312] Compiling SoracomAPI BeamCounts+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[287/312] Compiling SoracomAPI CredentialsModel+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[288/312] Compiling SoracomAPI CreditCard+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[289/312] Compiling SoracomAPI NoResponseBody.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[290/312] Compiling SoracomAPI Subscriber+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[291/312] Compiling SoracomAPI Tag+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[292/312] Compiling SoracomAPI TagUpdateRequest+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[293/312] Compiling SoracomAPI Request+Auth.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[294/312] Compiling SoracomAPI Request+Group.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[295/312] Compiling SoracomAPI Request+Operator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[296/312] Compiling SoracomAPI Request+Subscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[297/312] Compiling SoracomAPI Request.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[298/312] Compiling SoracomAPI RequestQueue.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[299/312] Compiling SoracomAPI RequestResponseFormatter.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[300/312] Compiling SoracomAPI Response.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[301/312] Compiling SoracomAPI SoracomCredentials.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[302/312] Compiling SoracomAPI Codable+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[303/312] Compiling SoracomAPI Data+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[304/312] Compiling SoracomAPI Keychain.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[305/312] Compiling SoracomAPI Metrics.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[306/312] Compiling SoracomAPI NSDate+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[307/312] Compiling SoracomAPI String+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[308/312] Compiling SoracomAPI TextStyle.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
open var URLRequest: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
open func buildURLRequest() -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
open var description: String {
^~~~
public
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
var request = Foundation.URLRequest(url: URL)
^~~~~~~~~~ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let sessionConfig = URLSessionConfiguration()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: sessionConfig)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: cannot find type 'URLRequest' in scope
let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:447:99: error: cannot convert value of type '_' to expected argument type 'Data?'
let response = Response(request: self, underlyingURLResponse: httpResponse, data: data, underlyingError: nil)
^
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
let fields = underlyingURLResponse.allHeaderFields
~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:12:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var underlyingURLResponse: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return underlyingURLResponse?.statusCode
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 2