Build Information
Failed to build ReactiveSSE, reference master (13b5d3
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 04:17:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 13b5d3d Merge pull request #11 from banjun/dependabot/bundler/activesupport-6.1.7.1
Cloned https://github.com/banjun/ReactiveSSE.git
Revision (git rev-parse @):
13b5d3da0af982ff1de1a9558ffd8bc695b2c9a7
SUCCESS checkout https://github.com/banjun/ReactiveSSE.git at master
========================================
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-4606859-3":/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
[993/54329] Fetching footlessparser, reactiveswift
Fetched https://github.com/kareman/FootlessParser from cache (3.29s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift from cache (3.33s)
Computing version for https://github.com/kareman/FootlessParser
Computed https://github.com/kareman/FootlessParser at 0.5.2 (6.59s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift
Computed https://github.com/ReactiveCocoa/ReactiveSwift at 6.7.0 (0.48s)
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] Emitting module ReactiveSwift
[6/62] Compiling FootlessParser Parser.swift
[7/62] Compiling ReactiveSwift LazyMap.swift
[8/62] Compiling ReactiveSwift Map.swift
[9/62] Compiling ReactiveSwift MapError.swift
[10/62] Compiling ReactiveSwift Materialize.swift
[11/62] Compiling ReactiveSwift MaterializeAsResult.swift
[12/62] Compiling ReactiveSwift ObserveOn.swift
[13/62] Compiling FootlessParser Parser+Operators.swift
[14/62] Emitting module FootlessParser
[15/62] Compiling FootlessParser Converters.swift
[16/62] Compiling FootlessParser Error.swift
[17/62] Compiling ReactiveSwift Flatten.swift
[18/62] Compiling ReactiveSwift FoundationExtensions.swift
[19/62] Compiling ReactiveSwift Lifetime.swift
[20/62] Compiling ReactiveSwift AttemptMap.swift
[21/62] Compiling ReactiveSwift Collect.swift
[22/62] Compiling ReactiveSwift CollectEvery.swift
[23/62] Compiling ReactiveSwift CombinePrevious.swift
[24/62] Compiling ReactiveSwift UniqueValues.swift
[25/62] Compiling ReactiveSwift Optional.swift
[26/62] Compiling ReactiveSwift Property.swift
[27/62] Compiling ReactiveSwift Reactive.swift
[28/62] Compiling ReactiveSwift ResultExtensions.swift
[29/62] Compiling ReactiveSwift Scheduler.swift
[30/62] Compiling ReactiveSwift CompactMap.swift
[31/62] Compiling ReactiveSwift Debounce.swift
[32/62] Compiling ReactiveSwift Delay.swift
[33/62] Compiling ReactiveSwift Dematerialize.swift
[34/62] Compiling ReactiveSwift DematerializeResults.swift
[35/62] Compiling ReactiveSwift Filter.swift
[36/62] Compiling ReactiveSwift SkipWhile.swift
[37/62] Compiling ReactiveSwift TakeFirst.swift
[38/62] Compiling ReactiveSwift TakeLast.swift
[39/62] Compiling ReactiveSwift TakeWhile.swift
[40/62] Compiling ReactiveSwift Throttle.swift
[41/62] Compiling ReactiveSwift UnaryAsyncOperator.swift
[42/62] Compiling ReactiveSwift Observer.swift
[43/62] Compiling ReactiveSwift Operators.swift
[44/62] Compiling ReactiveSwift Reduce.swift
[45/62] Compiling ReactiveSwift ScanMap.swift
[46/62] Compiling ReactiveSwift SkipFirst.swift
[47/62] Compiling ReactiveSwift SkipRepeats.swift
[48/62] Compiling ReactiveSwift Action.swift
[49/62] Compiling ReactiveSwift Atomic.swift
[50/62] Compiling ReactiveSwift Bag.swift
[51/62] Compiling ReactiveSwift Deprecations+Removals.swift
[52/62] Compiling ReactiveSwift Disposable.swift
[53/62] Compiling ReactiveSwift Event.swift
[54/62] Compiling ReactiveSwift EventLogger.swift
[55/62] Compiling FootlessParser Parsers.swift
[56/62] Compiling FootlessParser StringParser.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 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
[66/71] Compiling ReactiveSSE SSError.swift
[67/71] Compiling ReactiveSSE SSEvent.swift
[68/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/71] Compiling ReactiveSSE EventStream.swift
[70/71] Compiling ReactiveSSE ReactiveOperator.swift
[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