Build Information
Failed to build WriteFreely with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/writefreely/writefreely-swift.git
Reference: main
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/writefreely/writefreely-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4919bb1 Add collections-related test suite (#38)
Cloned https://github.com/writefreely/writefreely-swift.git
Revision (git rev-parse @):
4919bb1edcfceafe134fdac7e5c9d2e5b8a43cc8
SUCCESS checkout https://github.com/writefreely/writefreely-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/writefreely/writefreely-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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
[3/10] Compiling WriteFreely WFClient+Templates.swift
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:9:28: error: cannot find type 'URLRequest' in scope
func get(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:46:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:84:31: error: cannot find type 'URLRequest' in scope
func delete(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:8:33: error: cannot find type 'URLRequest' in scope
func dataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:20:91: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let unwrappedResponse = response as? HTTPURLResponse, unwrappedResponse.statusCode == 200 else {
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:60:91: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let unwrappedResponse = response as? HTTPURLResponse, unwrappedResponse.statusCode == statusCode else {
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:95:91: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let unwrappedResponse = response as? HTTPURLResponse, unwrappedResponse.statusCode == 204 else {
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Compiling WriteFreely JSONDecoder+Extension.swift
[5/11] Compiling WriteFreely HelperCodingKeys.swift
[6/11] Emitting module WriteFreely
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:9:28: error: cannot find type 'URLRequest' in scope
func get(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:46:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:84:31: error: cannot find type 'URLRequest' in scope
func delete(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:960:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:969:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol {}
^ ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:7:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
typealias DataTaskResult = (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:8:33: error: cannot find type 'URLRequest' in scope
func dataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:32:85: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(for instanceURL: URL, with session: URLSessionProtocol = URLSession.shared) {
~~~~~~~~~~ ^~~~~~
[7/11] Compiling WriteFreely WFError.swift
[8/11] Compiling WriteFreely WFCollection.swift
[9/11] Compiling WriteFreely WFClient.swift
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:960:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:969:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol {}
^ ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:7:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
typealias DataTaskResult = (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:8:33: error: cannot find type 'URLRequest' in scope
func dataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:32:85: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(for instanceURL: URL, with session: URLSessionProtocol = URLSession.shared) {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:73:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:46:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:97:59: error: cannot infer type of closure parameter 'result' without a type annotation
post(with: request, expecting: 201) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:141:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:9:28: error: cannot find type 'URLRequest' in scope
func get(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:146:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:189:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:84:31: error: cannot find type 'URLRequest' in scope
func delete(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:245:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:250:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:318:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:379:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:446:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:510:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:538:64: error: cannot infer type of closure parameter 'result' without a type annotation
self.post(with: request, expecting: 201) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:581:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:586:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:634:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:638:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:688:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:708:59: error: cannot infer type of closure parameter 'result' without a type annotation
post(with: request, expecting: 200) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:754:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:796:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:812:59: error: cannot infer type of closure parameter 'result' without a type annotation
post(with: request, expecting: 200) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:850:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:856:45: error: cannot infer type of closure parameter 'result' without a type annotation
delete(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:889:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:924:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:929:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:962:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:963:38: error: cannot find type 'DataTaskResult' in scope
completionHandler: @escaping DataTaskResult
^~~~~~~~~~~~~~
[10/11] Compiling WriteFreely WFPost.swift
[11/11] Compiling WriteFreely WFUser.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module WriteFreely
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:9:28: error: cannot find type 'URLRequest' in scope
func get(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:46:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:84:31: error: cannot find type 'URLRequest' in scope
func delete(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:960:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:969:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol {}
^ ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:7:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
typealias DataTaskResult = (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:8:33: error: cannot find type 'URLRequest' in scope
func dataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:32:85: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(for instanceURL: URL, with session: URLSessionProtocol = URLSession.shared) {
~~~~~~~~~~ ^~~~~~
[3/4] Compiling WriteFreely WFClient+Templates.swift
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:9:28: error: cannot find type 'URLRequest' in scope
func get(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:46:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:84:31: error: cannot find type 'URLRequest' in scope
func delete(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:8:33: error: cannot find type 'URLRequest' in scope
func dataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:20:91: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let unwrappedResponse = response as? HTTPURLResponse, unwrappedResponse.statusCode == 200 else {
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:60:91: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let unwrappedResponse = response as? HTTPURLResponse, unwrappedResponse.statusCode == statusCode else {
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:95:91: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let unwrappedResponse = response as? HTTPURLResponse, unwrappedResponse.statusCode == 204 else {
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[4/4] Compiling WriteFreely WFClient.swift
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:960:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:969:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol {}
^ ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:7:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
typealias DataTaskResult = (Data?, URLResponse?, Error?) -> Void
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:8:33: error: cannot find type 'URLRequest' in scope
func dataTask(with request: URLRequest, completionHandler: @escaping DataTaskResult) -> URLSessionDataTaskProtocol
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:32:85: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(for instanceURL: URL, with session: URLSessionProtocol = URLSession.shared) {
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:73:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:46:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:97:59: error: cannot infer type of closure parameter 'result' without a type annotation
post(with: request, expecting: 201) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:141:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:9:28: error: cannot find type 'URLRequest' in scope
func get(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:146:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:189:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient+Templates.swift:84:31: error: cannot find type 'URLRequest' in scope
func delete(with request: URLRequest, completion: @escaping (Result<Data, WFError>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:245:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:250:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:318:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:379:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:446:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:510:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:538:64: error: cannot infer type of closure parameter 'result' without a type annotation
self.post(with: request, expecting: 201) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:581:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:586:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:634:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:638:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:688:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:708:59: error: cannot infer type of closure parameter 'result' without a type annotation
post(with: request, expecting: 200) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:754:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:796:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:812:59: error: cannot infer type of closure parameter 'result' without a type annotation
post(with: request, expecting: 200) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:850:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:856:45: error: cannot infer type of closure parameter 'result' without a type annotation
delete(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:889:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:924:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:929:42: error: cannot infer type of closure parameter 'result' without a type annotation
get(with: request) { [weak self] result in
^
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:962:23: error: cannot find type 'URLRequest' in scope
with request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/WriteFreely/WFClient.swift:963:38: error: cannot find type 'DataTaskResult' in scope
completionHandler: @escaping DataTaskResult
^~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 2