Build Information
Failed to build SwiftUIKit, reference main (bcfd62
), with Swift 6.0 for Linux on 1 Nov 2024 19:09:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/SwiftUIKit.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/0xLet/SwiftUIKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/0xLet/SwiftUIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/0xLeif/Observation
Fetching https://github.com/0xLet/DataObject.git
[1/93] Fetching dataobject
[94/154] Fetching dataobject, observation
Fetched https://github.com/0xLet/DataObject.git from cache (0.18s)
Fetched https://github.com/0xLeif/Observation from cache (0.18s)
Computing version for https://github.com/0xLeif/Observation
Computed https://github.com/0xLeif/Observation at 0.0.2 (0.49s)
Fetching https://github.com/0xLeif/Chain
[1/119] Fetching chain
Fetched https://github.com/0xLeif/Chain from cache (0.17s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.3.0 (0.50s)
Fetching https://github.com/0xLeif/E.num
[1/130] Fetching e.num
Fetched https://github.com/0xLeif/E.num from cache (0.21s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.49s)
Computing version for https://github.com/0xLet/DataObject.git
Computed https://github.com/0xLet/DataObject.git at 1.1.1 (0.54s)
Fetching https://github.com/0xLet/SURL
Fetching https://github.com/0xLet/SwiftFu
Fetching https://github.com/0xLet/WTV
[1/45] Fetching surl
[46/194] Fetching surl, swiftfu
[73/246] Fetching surl, swiftfu, wtv
Fetched https://github.com/0xLet/WTV from cache (0.19s)
Fetched https://github.com/0xLet/SwiftFu from cache (0.19s)
Fetched https://github.com/0xLet/SURL from cache (0.19s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.48s)
Computing version for https://github.com/0xLet/WTV
Computed https://github.com/0xLet/WTV at 0.1.1 (0.51s)
Computing version for https://github.com/0xLet/SURL
Computed https://github.com/0xLet/SURL at 0.1.1 (0.50s)
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/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
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/0xLeif/Observation
Working copy of https://github.com/0xLeif/Observation resolved at 0.0.2
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/0xLet/SURL
Working copy of https://github.com/0xLet/SURL resolved at 0.1.1
Building for debugging...
[0/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/33] Compiling E Control.swift
[11/33] Emitting module E
[12/33] Compiling SwiftFu Boolable.swift
[13/33] Compiling SwiftFu Configurable.swift
[14/34] Compiling SwiftFu Fuable.swift
[15/34] Compiling SwiftFu Functionable.swift
[16/34] Compiling SwiftFu Modifiable.swift
[17/34] Compiling SwiftFu Printable.swift
[18/34] Compiling SwiftFu Tuplable.swift
[19/34] Compiling SwiftFu SwiftFu+.swift
[20/34] Compiling E State.swift
[21/34] Compiling E Function.swift
[22/34] Compiling E Variable.swift
[24/37] Compiling SwiftFu BinaryInteger+.swift
[25/37] Compiling SwiftFu Assertable.swift
[26/37] Compiling SwiftFu Switch+.swift
[27/37] Emitting module Chain
[28/37] Compiling Chain Chain.swift
[30/38] Emitting module WTV
[31/38] Compiling WTV WTV.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/38] Compiling SURL String+.swift
[33/38] 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.
12 | // MARK: URLSession DataTasks
13 |
14 | var dataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | URLSession.shared.dataTask(with: self)
16 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
16 | }
17 |
18 | func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | URLSession.shared.dataTask(with: self, completionHandler: handler)
20 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
16 | }
17 |
18 | func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | URLSession.shared.dataTask(with: self, completionHandler: handler)
20 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
26 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
27 | timeoutInterval: TimeInterval = 60.0
28 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | var request = URLRequest(url: self,
30 | cachePolicy: cachePolicy,
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
23 |
24 | func urlRequest(
25 | forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
| `- error: cannot find type 'URLRequest' in scope
26 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
27 | timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
24 | func urlRequest(
25 | forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
26 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
27 | timeoutInterval: TimeInterval = 60.0
28 | ) -> URLRequest {
/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.
41 |
42 | func get(
43 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | ) {
45 | urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
47 |
48 | func head(
49 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | ) {
51 | urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
55 |
56 | func connect(
57 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | ) {
59 | urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
61 |
62 | func options(
63 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | ) {
65 | urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
67 |
68 | func trace(
69 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | ) {
71 | urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
76 | func post(
77 | data: Data?,
78 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | ) {
80 | var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
87 | func put(
88 | data: Data?,
89 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
90 | ) {
91 | var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
100 | func patch(
101 | data: Data?,
102 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | ) {
104 | var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
111 | func delete(
112 | data: Data?,
113 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 | ) {
115 | var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | public extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 |
12 | // MARK: HTTPRequestMethod
[34/38] 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.
12 | // MARK: URLSession DataTasks
13 |
14 | var dataTask: URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | URLSession.shared.dataTask(with: self)
16 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
16 | }
17 |
18 | func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | URLSession.shared.dataTask(with: self, completionHandler: handler)
20 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
16 | }
17 |
18 | func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 | URLSession.shared.dataTask(with: self, completionHandler: handler)
20 | }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
26 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
27 | timeoutInterval: TimeInterval = 60.0
28 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
29 | var request = URLRequest(url: self,
30 | cachePolicy: cachePolicy,
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
23 |
24 | func urlRequest(
25 | forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
| `- error: cannot find type 'URLRequest' in scope
26 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
27 | timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
24 | func urlRequest(
25 | forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
26 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
27 | timeoutInterval: TimeInterval = 60.0
28 | ) -> URLRequest {
/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.
41 |
42 | func get(
43 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | ) {
45 | urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
47 |
48 | func head(
49 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | ) {
51 | urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
55 |
56 | func connect(
57 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 | ) {
59 | urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
61 |
62 | func options(
63 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | ) {
65 | urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
67 |
68 | func trace(
69 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | ) {
71 | urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
76 | func post(
77 | data: Data?,
78 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | ) {
80 | var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
87 | func put(
88 | data: Data?,
89 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
90 | ) {
91 | var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
100 | func patch(
101 | data: Data?,
102 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | ) {
104 | var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
111 | func delete(
112 | data: Data?,
113 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 | ) {
115 | var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:15:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
13 |
14 | var dataTask: URLSessionDataTask {
15 | URLSession.shared.dataTask(with: self)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:19:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
17 |
18 | func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
19 | URLSession.shared.dataTask(with: self, completionHandler: handler)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | }
21 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:29:23: error: cannot find 'URLRequest' in scope
27 | timeoutInterval: TimeInterval = 60.0
28 | ) -> URLRequest {
29 | var request = URLRequest(url: self,
| `- error: cannot find 'URLRequest' in scope
30 | cachePolicy: cachePolicy,
31 | timeoutInterval: timeoutInterval)
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:45:36: error: cannot infer contextual base in reference to member 'GET'
43 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
44 | ) {
45 | urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
| `- error: cannot infer contextual base in reference to member 'GET'
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:51:36: error: cannot infer contextual base in reference to member 'HEAD'
49 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
50 | ) {
51 | urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
| `- error: cannot infer contextual base in reference to member 'HEAD'
52 | handler(response, error)
53 | }.resume()
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:59:36: error: cannot infer contextual base in reference to member 'CONNECT'
57 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
58 | ) {
59 | urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
| `- error: cannot infer contextual base in reference to member 'CONNECT'
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:65:36: error: cannot infer contextual base in reference to member 'OPTIONS'
63 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
64 | ) {
65 | urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
| `- error: cannot infer contextual base in reference to member 'OPTIONS'
66 | }
67 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:71:36: error: cannot infer contextual base in reference to member 'TRACE'
69 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
70 | ) {
71 | urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
| `- error: cannot infer contextual base in reference to member 'TRACE'
72 | handler(response, error)
73 | }.resume()
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:80:50: error: cannot infer contextual base in reference to member 'POST'
78 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
79 | ) {
80 | var request = urlRequest(forHTTPMethod: .POST)
| `- error: cannot infer contextual base in reference to member 'POST'
81 |
82 | request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:91:50: error: cannot infer contextual base in reference to member 'PUT'
89 | withHandler handler: @escaping (URLResponse?, Error?) -> Void
90 | ) {
91 | var request = urlRequest(forHTTPMethod: .PUT)
| `- error: cannot infer contextual base in reference to member 'PUT'
92 |
93 | request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:104:50: error: cannot infer contextual base in reference to member 'PATCH'
102 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
103 | ) {
104 | var request = urlRequest(forHTTPMethod: .PATCH)
| `- error: cannot infer contextual base in reference to member 'PATCH'
105 |
106 | request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:115:50: error: cannot infer contextual base in reference to member 'DELETE'
113 | withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
114 | ) {
115 | var request = urlRequest(forHTTPMethod: .DELETE)
| `- error: cannot infer contextual base in reference to member 'DELETE'
116 |
117 | request.httpBody = data
[35/38] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | public extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 |
12 | // MARK: HTTPRequestMethod
[36/39] Emitting module SwiftFu
[37/39] Compiling SwiftFu Foundation+SwiftFu.swift
[38/39] Compiling SwiftFu BinaryFloatingPoint+.swift
BUILD FAILURE 6.0 linux