Build Information
Failed to build Frisbee with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ronanrodrigo/Frisbee.git
Reference: 1.0.0
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
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 32fe11f Merge branch 'master' of github.com:ronanrodrigo/Frisbee
Cloned https://github.com/ronanrodrigo/Frisbee.git
Revision (git rev-parse @):
32fe11fe455760321c1ae41b201b9d4981ab988b
SUCCESS checkout https://github.com/ronanrodrigo/Frisbee.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/ronanrodrigo/Frisbee.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/33] Emitting module Frisbee
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:4:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[4/37] Compiling Frisbee NetworkPut.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
let request = URLRequestFactory.make(.PUT, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
var request = URLRequestFactory.make(.PUT, url)
~^~~
[5/37] Compiling Frisbee OnComplete.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
let request = URLRequestFactory.make(.PUT, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
var request = URLRequestFactory.make(.PUT, url)
~^~~
[6/37] Compiling Frisbee Postable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
let request = URLRequestFactory.make(.PUT, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
var request = URLRequestFactory.make(.PUT, url)
~^~~
[7/37] Compiling Frisbee Putable.swift
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:5:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
let request = URLRequestFactory.make(.PUT, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
var request = URLRequestFactory.make(.PUT, url)
~^~~
[8/37] Compiling Frisbee BodiableAdapter.swift
[9/37] Compiling Frisbee BodyAdapter.swift
[10/37] Compiling Frisbee Cancellable.swift
[11/37] Compiling Frisbee DecodableAdapter.swift
[12/37] Compiling Frisbee DecoderDataAdapter.swift
[13/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
let request = URLRequestFactory.make(.GET, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
let request = URLRequestFactory.make(.POST, url)
~^~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
var request = URLRequestFactory.make(.POST, url)
~^~~~
[14/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
let request = URLRequestFactory.make(.GET, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
let request = URLRequestFactory.make(.POST, url)
~^~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
var request = URLRequestFactory.make(.POST, url)
~^~~~
[15/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
let request = URLRequestFactory.make(.GET, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
let request = URLRequestFactory.make(.POST, url)
~^~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
var request = URLRequestFactory.make(.POST, url)
~^~~~
[16/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
let request = URLRequestFactory.make(.GET, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
let request = URLRequestFactory.make(.POST, url)
~^~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
var request = URLRequestFactory.make(.POST, url)
~^~~~
[17/37] Compiling Frisbee ResultGeneratorFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: request) { data, _, error in
~~~~~~~~~~ ^~~~~~~~
[18/37] Compiling Frisbee URLRequestFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: request) { data, _, error in
~~~~~~~~~~ ^~~~~~~~
[19/37] Compiling Frisbee URLSessionFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: request) { data, _, error in
~~~~~~~~~~ ^~~~~~~~
[20/37] Compiling Frisbee DataTaskRunner.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: request) { data, _, error in
~~~~~~~~~~ ^~~~~~~~
[21/37] Compiling Frisbee DecodableAdapterFactory.swift
[22/37] Compiling Frisbee EncodableAdapterFactory.swift
[23/37] Compiling Frisbee SerializableAdapterFactory.swift
[24/37] Compiling Frisbee URLQueriableAdapterFactory.swift
[25/37] Compiling Frisbee DecoderJSONAdapter.swift
[26/37] Compiling Frisbee EncodableAdapter.swift
[27/37] Compiling Frisbee EncoderJSONAdapter.swift
[28/37] Compiling Frisbee QueryItemAdapter.swift
[29/37] Compiling Frisbee SerializableAdapter.swift
[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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
[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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
[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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
[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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Frisbee URLSessionFactory.swift
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: request) { data, _, error in
~~~~~~~~~~ ^~~~~~~~
[3/16] Compiling Frisbee DataTaskRunner.swift
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:6:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:74: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLSessionFactory.swift:7:94: error: 'nil' requires a contextual type
let session = URLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:7:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = urlSession.dataTask(with: request) { data, _, error in
~~~~~~~~~~ ^~~~~~~~
[4/16] Compiling Frisbee ResultGeneratorFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[5/16] Compiling Frisbee URLRequestFactory.swift
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:6:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[6/18] 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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
let request = URLRequestFactory.make(.PUT, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
var request = URLRequestFactory.make(.PUT, url)
~^~~
[7/18] 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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:33:47: error: cannot infer contextual base in reference to member 'PUT'
let request = URLRequestFactory.make(.PUT, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPut.swift:39:47: error: cannot infer contextual base in reference to member 'PUT'
var request = URLRequestFactory.make(.PUT, url)
~^~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/18] Compiling Frisbee SerializerJSONAdapter.swift
[9/18] Compiling Frisbee URLQueriableAdapter.swift
[10/18] 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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/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.
static func make() -> URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[11/18] 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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
[12/18] 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.
private let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/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.
init(task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Adapters/URLSessionTaskAdapter.swift:11:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
[13/20] Compiling Frisbee ResultGenerator.swift
[14/20] Compiling Frisbee Getable.swift
[15/20] 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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
let request = URLRequestFactory.make(.GET, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
let request = URLRequestFactory.make(.POST, url)
~^~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
var request = URLRequestFactory.make(.POST, url)
~^~~~
[16/20] 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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(queryAdapter: URLQueriableAdapter, urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Factories/URLRequestFactory.swift:5:63: error: cannot find type 'URLRequest' in scope
static func make(_ httpMethod: HTTPMethod, _ url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkGet.swift:46:47: error: cannot infer contextual base in reference to member 'GET'
let request = URLRequestFactory.make(.GET, url)
~^~~
/host/spi-builder-workspace/Sources/Frisbee/Interactors/DataTaskRunner.swift:5:73: error: cannot find type 'URLRequest' in scope
static func run<T: Decodable>(with urlSession: URLSession, request: URLRequest,
^~~~~~~~~~
/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.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
public convenience init(urlSession: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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.
init(urlSession: URLSession, bodyAdapter: BodiableAdapter) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:33:47: error: cannot infer contextual base in reference to member 'POST'
let request = URLRequestFactory.make(.POST, url)
~^~~~
/host/spi-builder-workspace/Sources/Frisbee/Requestables/NetworkPost.swift:39:47: error: cannot infer contextual base in reference to member 'POST'
var request = URLRequestFactory.make(.POST, url)
~^~~~
[17/20] Compiling Frisbee Postable.swift
[18/20] Compiling Frisbee Putable.swift
[19/20] Compiling Frisbee SerializableAdapterFactory.swift
[20/20] Compiling Frisbee URLQueriableAdapterFactory.swift
error: fatalError
BUILD FAILURE 5.10 linux