Build Information
Failed to build Hover with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:511:52: error: cannot find type 'URLRequest' in scope
func constructURL(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:526:57: error: cannot find type 'URLRequest' in scope
func prepareGetRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:550:61: error: cannot find type 'URLRequest' in scope
func prepareGeneralRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:572:60: error: cannot find type 'URLRequest' in scope
func prepareDeleteRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:21:46: error: cannot find type 'URLRequest' in scope
public var printDebugDescriptionIfNeeded: (URLRequest, Error?) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:132:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:131:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:133:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:178:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:177:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:179:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:227:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:272:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:313:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
let task = urlSession.uploadTask(with: urlRequest, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:347:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
let task = urlSession.downloadTask(with: urlRequest) { _, response, error in
~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:386:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:420:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:452:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
.upload(
^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:484:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
.download(
^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:533:29: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:537:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:544:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:552:19: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:576:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:584:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:589:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:594:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[6/17] Compiling Hover HoverEnvironment.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:14:47: error: cannot find type 'URLRequest' in scope
printDebugDescriptionIfNeeded: @escaping (URLRequest, Error?) -> Void = HoverDebugger.printDebugDescriptionIfNeeded(from:error:))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:82:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:78:26: error: cannot find type 'Scheduler' in scope
public func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:224:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:269:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:309:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:310:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:343:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:344:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:381:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:415:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:416:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:447:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:448:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:479:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:511:52: error: cannot find type 'URLRequest' in scope
func constructURL(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:526:57: error: cannot find type 'URLRequest' in scope
func prepareGetRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:550:61: error: cannot find type 'URLRequest' in scope
func prepareGeneralRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:572:60: error: cannot find type 'URLRequest' in scope
func prepareDeleteRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:21:46: error: cannot find type 'URLRequest' in scope
public var printDebugDescriptionIfNeeded: (URLRequest, Error?) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:132:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:131:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:133:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:178:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:177:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:179:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:227:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:272:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:313:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
let task = urlSession.uploadTask(with: urlRequest, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:347:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
let task = urlSession.downloadTask(with: urlRequest) { _, response, error in
~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:386:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:420:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:452:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
.upload(
^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:484:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
.download(
^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:533:29: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:537:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:544:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:552:19: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:576:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:584:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:589:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:594:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[7/17] Compiling Hover HoverProtocol.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:27:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:42:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:57:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:72:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:88:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:92:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:102:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:104:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:115:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:117:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:118:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:128:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:129:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:130:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:136:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:145:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:148:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:153:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Extensions/HttpUrlResponse+IsSuccesful.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
[8/17] Compiling Hover HttpUrlResponse+IsSuccesful.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:27:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:42:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:57:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:72:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:88:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:92:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:102:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:104:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:115:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:117:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:118:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:128:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:129:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:130:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:136:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:145:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:148:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:153:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Extensions/HttpUrlResponse+IsSuccesful.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
[9/18] Compiling Hover NetworkTarget.swift
[10/18] Compiling Hover ProviderError.swift
[11/18] Compiling Hover WorkType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/18] Compiling Hover ContentType.swift
[13/18] Compiling Hover MethodType.swift
[14/18] Emitting module Hover
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:14:47: error: cannot find type 'URLRequest' in scope
printDebugDescriptionIfNeeded: @escaping (URLRequest, Error?) -> Void = HoverDebugger.printDebugDescriptionIfNeeded(from:error:))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:82:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:78:26: error: cannot find type 'Scheduler' in scope
public func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:224:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:269:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:309:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:310:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:343:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:344:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:381:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:415:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:416:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:447:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:448:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:479:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:511:52: error: cannot find type 'URLRequest' in scope
func constructURL(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:526:57: error: cannot find type 'URLRequest' in scope
func prepareGetRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:550:61: error: cannot find type 'URLRequest' in scope
func prepareGeneralRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:572:60: error: cannot find type 'URLRequest' in scope
func prepareDeleteRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:21:46: error: cannot find type 'URLRequest' in scope
public var printDebugDescriptionIfNeeded: (URLRequest, Error?) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:27:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:42:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:57:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:72:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:88:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:92:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:102:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:104:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:115:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:117:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:118:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:128:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:129:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:130:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:136:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:145:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:148:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:153:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Extensions/HttpUrlResponse+IsSuccesful.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Extensions/URLRequest+prepareRequest.swift:11:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Helpers/HoverDebugger.swift:13:69: error: cannot find type 'URLRequest' in scope
public static func printDebugDescriptionIfNeeded(from urlRequest: URLRequest, error: Error?) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Response.swift:12:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlResponse: HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
[15/18] Compiling Hover HoverDebugger.swift
/host/spi-builder-workspace/Sources/Hover/Helpers/HoverDebugger.swift:13:69: error: cannot find type 'URLRequest' in scope
public static func printDebugDescriptionIfNeeded(from urlRequest: URLRequest, error: Error?) {
^~~~~~~~~~
[16/18] Compiling Hover Preferrence.swift
/host/spi-builder-workspace/Sources/Hover/Helpers/HoverDebugger.swift:13:69: error: cannot find type 'URLRequest' in scope
public static func printDebugDescriptionIfNeeded(from urlRequest: URLRequest, error: Error?) {
^~~~~~~~~~
[17/18] Compiling Hover Response.swift
/host/spi-builder-workspace/Sources/Hover/Response.swift:12:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlResponse: HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Response.swift:15:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
var statusCode: Int { urlResponse.statusCode }
~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Response.swift:16:64: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
var localizedStatusCodeDescription: String { HTTPURLResponse.localizedString(forStatusCode: statusCode) }
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[18/18] Compiling Hover AuthProviderType.swift
/host/spi-builder-workspace/Sources/Hover/Response.swift:12:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlResponse: HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Response.swift:15:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
var statusCode: Int { urlResponse.statusCode }
~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Response.swift:16:64: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
var localizedStatusCodeDescription: String { HTTPURLResponse.localizedString(forStatusCode: statusCode) }
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
error: fatalError
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Hover/Info.plist': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Hover Response.swift
/host/spi-builder-workspace/Sources/Hover/Response.swift:12:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlResponse: HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Response.swift:15:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
var statusCode: Int { urlResponse.statusCode }
~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Response.swift:16:64: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
var localizedStatusCodeDescription: String { HTTPURLResponse.localizedString(forStatusCode: statusCode) }
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[3/12] Compiling Hover Preferrence.swift
[4/12] Compiling Hover HoverDebugger.swift
/host/spi-builder-workspace/Sources/Hover/Helpers/HoverDebugger.swift:13:69: error: cannot find type 'URLRequest' in scope
public static func printDebugDescriptionIfNeeded(from urlRequest: URLRequest, error: Error?) {
^~~~~~~~~~
[5/12] Compiling Hover URL+GenerateURLQuery.swift
[6/12] Compiling Hover URLRequest+prepareRequest.swift
/host/spi-builder-workspace/Sources/Hover/Extensions/URLRequest+prepareRequest.swift:11:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
^~~~~~~~~~
[7/13] Compiling Hover AuthProviderType.swift
[8/13] Compiling Hover NetworkTarget.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Emitting module Hover
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:14:47: error: cannot find type 'URLRequest' in scope
printDebugDescriptionIfNeeded: @escaping (URLRequest, Error?) -> Void = HoverDebugger.printDebugDescriptionIfNeeded(from:error:))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:82:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:78:26: error: cannot find type 'Scheduler' in scope
public func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:224:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:269:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:309:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:310:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:343:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:344:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:381:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:415:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:416:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:447:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:448:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:479:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:511:52: error: cannot find type 'URLRequest' in scope
func constructURL(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:526:57: error: cannot find type 'URLRequest' in scope
func prepareGetRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:550:61: error: cannot find type 'URLRequest' in scope
func prepareGeneralRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:572:60: error: cannot find type 'URLRequest' in scope
func prepareDeleteRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:21:46: error: cannot find type 'URLRequest' in scope
public var printDebugDescriptionIfNeeded: (URLRequest, Error?) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:27:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:42:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:57:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:72:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:88:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:92:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:102:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:104:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:115:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:117:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:118:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:128:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:129:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:130:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:136:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:145:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:148:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:153:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Extensions/HttpUrlResponse+IsSuccesful.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Extensions/URLRequest+prepareRequest.swift:11:20: error: cannot find type 'URLRequest' in scope
internal extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Helpers/HoverDebugger.swift:13:69: error: cannot find type 'URLRequest' in scope
public static func printDebugDescriptionIfNeeded(from urlRequest: URLRequest, error: Error?) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Response.swift:12:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlResponse: HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
[10/13] Compiling Hover Hover.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:14:47: error: cannot find type 'URLRequest' in scope
printDebugDescriptionIfNeeded: @escaping (URLRequest, Error?) -> Void = HoverDebugger.printDebugDescriptionIfNeeded(from:error:))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:82:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:78:26: error: cannot find type 'Scheduler' in scope
public func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:224:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:269:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:309:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:310:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:343:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:344:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:381:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:415:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:416:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:447:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:448:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:479:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:511:52: error: cannot find type 'URLRequest' in scope
func constructURL(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:526:57: error: cannot find type 'URLRequest' in scope
func prepareGetRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:550:61: error: cannot find type 'URLRequest' in scope
func prepareGeneralRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:572:60: error: cannot find type 'URLRequest' in scope
func prepareDeleteRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:21:46: error: cannot find type 'URLRequest' in scope
public var printDebugDescriptionIfNeeded: (URLRequest, Error?) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:132:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:131:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:133:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:178:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:177:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:179:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:227:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:272:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:313:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
let task = urlSession.uploadTask(with: urlRequest, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:347:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
let task = urlSession.downloadTask(with: urlRequest) { _, response, error in
~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:386:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:420:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:452:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
.upload(
^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:484:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
.download(
^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:533:29: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:537:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:544:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:552:19: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:576:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:584:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:589:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:594:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[11/13] Compiling Hover HoverEnvironment.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:14:47: error: cannot find type 'URLRequest' in scope
printDebugDescriptionIfNeeded: @escaping (URLRequest, Error?) -> Void = HoverDebugger.printDebugDescriptionIfNeeded(from:error:))
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:40:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:36:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:82:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:78:26: error: cannot find type 'Scheduler' in scope
public func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:81:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:128:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:124:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:174:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError {
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:171:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:224:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:220:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:269:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:267:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:309:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:310:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:307:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = URLSession.shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:343:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:344:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:342:41: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = URLSession.shared,
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:381:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:378:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:415:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:416:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:413:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:447:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:448:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:445:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:479:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession = .shared,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:478:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
urlSession: URLSession = .shared,
~^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:511:52: error: cannot find type 'URLRequest' in scope
func constructURL(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:526:57: error: cannot find type 'URLRequest' in scope
func prepareGetRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:550:61: error: cannot find type 'URLRequest' in scope
func prepareGeneralRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:572:60: error: cannot find type 'URLRequest' in scope
func prepareDeleteRequest(with target: NetworkTarget) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverEnvironment.swift:21:46: error: cannot find type 'URLRequest' in scope
public var printDebugDescriptionIfNeeded: (URLRequest, Error?) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:132:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:131:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:133:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:178:39: error: 'DataTaskPublisher' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
.tryCatch { error -> URLSession.DataTaskPublisher in
~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:177:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
let publisher = urlSession.dataTaskPublisher(for: urlRequest)
~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:179:50: error: cannot infer contextual base in reference to member 'constrained'
guard error.networkUnavailableReason == .constrained else {
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:227:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:272:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: urlRequest) { data, response, error in
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:313:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
let task = urlSession.uploadTask(with: urlRequest, from: data) { data, response, error in
~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:347:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
let task = urlSession.downloadTask(with: urlRequest) { _, response, error in
~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:386:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:420:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
.data(
^~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:452:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
.upload(
^~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:484:10: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
.download(
^~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:533:29: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:537:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:544:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:552:19: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:576:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:584:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:589:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/Hover.swift:594:21: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[12/13] Compiling Hover HoverProtocol.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:27:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:42:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:57:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:72:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:88:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:92:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:102:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:104:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:115:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:117:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:118:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:128:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:129:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:130:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:136:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:145:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:148:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:153:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Extensions/HttpUrlResponse+IsSuccesful.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
[13/13] Compiling Hover HttpUrlResponse+IsSuccesful.swift
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:31:62: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where D: Decodable, T: Scheduler
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:27:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:43:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError>
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:39:19: error: cannot find type 'Scheduler' in scope
func request<T: Scheduler>(
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:42:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:48: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:63: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:90: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:61:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<D, ProviderError> where S: Subscriber, T: Scheduler, D: Decodable, S.Input == D, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:57:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:8: error: cannot find type 'AnyPublisher' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:55: error: cannot find type 'Scheduler' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:69: error: cannot find type 'Subscriber' in scope
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:83: error: 'Input' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:75:104: error: 'Failure' is not a member type of type 'S'
) -> AnyPublisher<Response, ProviderError> where T: Scheduler, S: Subscriber, S.Input == Response, S.Failure == ProviderError
~ ^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:72:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:88:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:92:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:102:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:104:8: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:115:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:117:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<(HTTPURLResponse, Data?), ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:118:8: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionUploadTask
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:128:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:129:31: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
result: @escaping (Result<HTTPURLResponse, ProviderError>) -> Void
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:130:8: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) -> URLSessionDownloadTask
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:139:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:136:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:147:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:145:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:148:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
) async throws -> HTTPURLResponse
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:154:15: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Hover/Base/HoverProtocol.swift:153:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
urlSession: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Hover/Extensions/HttpUrlResponse+IsSuccesful.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux