Build Information
Failed to build ReactiveSSE, reference master (13b5d3
), with Swift 6.0 for Linux on 31 Oct 2024 15:34:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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.0
Building package at path: $PWD
https://github.com/banjun/ReactiveSSE.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/kareman/FootlessParser
Fetching https://github.com/ReactiveCocoa/ReactiveSwift
[1/1836] Fetching footlessparser
[699/54274] Fetching footlessparser, reactiveswift
Fetched https://github.com/kareman/FootlessParser from cache (0.35s)
[8915/52438] Fetching reactiveswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift from cache (2.05s)
Computing version for https://github.com/kareman/FootlessParser
Computed https://github.com/kareman/FootlessParser at 0.5.2 (2.11s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift
Computed https://github.com/ReactiveCocoa/ReactiveSwift at 6.7.0 (0.50s)
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 FootlessParser
[6/56] Emitting module ReactiveSwift
[7/62] Compiling FootlessParser Converters.swift
[8/62] Compiling ReactiveSwift LazyMap.swift
[9/62] Compiling ReactiveSwift Map.swift
[10/62] Compiling ReactiveSwift MapError.swift
[11/62] Compiling ReactiveSwift Materialize.swift
[12/62] Compiling ReactiveSwift MaterializeAsResult.swift
[13/62] Compiling ReactiveSwift ObserveOn.swift
[14/62] Compiling FootlessParser Parser.swift
[15/62] Compiling FootlessParser Parser+Operators.swift
[16/62] Compiling ReactiveSwift Flatten.swift
[17/62] Compiling ReactiveSwift FoundationExtensions.swift
[18/62] Compiling ReactiveSwift Lifetime.swift
[19/62] Compiling ReactiveSwift AttemptMap.swift
[20/62] Compiling ReactiveSwift Collect.swift
[21/62] Compiling ReactiveSwift CollectEvery.swift
[22/62] Compiling ReactiveSwift CombinePrevious.swift
[23/62] Compiling FootlessParser Error.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 FootlessParser Parsers.swift
[31/62] Compiling FootlessParser StringParser.swift
[32/63] Compiling ReactiveSwift Observer.swift
[33/63] Compiling ReactiveSwift Operators.swift
[34/63] Compiling ReactiveSwift Reduce.swift
[35/63] Compiling ReactiveSwift ScanMap.swift
[36/63] Compiling ReactiveSwift SkipFirst.swift
[37/63] Compiling ReactiveSwift SkipRepeats.swift
[38/63] Compiling ReactiveSwift CompactMap.swift
[39/63] Compiling ReactiveSwift Debounce.swift
[40/63] Compiling ReactiveSwift Delay.swift
[41/63] Compiling ReactiveSwift Dematerialize.swift
[42/63] Compiling ReactiveSwift DematerializeResults.swift
[43/63] Compiling ReactiveSwift Filter.swift
[44/63] Compiling ReactiveSwift SkipWhile.swift
[45/63] Compiling ReactiveSwift TakeFirst.swift
[46/63] Compiling ReactiveSwift TakeLast.swift
[47/63] Compiling ReactiveSwift TakeWhile.swift
[48/63] Compiling ReactiveSwift Throttle.swift
[49/63] Compiling ReactiveSwift UnaryAsyncOperator.swift
[50/63] Compiling ReactiveSwift Action.swift
[51/63] Compiling ReactiveSwift Atomic.swift
[52/63] Compiling ReactiveSwift Bag.swift
[53/63] Compiling ReactiveSwift Deprecations+Removals.swift
[54/63] Compiling ReactiveSwift Disposable.swift
[55/63] Compiling ReactiveSwift Event.swift
[56/63] Compiling ReactiveSwift EventLogger.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
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:17:16: warning: static property 'nameChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
| `- warning: static property 'nameChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
1 | import FootlessParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
2 |
3 | // https://html.spec.whatwg.org/multipage/server-sent-events.html
:
15 | }
16 |
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
| |- note: annotate 'nameChar' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:18:16: warning: static property 'anyChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
| |- warning: static property 'anyChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyChar' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let space: Parser<Character, Character> = char(" ")
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:19:16: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:20:16: warning: static property 'eol' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
| |- warning: static property 'eol' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eol' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:21:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let space: Parser<Character, Character> = char(" ")
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:22:16: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:23:16: warning: static property 'event' is not concurrency-safe because non-'Sendable' type 'Parser<Character, [EventStream.Event]>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
| |- warning: static property 'event' is not concurrency-safe because non-'Sendable' type 'Parser<Character, [EventStream.Event]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'event' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:24:16: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Comment>' (aka 'Parser<Character, String>') may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
| |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Comment>' (aka 'Parser<Character, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'comment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
26 | }
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:25:16: warning: static property 'field' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Field>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
| |- warning: static property 'field' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Field>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
[69/71] Compiling ReactiveSSE ReactiveOperator.swift
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:23:16: warning: static property 'event' is not concurrency-safe because non-'Sendable' type 'Parser<Character, [EventStream.Event]>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
| `- warning: static property 'event' is not concurrency-safe because non-'Sendable' type 'Parser<Character, [EventStream.Event]>' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
1 | import FootlessParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
2 |
3 | // https://html.spec.whatwg.org/multipage/server-sent-events.html
:
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
| |- note: annotate 'event' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
[70/71] Emitting module ReactiveSSE
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:17:16: warning: static property 'nameChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
| `- warning: static property 'nameChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
1 | import FootlessParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
2 |
3 | // https://html.spec.whatwg.org/multipage/server-sent-events.html
:
15 | }
16 |
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
| |- note: annotate 'nameChar' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:18:16: warning: static property 'anyChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
| |- warning: static property 'anyChar' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyChar' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let space: Parser<Character, Character> = char(" ")
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:19:16: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let nameChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n", ":"])
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:20:16: warning: static property 'eol' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let anyChar: Parser<Character, Character> = noneOf(["\r\n", "\r", "\n"])
19 | static let space: Parser<Character, Character> = char(" ")
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
| |- warning: static property 'eol' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eol' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:21:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let space: Parser<Character, Character> = char(" ")
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:22:16: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let eol: Parser<Character, Character> = oneOf(["\r\n", "\r", "\n"])
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Parser<Character, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:23:16: warning: static property 'event' is not concurrency-safe because non-'Sendable' type 'Parser<Character, [EventStream.Event]>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let name: Parser<Character, String> = oneOrMore(nameChar)
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
| |- warning: static property 'event' is not concurrency-safe because non-'Sendable' type 'Parser<Character, [EventStream.Event]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'event' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:24:16: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Comment>' (aka 'Parser<Character, String>') may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let value: Parser<Character, String> = zeroOrMore(anyChar)
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
| |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Comment>' (aka 'Parser<Character, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'comment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
26 | }
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/host/spi-builder-workspace/ReactiveSSE/Classes/EventStream.swift:25:16: warning: static property 'field' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Field>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | static let event: Parser<Character, [Event]> = zeroOrMore((Event.comment <^> comment) <|> (Event.field <^> field)) <* eol
24 | static let comment: Parser<Character, Comment> = (char(":") *> value <* eol)
25 | static let field: Parser<Character, Field> = curry(Field.init) <^> name <* char(":") <* optional(space) <*> value <* eol
| |- warning: static property 'field' is not concurrency-safe because non-'Sendable' type 'Parser<Character, EventStream.Field>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'field' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/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
[71/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
BUILD FAILURE 6.0 linux