Build Information
Failed to build ReactiveSSE, reference 0.4.0 (4370ee
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 04:19:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/banjun/ReactiveSSE.git
Reference: 0.4.0
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/banjun/ReactiveSSE
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 4370eea pod 0.4.0 updating pod example project
Cloned https://github.com/banjun/ReactiveSSE.git
Revision (git rev-parse @):
4370eea87cccac449f2b8c0eaacc747678c0d86f
SUCCESS checkout https://github.com/banjun/ReactiveSSE.git at 0.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/banjun/ReactiveSSE.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/ReactiveCocoa/ReactiveSwift
Fetching https://github.com/kareman/FootlessParser
[1/1836] Fetching footlessparser
[1837/54329] Fetching footlessparser, reactiveswift
Fetched https://github.com/kareman/FootlessParser from cache (0.35s)
[5775/52493] Fetching reactiveswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift from cache (2.49s)
Computing version for https://github.com/kareman/FootlessParser
Computed https://github.com/kareman/FootlessParser at 0.5.2 (6.40s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift
Computed https://github.com/ReactiveCocoa/ReactiveSwift at 6.7.0 (0.42s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift resolved at 6.7.0
Creating working copy for https://github.com/kareman/FootlessParser
Working copy of https://github.com/kareman/FootlessParser resolved at 0.5.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/56] Compiling FootlessParser Parser+Operators.swift
[6/56] Compiling FootlessParser Parsers.swift
[7/56] Emitting module ReactiveSwift
[8/62] Compiling ReactiveSwift Action.swift
[9/62] Compiling ReactiveSwift Atomic.swift
[10/62] Compiling ReactiveSwift Bag.swift
[11/62] Compiling ReactiveSwift Deprecations+Removals.swift
[12/62] Compiling ReactiveSwift Disposable.swift
[13/62] Compiling ReactiveSwift Event.swift
[14/62] Compiling ReactiveSwift EventLogger.swift
[15/62] Compiling ReactiveSwift Observer.swift
[16/62] Compiling ReactiveSwift Operators.swift
[17/62] Compiling ReactiveSwift Reduce.swift
[18/62] Compiling ReactiveSwift ScanMap.swift
[19/62] Compiling ReactiveSwift SkipFirst.swift
[20/62] Compiling ReactiveSwift SkipRepeats.swift
[21/62] Compiling FootlessParser StringParser.swift
[22/62] Compiling FootlessParser Parser.swift
[23/62] Compiling FootlessParser Converters.swift
[24/62] Emitting module FootlessParser
[25/62] Compiling FootlessParser Error.swift
[27/63] Compiling ReactiveSwift Flatten.swift
[28/63] Compiling ReactiveSwift FoundationExtensions.swift
[29/63] Compiling ReactiveSwift Lifetime.swift
[30/63] Compiling ReactiveSwift AttemptMap.swift
[31/63] Compiling ReactiveSwift Collect.swift
[32/63] Compiling ReactiveSwift CollectEvery.swift
[33/63] Compiling ReactiveSwift CombinePrevious.swift
[34/63] Compiling ReactiveSwift CompactMap.swift
[35/63] Compiling ReactiveSwift Debounce.swift
[36/63] Compiling ReactiveSwift Delay.swift
[37/63] Compiling ReactiveSwift Dematerialize.swift
[38/63] Compiling ReactiveSwift DematerializeResults.swift
[39/63] Compiling ReactiveSwift Filter.swift
[40/63] Compiling ReactiveSwift LazyMap.swift
[41/63] Compiling ReactiveSwift Map.swift
[42/63] Compiling ReactiveSwift MapError.swift
[43/63] Compiling ReactiveSwift Materialize.swift
[44/63] Compiling ReactiveSwift MaterializeAsResult.swift
[45/63] Compiling ReactiveSwift ObserveOn.swift
[46/63] Compiling ReactiveSwift SkipWhile.swift
[47/63] Compiling ReactiveSwift TakeFirst.swift
[48/63] Compiling ReactiveSwift TakeLast.swift
[49/63] Compiling ReactiveSwift TakeWhile.swift
[50/63] Compiling ReactiveSwift Throttle.swift
[51/63] Compiling ReactiveSwift UnaryAsyncOperator.swift
[52/63] Compiling ReactiveSwift UniqueValues.swift
[53/63] Compiling ReactiveSwift Optional.swift
[54/63] Compiling ReactiveSwift Property.swift
[55/63] Compiling ReactiveSwift Reactive.swift
[56/63] Compiling ReactiveSwift ResultExtensions.swift
[57/63] Compiling ReactiveSwift Scheduler.swift
[58/63] Compiling ReactiveSwift Signal.Observer.swift
[59/63] Compiling ReactiveSwift Signal.swift
[60/63] Compiling ReactiveSwift SignalProducer.swift
[61/63] Compiling ReactiveSwift UnidirectionalBinding.swift
[62/63] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[63/63] Compiling ReactiveSwift ValidatingProperty.swift
[65/71] Compiling ReactiveSSE SessionDataPipe.swift
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:4:40: error: cannot find type 'URLSessionDataDelegate' in scope
2 | import ReactiveSwift
3 |
4 | final class SessionDataPipe: NSObject, URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
5 | let pipe = Signal<String, SSError>.pipe()
6 |
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:7:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:7:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:7:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
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/ReactiveSSE/Classes/SessionDataPipe.swift:7:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
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/ReactiveSSE/Classes/SessionDataPipe.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
17 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | guard let s = String(data: data, encoding: .utf8) else {
19 | pipe.input.send(error: .nonUTF8(data))
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:17:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
17 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | guard let s = String(data: data, encoding: .utf8) else {
19 | pipe.input.send(error: .nonUTF8(data))
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/ReactiveSSE/Classes/SessionDataPipe.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | }
24 |
25 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | pipe.input.send(error: .session(error as NSError?))
27 | }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:25:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | }
24 |
25 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | pipe.input.send(error: .session(error as NSError?))
27 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:8:39: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
9 | guard response.statusCode == 200,
10 | response.mimeType == "text/event-stream" else {
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:8:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | guard response.statusCode == 200,
10 | response.mimeType == "text/event-stream" else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:8:92: error: cannot infer contextual base in reference to member 'cancel'
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
| `- error: cannot infer contextual base in reference to member 'cancel'
9 | guard response.statusCode == 200,
10 | response.mimeType == "text/event-stream" else {
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:9:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
10 | response.mimeType == "text/event-stream" else {
11 | pipe.input.send(error: .notSSE(statusCode: response.statusCode, mimeType: response.mimeType))
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:10:22: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
10 | response.mimeType == "text/event-stream" else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
11 | pipe.input.send(error: .notSSE(statusCode: response.statusCode, mimeType: response.mimeType))
12 | return completionHandler(.cancel)
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:11:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
9 | guard response.statusCode == 200,
10 | response.mimeType == "text/event-stream" else {
11 | pipe.input.send(error: .notSSE(statusCode: response.statusCode, mimeType: response.mimeType))
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
12 | return completionHandler(.cancel)
13 | }
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:11:100: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
9 | guard response.statusCode == 200,
10 | response.mimeType == "text/event-stream" else {
11 | pipe.input.send(error: .notSSE(statusCode: response.statusCode, mimeType: response.mimeType))
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
12 | return completionHandler(.cancel)
13 | }
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:12:43: error: cannot infer contextual base in reference to member 'cancel'
10 | response.mimeType == "text/event-stream" else {
11 | pipe.input.send(error: .notSSE(statusCode: response.statusCode, mimeType: response.mimeType))
12 | return completionHandler(.cancel)
| `- error: cannot infer contextual base in reference to member 'cancel'
13 | }
14 | completionHandler(.allow)
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:14:28: error: cannot infer contextual base in reference to member 'allow'
12 | return completionHandler(.cancel)
13 | }
14 | completionHandler(.allow)
| `- error: cannot infer contextual base in reference to member 'allow'
15 | }
16 |
[66/71] Compiling ReactiveSSE SSError.swift
[67/71] Compiling ReactiveSSE SSEvent.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/71] Compiling ReactiveSSE EventStream.swift
[69/71] Compiling ReactiveSSE ReactiveOperator.swift
[70/71] Compiling ReactiveSSE ReactiveSSE.swift
/host/spi-builder-workspace/ReactiveSSE/Classes/ReactiveSSE.swift:7:33: error: cannot find type 'URLRequest' in scope
5 | public let producer: SignalProducer<SSEvent, SSError>
6 |
7 | public init(urlRequest req: URLRequest, maxBuffer: Int? = nil) {
| `- error: cannot find type 'URLRequest' in scope
8 | self.producer = .init { observer, lifetime in
9 | var req = req
[71/71] Emitting module ReactiveSSE
/host/spi-builder-workspace/ReactiveSSE/Classes/ReactiveSSE.swift:7:33: error: cannot find type 'URLRequest' in scope
5 | public let producer: SignalProducer<SSEvent, SSError>
6 |
7 | public init(urlRequest req: URLRequest, maxBuffer: Int? = nil) {
| `- error: cannot find type 'URLRequest' in scope
8 | self.producer = .init { observer, lifetime in
9 | var req = req
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:4:40: error: cannot find type 'URLSessionDataDelegate' in scope
2 | import ReactiveSwift
3 |
4 | final class SessionDataPipe: NSObject, URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
5 | let pipe = Signal<String, SSError>.pipe()
6 |
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:7:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:7:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:7:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
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/ReactiveSSE/Classes/SessionDataPipe.swift:7:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | let pipe = Signal<String, SSError>.pipe()
6 |
7 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | guard let response = response as? HTTPURLResponse else { return completionHandler(.cancel) }
9 | guard response.statusCode == 200,
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/ReactiveSSE/Classes/SessionDataPipe.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
17 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | guard let s = String(data: data, encoding: .utf8) else {
19 | pipe.input.send(error: .nonUTF8(data))
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:17:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
17 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | guard let s = String(data: data, encoding: .utf8) else {
19 | pipe.input.send(error: .nonUTF8(data))
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/ReactiveSSE/Classes/SessionDataPipe.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | }
24 |
25 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | pipe.input.send(error: .session(error as NSError?))
27 | }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/ReactiveSSE/Classes/SessionDataPipe.swift:25:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | }
24 |
25 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | pipe.input.send(error: .session(error as NSError?))
27 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
BUILD FAILURE 6.2 linux