The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SoracomAPI, reference 1.0.0-beta.2 (7feb24), with Swift 6.3 for Linux on 20 Apr 2026 20:26:09 UTC.

Build Command

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

Build Log

1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[391/434] Compiling SoracomAPI TagUpdateRequest+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[392/434] Compiling SoracomAPI Request+Auth.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[393/434] Compiling SoracomAPI Request+Group.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[394/434] Compiling SoracomAPI Request+Operator.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[395/434] Compiling SoracomAPI Request+Subscriber.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[396/434] Compiling SoracomAPI Request.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[397/434] Compiling SoracomAPI RequestQueue.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[398/434] Compiling SoracomAPI RequestResponseFormatter.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[399/434] Compiling SoracomAPI Response.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[400/434] Compiling SoracomAPI SoracomCredentials.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[401/434] Compiling SoracomAPI Codable+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[402/434] Compiling SoracomAPI Data+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[403/434] Compiling SoracomAPI Keychain.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[404/434] Compiling SoracomAPI Metrics.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[405/434] Compiling SoracomAPI NSDate+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[406/434] Compiling SoracomAPI String+SoracomAPI.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[407/434] Compiling SoracomAPI TextStyle.swift
/host/spi-builder-workspace/Sources/SoracomAPI/Models/TagUpdateRequest+Extras.swift:14:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension Array: ExpressibleByDictionaryLiteral where Element == TagUpdateRequest {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
15 |
16 |     public init(dictionaryLiteral elements: (String, String)...) {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:343:36: error: cannot find type 'URLRequest' in scope
341 |     /// Builds the receiver's underlying NSURLRequest object, which is used when `run()` is invoked. This just builds it and returns the result; it doesn't modify the receiver's `URLRequest` property.
342 |
343 |     open func buildURLRequest() -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
344 |
345 |         let URL = buildURL()
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:508:5: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
506 |     /// Return attractive and understandable end-user-facing textual representations of the API request. Intended for debugging and learning. (And maybe verbose logging?)
507 |
508 |     open var description: String {
    |     `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
509 |         let f = RequestResponseFormatter()
510 |         return f.formatRequest(self)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:348:23: error: module 'Foundation' has no member named 'URLRequest'
346 |
347 |         #if os(Linux)
348 |         var request = Foundation.URLRequest(url: URL)
    |                       `- error: module 'Foundation' has no member named 'URLRequest'
349 |         #else
350 |         let request = NSMutableURLRequest(url: URL)
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:367:27: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
365 |         }
366 |
367 |         return request as URLRequest // as? always succeeds on macOS, but always fails on Linux... ;-/
    |                           `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
368 |     }
369 |
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:435:33: error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
433 |
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
    |                                 `- error: 'URLSessionConfiguration' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
436 |             let session = URLSession(configuration: sessionConfig)
437 |         #else
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:436:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
434 |         #if os(Linux)
435 |             let sessionConfig = URLSessionConfiguration()
436 |             let session = URLSession(configuration: sessionConfig)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
437 |         #else
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:440:58: error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |              `- note: 'URLRequest' declared here
200 |
201 |
    :
438 |             let session = URLSession.shared // ← NSUnimplemented() on Linux aotw 2017-07-12
439 |         #endif
440 |         let task = session.dataTask(with: (urlRequest as URLRequest)) { data, httpResponse, error -> Void in
    |                                                          `- error: type-casting operator expects a type on its right-hand side (got: property 'URLRequest')
441 |
442 |             let httpResponse = httpResponse as? HTTPURLResponse
/host/spi-builder-workspace/Sources/SoracomAPI/RequestResponseFormatter.swift:99:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 97 |         if let underlyingURLResponse = response.underlyingURLResponse {
 98 |
 99 |             let fields = underlyingURLResponse.allHeaderFields
    |                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
100 |
101 |             for (k,v) in fields {
/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.
 10 |     /// The underlying system response object (which exposes some details like HTTP headers, HTTP version, etc). This object should always be present upon success, but may be nil when some kind of error has occurred (or in automated testing scenarios).
 11 |
 12 |     public var underlyingURLResponse: HTTPURLResponse?
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public var statusCode: Int? {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:46:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |
 46 |     public init(request: BaseRequest, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         self.baseRequest = request;
 48 |         self.underlyingURLResponse = underlyingURLResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:86:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     /// The normal way that Response objects are instantiated (by Request). Outside of testing, it would be unusual to need to manually init a Response.
 85 |
 86 |     public init(request: Request<T>, underlyingURLResponse: HTTPURLResponse?, data: Data? = nil, underlyingError: NSError? = nil, internalError: APIError? = nil) {
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |         self.request               = request
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:17:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 15 |
 16 |         get {
 17 |             return underlyingURLResponse?.statusCode
    |                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 18 |         }
 19 |     }
/host/spi-builder-workspace/Sources/SoracomAPI/Response.swift:40:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 38 |
 39 |     public var HTTPStatus: Int? {
 40 |         return underlyingURLResponse?.statusCode
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 41 |     }
 42 |
[408/434] Compiling SoracomAPI DeleteVirtualPrivateGatewayIpAddressMapEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[409/434] Compiling SoracomAPI DeleteVpcPeeringConnection.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[410/434] Compiling SoracomAPI GetVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[411/434] Compiling SoracomAPI ListGatePeers.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[412/434] Compiling SoracomAPI ListVirtualPrivateGatewayIpAddressMapEntries.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[413/434] Compiling SoracomAPI ListVirtualPrivateGateways.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[414/434] Compiling SoracomAPI OpenGate.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[415/434] Compiling SoracomAPI PutVirtualPrivateGatewayIpAddressMapEntry.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[416/434] Compiling SoracomAPI RegisterGatePeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[417/434] Compiling SoracomAPI SetInspectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[418/434] Compiling SoracomAPI SetRedirectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[419/434] Compiling SoracomAPI TerminateVirtualPrivateGateway.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[420/434] Compiling SoracomAPI UnregisterGatePeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[421/434] Compiling SoracomAPI UnsetInspectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[422/434] Compiling SoracomAPI UnsetRedirectionConfiguration.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[423/434] Compiling SoracomAPI UpdateMirroringPeer.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[424/434] Compiling SoracomAPI ResponseDecoder.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[425/434] Compiling SoracomAPI Client.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[426/434] Compiling SoracomAPI Constants.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[427/434] Compiling SoracomAPI Enums.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[428/434] Compiling SoracomAPI HTTPMethod.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[429/434] Compiling SoracomAPI JSONComparison.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
[430/434] Compiling SoracomAPI AuthRequest+Extras.swift
/host/spi-builder-workspace/Sources/SoracomAPI/AutoGeneratedCode/ResponseDecoder.swift:5:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  3 | extension Response {
  4 |
  5 |     open func parse() -> T? {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
  6 |
  7 |         guard HTTPStatus == baseRequest.expectedHTTPStatus else {
/host/spi-builder-workspace/Sources/SoracomAPI/Request.swift:199:26: error: cannot find type 'URLRequest' in scope
197 |     /// This property provides access to the request's underlying NSURLRequest object, which is created when `run()` is invoked. It is normally `nil` until then.
198 |
199 |     open var URLRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
200 |
201 |
BUILD FAILURE 6.3 linux