Build Information
Failed to build SwiftUIKit 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/0xLet/SwiftUIKit.git
Reference: 3.0.1
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/0xLet/SwiftUIKit
* tag 3.0.1 -> FETCH_HEAD
HEAD is now at bcfd62d Updated DataObject to 1.0.0
Cloned https://github.com/0xLet/SwiftUIKit.git
Revision (git rev-parse @):
bcfd62da77d0025920eed05c7efa1d6719811c0b
SUCCESS checkout https://github.com/0xLet/SwiftUIKit.git at 3.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/0xLet/SwiftUIKit.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
Fetching https://github.com/0xLeif/Observation
Fetching https://github.com/0xLet/DataObject.git
[1/61] Fetching observation
[62/154] Fetching observation, dataobject
Fetched https://github.com/0xLeif/Observation from cache (0.21s)
Fetched https://github.com/0xLet/DataObject.git from cache (0.21s)
Computing version for https://github.com/0xLeif/Observation
Computed https://github.com/0xLeif/Observation at 0.0.2 (0.42s)
Fetching https://github.com/0xLeif/Chain
[1/119] Fetching chain
Fetched https://github.com/0xLeif/Chain from cache (0.23s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.3.0 (0.39s)
Fetching https://github.com/0xLeif/E.num
[1/130] Fetching e.num
Fetched https://github.com/0xLeif/E.num from cache (0.23s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.40s)
Computing version for https://github.com/0xLet/DataObject.git
Computed https://github.com/0xLet/DataObject.git at 1.1.1 (0.40s)
Fetching https://github.com/0xLet/SURL
Fetching https://github.com/0xLet/SwiftFu
Fetching https://github.com/0xLet/WTV
[1/52] Fetching wtv
[53/97] Fetching wtv, surl
[93/246] Fetching wtv, surl, swiftfu
Fetched https://github.com/0xLet/SURL from cache (0.21s)
Fetched https://github.com/0xLet/SwiftFu from cache (0.21s)
Fetched https://github.com/0xLet/WTV from cache (0.21s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.38s)
Computing version for https://github.com/0xLet/WTV
Computed https://github.com/0xLet/WTV at 0.1.1 (0.39s)
Computing version for https://github.com/0xLet/SURL
Computed https://github.com/0xLet/SURL at 0.1.1 (0.39s)
Creating working copy for https://github.com/0xLet/SURL
Working copy of https://github.com/0xLet/SURL resolved at 0.1.1
Creating working copy for https://github.com/0xLet/SwiftFu
Working copy of https://github.com/0xLet/SwiftFu resolved at 1.0.1
Creating working copy for https://github.com/0xLeif/E.num
Working copy of https://github.com/0xLeif/E.num resolved at 0.3.0
Creating working copy for https://github.com/0xLeif/Observation
Working copy of https://github.com/0xLeif/Observation resolved at 0.0.2
Creating working copy for https://github.com/0xLet/WTV
Working copy of https://github.com/0xLet/WTV resolved at 0.1.1
Creating working copy for https://github.com/0xLet/DataObject.git
Working copy of https://github.com/0xLet/DataObject.git resolved at 1.1.1
Creating working copy for https://github.com/0xLeif/Chain
Working copy of https://github.com/0xLeif/Chain resolved at 0.3.0
Building for debugging...
[0/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/33] Emitting module SwiftFu
[11/34] Compiling SwiftFu Tuplable.swift
[12/34] Compiling SwiftFu SwiftFu+.swift
[13/34] Compiling E Variable.swift
[14/34] Compiling SwiftFu Fuable.swift
[15/34] Compiling SwiftFu Functionable.swift
[16/34] Compiling SwiftFu Boolable.swift
[17/34] Compiling SwiftFu Configurable.swift
[18/34] Compiling SwiftFu Modifiable.swift
[19/34] Compiling SwiftFu Printable.swift
[20/34] Emitting module E
[21/34] Compiling E Function.swift
[22/34] Compiling E Control.swift
[23/34] Compiling E State.swift
[25/37] Emitting module Chain
[26/37] Compiling SwiftFu Foundation+SwiftFu.swift
[27/37] Compiling SwiftFu BinaryFloatingPoint+.swift
[28/37] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
[29/37] Compiling SURL URL+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var dataTask: URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:15:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
URLSession.shared.dataTask(with: self)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:19:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
URLSession.shared.dataTask(with: self, completionHandler: handler)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:29:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: self,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:33:28: error: type of expression is ambiguous without a type annotation
request.httpMethod = httpMethod?.rawValue
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:45:36: error: cannot infer contextual base in reference to member 'GET'
urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
~^~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:51:36: error: cannot infer contextual base in reference to member 'HEAD'
urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
~^~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:59:36: error: cannot infer contextual base in reference to member 'CONNECT'
urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:65:36: error: cannot infer contextual base in reference to member 'OPTIONS'
urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:71:36: error: cannot infer contextual base in reference to member 'TRACE'
urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:80:50: error: cannot infer contextual base in reference to member 'POST'
var request = urlRequest(forHTTPMethod: .POST)
~^~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:91:50: error: cannot infer contextual base in reference to member 'PUT'
var request = urlRequest(forHTTPMethod: .PUT)
~^~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:104:50: error: cannot infer contextual base in reference to member 'PATCH'
var request = urlRequest(forHTTPMethod: .PATCH)
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:115:50: error: cannot infer contextual base in reference to member 'DELETE'
var request = urlRequest(forHTTPMethod: .DELETE)
~^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/37] Compiling SURL String+.swift
[31/37] Emitting module SURL
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var dataTask: URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
[32/37] Emitting module WTV
[33/37] Compiling WTV WTV.swift
[34/37] Compiling SwiftFu BinaryInteger+.swift
[35/37] Compiling SwiftFu Assertable.swift
[36/37] Compiling SwiftFu Switch+.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Emitting module WTV
[4/9] Emitting module SwiftFu
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module SURL
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var dataTask: URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
[6/10] Compiling SURL URL+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var dataTask: URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:15:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
URLSession.shared.dataTask(with: self)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:19:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
URLSession.shared.dataTask(with: self, completionHandler: handler)
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:29:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: self,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:33:28: error: type of expression is ambiguous without a type annotation
request.httpMethod = httpMethod?.rawValue
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:45:36: error: cannot infer contextual base in reference to member 'GET'
urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
~^~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:51:36: error: cannot infer contextual base in reference to member 'HEAD'
urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
~^~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:59:36: error: cannot infer contextual base in reference to member 'CONNECT'
urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:65:36: error: cannot infer contextual base in reference to member 'OPTIONS'
urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:71:36: error: cannot infer contextual base in reference to member 'TRACE'
urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:80:50: error: cannot infer contextual base in reference to member 'POST'
var request = urlRequest(forHTTPMethod: .POST)
~^~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:91:50: error: cannot infer contextual base in reference to member 'PUT'
var request = urlRequest(forHTTPMethod: .PUT)
~^~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:104:50: error: cannot infer contextual base in reference to member 'PATCH'
var request = urlRequest(forHTTPMethod: .PATCH)
~^~~~~
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:115:50: error: cannot infer contextual base in reference to member 'DELETE'
var request = urlRequest(forHTTPMethod: .DELETE)
~^~~~~~
[7/10] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
error: fatalError
[9/10] Emitting module Chain
BUILD FAILURE 5.10 linux