Build Information
Failed to build Frisbee with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ronanrodrigo/Frisbee.git
Reference: master
Cloned https://github.com/ronanrodrigo/Frisbee.git into spi-builder-workspace
SUCCESS checkout https://github.com/ronanrodrigo/Frisbee.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/31] 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
^
[2/35] 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)
~^~~~
[3/35] 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)
~^~~~
[4/35] 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)
~^~~~
[5/35] 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)
~^~~~
[6/35] 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/35] 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)
~^~~
[8/35] 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)
~^~~
[9/35] 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)
~^~~
[10/35] Compiling Frisbee DecoderJSONAdapter.swift
[11/35] Compiling Frisbee EncodableAdapter.swift
[12/35] Compiling Frisbee EncoderJSONAdapter.swift
[13/35] Compiling Frisbee QueryItemAdapter.swift
[14/35] Compiling Frisbee SerializableAdapter.swift
[15/35] Compiling Frisbee BodiableAdapter.swift
[16/35] Compiling Frisbee BodyAdapter.swift
[17/35] Compiling Frisbee Cancellable.swift
[18/35] Compiling Frisbee DecodableAdapter.swift
[19/35] Compiling Frisbee DecoderDataAdapter.swift
[20/35] 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
~~~~~~~~~~ ^~~~~~~~
[21/35] 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
~~~~~~~~~~ ^~~~~~~~
[22/35] 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
~~~~~~~~~~ ^~~~~~~~
[23/35] 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
~~~~~~~~~~ ^~~~~~~~
[24/35] Compiling Frisbee FrisbeeError.swift
[25/35] Compiling Frisbee HTTPMethod.swift
[26/35] Compiling Frisbee Result.swift
[27/35] Compiling Frisbee BodyAdapterFactory.swift
[28/35] Compiling Frisbee DecodableAdapterFactory.swift
[29/35] Compiling Frisbee EncodableAdapterFactory.swift
[30/35] Compiling Frisbee SerializableAdapterFactory.swift
[31/35] Compiling Frisbee URLQueriableAdapterFactory.swift
[32/35] 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()
~~~~ ^~~~~~
[33/35] 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()
~~~~ ^~~~~~
[34/35] 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()
~~~~ ^~~~~~
[35/35] 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
BUILD FAILURE 5.9 linux
Build Machine: Linux 2