The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Frisbee, reference master (880252), with Swift 6.0 for Linux on 31 Oct 2024 00:11:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ronanrodrigo/Frisbee.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ronanrodrigo/Frisbee
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8802523 Update Frisbee.podspec to 0.2.5 [skip ci]
Cloned https://github.com/ronanrodrigo/Frisbee.git
Revision (git rev-parse @):
8802523a47f63201c2e65c6a28a0f2da5aa3f6f5
SUCCESS checkout https://github.com/ronanrodrigo/Frisbee.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ronanrodrigo/Frisbee.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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] Compiling Frisbee BodiableAdapter.swift
[4/33] Compiling Frisbee BodyAdapter.swift
[5/33] Compiling Frisbee Cancellable.swift
[6/33] Compiling Frisbee DecodableAdapter.swift
[7/33] Compiling Frisbee DecoderDataAdapter.swift
[8/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
[9/37] Compiling Frisbee DecodableAdapterFactory.swift
[10/37] Compiling Frisbee EncodableAdapterFactory.swift
[11/37] Compiling Frisbee SerializableAdapterFactory.swift
[12/37] Compiling Frisbee URLQueriableAdapterFactory.swift
[13/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 |         }
[14/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 |         }
[15/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 |         }
[16/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 |         }
[17/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)
[18/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)
[19/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)
[20/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)
[21/37] Compiling Frisbee DecoderJSONAdapter.swift
[22/37] Compiling Frisbee EncodableAdapter.swift
[23/37] Compiling Frisbee EncoderJSONAdapter.swift
[24/37] Compiling Frisbee QueryItemAdapter.swift
[25/37] Compiling Frisbee SerializableAdapter.swift
[26/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)
[27/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)
[28/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)
[29/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)
[30/37] Compiling Frisbee FrisbeeError.swift
[31/37] Compiling Frisbee HTTPMethod.swift
[32/37] Compiling Frisbee Result.swift
[33/37] Compiling Frisbee BodyAdapterFactory.swift
[34/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 | }
[35/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 | }
[36/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 | }
[37/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 | }
BUILD FAILURE 6.0 linux