Build Information
Failed to build Frisbee, reference master (880252
), with Swift 6.1 for Linux on 25 Apr 2025 09:51:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
"Requestables/Postable.swift",
"Requestables/Putable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/33] Emitting module Frisbee
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[4/37] Compiling Frisbee NetworkPut.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[5/37] Compiling Frisbee OnComplete.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[6/37] Compiling Frisbee Postable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[7/37] Compiling Frisbee Putable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[8/37] Compiling Frisbee DecoderJSONAdapter.swift
[9/37] Compiling Frisbee EncodableAdapter.swift
[10/37] Compiling Frisbee EncoderJSONAdapter.swift
[11/37] Compiling Frisbee QueryItemAdapter.swift
[12/37] Compiling Frisbee SerializableAdapter.swift
[13/37] Compiling Frisbee FrisbeeError.swift
[14/37] Compiling Frisbee HTTPMethod.swift
[15/37] Compiling Frisbee Result.swift
[16/37] Compiling Frisbee BodyAdapterFactory.swift
[17/37] Compiling Frisbee BodiableAdapter.swift
[18/37] Compiling Frisbee BodyAdapter.swift
[19/37] Compiling Frisbee Cancellable.swift
[20/37] Compiling Frisbee DecodableAdapter.swift
[21/37] Compiling Frisbee DecoderDataAdapter.swift
[22/37] Compiling Frisbee ResultGenerator.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[23/37] Compiling Frisbee Getable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[24/37] Compiling Frisbee NetworkGet.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[25/37] Compiling Frisbee NetworkPost.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[26/37] Compiling Frisbee SerializerJSONAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[27/37] Compiling Frisbee URLQueriableAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[28/37] Compiling Frisbee URLQueryAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[29/37] Compiling Frisbee URLSessionTaskAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[30/37] Compiling Frisbee ResultGeneratorFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[31/37] Compiling Frisbee URLRequestFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[32/37] Compiling Frisbee URLSessionFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[33/37] Compiling Frisbee DataTaskRunner.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[34/37] Compiling Frisbee DecodableAdapterFactory.swift
[35/37] Compiling Frisbee EncodableAdapterFactory.swift
[36/37] Compiling Frisbee SerializableAdapterFactory.swift
[37/37] Compiling Frisbee URLQueriableAdapterFactory.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module Frisbee
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[3/36] Compiling Frisbee ResultGeneratorFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[4/36] Compiling Frisbee URLRequestFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[5/36] Compiling Frisbee URLSessionFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[6/36] Compiling Frisbee DataTaskRunner.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
6 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
7 | request.httpMethod = httpMethod.rawValue
8 | request.setValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:5:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class URLSessionFactory {
4 |
5 | static func make() -> URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
4 |
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
8 |
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
5 | static func make() -> URLSession {
6 | let configuration = URLSessionConfiguration.default
7 | let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
| `- error: 'nil' requires a contextual type
8 |
9 | return session
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:52: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
8 | onComplete(ResultGeneratorFactory.make().generate(data: data, error: error))
9 | }
[7/36] Compiling Frisbee ResultGenerator.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[8/36] Compiling Frisbee Getable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[9/36] Compiling Frisbee NetworkGet.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[10/36] Compiling Frisbee NetworkPost.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:8:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | public final class NetworkGet: Getable {
7 |
8 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | private let queryAdapter: URLQueriableAdapter
10 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:15:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
15 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | self.init(queryAdapter: URLQueriableAdapterFactory.make(), urlSession: urlSession)
17 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:19:57: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | }
18 |
19 | init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | self.queryAdapter = queryAdapter
21 | self.urlSession = urlSession
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
44 |
45 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping (Result<T>) -> Void) -> Cancellable {
46 | let request = URLRequestFactory.make(.GET, url)
| `- error: cannot infer contextual base in reference to member 'GET'
47 |
48 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPost: Postable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.POST, url)
| `- error: cannot infer contextual base in reference to member 'POST'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[11/36] Compiling Frisbee NetworkPut.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[12/36] Compiling Frisbee OnComplete.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[13/36] Compiling Frisbee Postable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[14/36] Compiling Frisbee Putable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | public final class NetworkPut: Putable {
4 |
5 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | private let bodyAdapter: BodiableAdapter
7 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:12:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
12 | public convenience init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | self.init(urlSession: urlSession, bodyAdapter: BodyAdapterFactory.make())
14 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:16:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | }
15 |
16 | init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | self.urlSession = urlSession
18 | self.bodyAdapter = bodyAdapter
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
3 | final class URLRequestFactory {
4 |
5 | static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
6 | var request = URLRequest(url: url)
7 | request.httpMethod = httpMethod.rawValue
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
31 |
32 | private func makeRequest<T: Decodable>(url: URL, onComplete: @escaping OnComplete<T>) -> Cancellable {
33 | let request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
34 | return DataTaskRunner.run(with: urlSession, request: request, onComplete: onComplete)
35 | }
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
3 | final class DataTaskRunner {
4 |
5 | static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
6 | onComplete: @escaping OnComplete<T>) -> Cancellable {
7 | let task = urlSession.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
37 | private func makeRequest<T: Decodable, U: Encodable>(url: URL, body: U,
38 | onComplete: @escaping OnComplete<T>) -> Cancellable {
39 | var request = URLRequestFactory.make(.PUT, url)
| `- error: cannot infer contextual base in reference to member 'PUT'
40 | do {
41 | let bodyObject = try bodyAdapter.build(withBody: body)
[15/36] Compiling Frisbee DecodableAdapterFactory.swift
[16/36] Compiling Frisbee EncodableAdapterFactory.swift
[17/36] Compiling Frisbee SerializableAdapterFactory.swift
[18/36] Compiling Frisbee URLQueriableAdapterFactory.swift
[19/36] Compiling Frisbee FrisbeeError.swift
[20/36] Compiling Frisbee HTTPMethod.swift
[21/36] Compiling Frisbee Result.swift
[22/36] Compiling Frisbee BodyAdapterFactory.swift
[23/36] Compiling Frisbee SerializerJSONAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[24/36] Compiling Frisbee URLQueriableAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[25/36] Compiling Frisbee URLQueryAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[26/36] Compiling Frisbee URLSessionTaskAdapter.swift
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | final class URLSessionTaskAdapter: Cancellable {
4 | private let task: URLSessionTask
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 |
6 | init(task: URLSessionTask) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:6:16: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | private let task: URLSessionTask
5 |
6 | init(task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | self.task = task
8 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
9 |
10 | func cancel() {
11 | task.cancel()
| `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
12 | }
13 | }
[27/36] Compiling Frisbee BodiableAdapter.swift
[28/36] Compiling Frisbee BodyAdapter.swift
[29/36] Compiling Frisbee Cancellable.swift
[30/36] Compiling Frisbee DecodableAdapter.swift
[31/36] Compiling Frisbee DecoderDataAdapter.swift
[32/36] Compiling Frisbee DecoderJSONAdapter.swift
[33/36] Compiling Frisbee EncodableAdapter.swift
[34/36] Compiling Frisbee EncoderJSONAdapter.swift
[35/36] Compiling Frisbee QueryItemAdapter.swift
[36/36] Compiling Frisbee SerializableAdapter.swift
BUILD FAILURE 6.1 linux