Build Information
Failed to build SwiftUIKit, reference 3.0.1 (bcfd62
), with Swift 6.1 for Linux on 26 Apr 2025 13:37:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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: 6.1
Building package at path: $PWD
https://github.com/0xLet/SwiftUIKit.git
https://github.com/0xLet/SwiftUIKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "observation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xLeif/Observation"
},
{
"identity" : "dataobject",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xLet/DataObject.git"
}
],
"manifest_display_name" : "SwiftUIKit",
"name" : "SwiftUIKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftUIKit",
"targets" : [
"SwiftUIKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIKitTests",
"path" : "Tests/SwiftUIKitTests",
"sources" : [
"ADA/BasicADATests.swift",
"Case/Extensions/CALayer+SwiftUIKitTests.swift",
"ContainerView/ContainerViewTests.swift",
"Core/BasicSwiftUIKitTests.swift",
"NSAttributedString/NSMutableAttributedStringTests.swift",
"TableView/TableViewTests.swift"
],
"target_dependencies" : [
"SwiftUIKit"
],
"type" : "test"
},
{
"c99name" : "SwiftUIKit",
"module_type" : "SwiftTarget",
"name" : "SwiftUIKit",
"path" : "Sources/SwiftUIKit",
"product_dependencies" : [
"Observation",
"DataObject"
],
"product_memberships" : [
"SwiftUIKit"
],
"sources" : [
"Containers/HScroll.swift",
"Containers/HStack.swift",
"Containers/SafeAreaView.swift",
"Containers/VScroll.swift",
"Containers/VStack.swift",
"Containers/ZStack.swift",
"Extensions/CALayer+SwiftUIKit.swift",
"Extensions/NSLayoutConstraint+SwiftUIKit.swift",
"Extensions/NSMutableAttributedString+SwiftUIKit.swift",
"Extensions/SwiftFu+.swift",
"Extensions/UIAlertAction+SwiftUIKit.swift",
"Extensions/UIAppearance+SwiftUIKit.swift",
"Extensions/UIBarButton+SwiftUIKit.swift",
"Extensions/UIButton+SwiftUIKit.swift",
"Extensions/UIControl+SwiftUIKit.swift",
"Extensions/UIImage+SwiftUIKit.swift",
"Extensions/UIImageView+SwiftUIKit.swift",
"Extensions/UILabel+SwiftUIKit.swift",
"Extensions/UISlider+SwiftUIKit.swift",
"Extensions/UISwitch+SwiftUIKit.swift",
"Extensions/UITextField+SwiftUIKit.swift",
"Extensions/UITextView+SwiftUIKit.swift",
"Extensions/UIView+Chain.swift",
"Extensions/UIView+SwiftUIKit.swift",
"Extensions/UIViewController+SwiftUIKit.swift",
"Navigation/Navigate.swift",
"Views/Button.swift",
"Views/CollectionView.swift",
"Views/ContainerView.swift",
"Views/Divider.swift",
"Views/EffectView.swift",
"Views/Image.swift",
"Views/Label.swift",
"Views/List.swift",
"Views/LoadingImage.swift",
"Views/LoadingView.swift",
"Views/Map.swift",
"Views/MultiLineField.swift",
"Views/NavButton.swift",
"Views/ObservedView.swift",
"Views/ScrollView.swift",
"Views/Slider.swift",
"Views/Spacer.swift",
"Views/Switch.swift",
"Views/TableView.swift",
"Views/TextField.swift",
"Views/WebView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/0xLet/DataObject.git
Fetching https://github.com/0xLeif/Observation
[1/93] Fetching dataobject
[94/154] Fetching dataobject, observation
Fetched https://github.com/0xLeif/Observation from cache (0.24s)
Fetched https://github.com/0xLet/DataObject.git from cache (0.24s)
Computing version for https://github.com/0xLeif/Observation
Computed https://github.com/0xLeif/Observation at 0.0.2 (1.56s)
Fetching https://github.com/0xLeif/Chain
[1/119] Fetching chain
Fetched https://github.com/0xLeif/Chain from cache (0.32s)
Computing version for https://github.com/0xLeif/Chain
Computed https://github.com/0xLeif/Chain at 0.3.0 (0.91s)
Fetching https://github.com/0xLeif/E.num
[1/130] Fetching e.num
Fetched https://github.com/0xLeif/E.num from cache (0.20s)
Computing version for https://github.com/0xLeif/E.num
Computed https://github.com/0xLeif/E.num at 0.3.0 (0.78s)
Computing version for https://github.com/0xLet/DataObject.git
Computed https://github.com/0xLet/DataObject.git at 1.1.1 (0.57s)
Fetching https://github.com/0xLet/SwiftFu
Fetching https://github.com/0xLet/WTV
Fetching https://github.com/0xLet/SURL
[1/52] Fetching wtv
[53/97] Fetching wtv, surl
[98/246] Fetching wtv, surl, swiftfu
Fetched https://github.com/0xLet/SURL from cache (0.24s)
Fetched https://github.com/0xLet/WTV from cache (0.24s)
Fetched https://github.com/0xLet/SwiftFu from cache (0.24s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.81s)
Computing version for https://github.com/0xLet/WTV
Computed https://github.com/0xLet/WTV at 0.1.1 (0.63s)
Computing version for https://github.com/0xLet/SURL
Computed https://github.com/0xLet/SURL at 0.1.1 (0.65s)
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/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/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
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
Building for debugging...
[0/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/33] Emitting module WTV
[11/33] Compiling E Variable.swift
[12/33] Compiling E Function.swift
[13/33] Compiling E State.swift
[14/33] Compiling E Control.swift
[15/33] Emitting module E
[17/34] Compiling SwiftFu Modifiable.swift
[18/34] Compiling SwiftFu Printable.swift
[19/34] Compiling SwiftFu Tuplable.swift
[20/34] Compiling SwiftFu Fuable.swift
[21/34] Compiling SwiftFu Functionable.swift
[22/34] Compiling SwiftFu Boolable.swift
[23/34] Compiling SwiftFu Configurable.swift
[24/35] Compiling SwiftFu SwiftFu+.swift
[25/37] Compiling WTV WTV.swift
[26/38] Compiling SwiftFu Switch+.swift
[27/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
[28/38] Emitting module Chain
[29/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
[30/38] Compiling Chain Chain.swift
[31/39] Compiling SURL String+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/39] 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
[33/39] Compiling SwiftFu BinaryInteger+.swift
[34/39] Compiling SwiftFu Assertable.swift
[35/39] Emitting module SwiftFu
[36/39] Compiling SwiftFu Foundation+SwiftFu.swift
[37/39] Compiling SwiftFu BinaryFloatingPoint+.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/25] Emitting module E
[3/25] Compiling E Control.swift
[4/25] Compiling SURL String+.swift
[5/25] Compiling SwiftFu Tuplable.swift
[6/25] Compiling SwiftFu Modifiable.swift
[7/25] Compiling SwiftFu Printable.swift
[8/25] Compiling SwiftFu SwiftFu+.swift
[9/26] 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
[10/26] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/26] 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
[12/26] Compiling SwiftFu Fuable.swift
[13/26] Compiling SwiftFu Functionable.swift
[14/26] Compiling SwiftFu Boolable.swift
[15/26] Compiling SwiftFu Configurable.swift
[16/26] Emitting module WTV
[17/26] Compiling WTV WTV.swift
[18/27] Emitting module SwiftFu
[19/27] Compiling SwiftFu Foundation+SwiftFu.swift
[20/27] Compiling SwiftFu BinaryFloatingPoint+.swift
[21/27] Compiling SwiftFu BinaryInteger+.swift
[22/27] Compiling SwiftFu Assertable.swift
[24/27] Compiling E State.swift
[25/27] Compiling E Function.swift
[26/27] Compiling E Variable.swift
BUILD FAILURE 6.1 linux