The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ReactiveSSE, reference 0.4.0 (4370ee), 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-1":/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: 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.0
Building package at path:  $PWD
https://github.com/banjun/ReactiveSSE.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/ReactiveCocoa/ReactiveSwift
Fetching https://github.com/kareman/FootlessParser
[1/1836] Fetching footlessparser
[1837/54274] Fetching footlessparser, reactiveswift
Fetched https://github.com/kareman/FootlessParser from cache (2.08s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift from cache (2.11s)
Computing version for https://github.com/kareman/FootlessParser
Computed https://github.com/kareman/FootlessParser at 0.5.2 (2.23s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift
Computed https://github.com/ReactiveCocoa/ReactiveSwift at 6.7.0 (0.49s)
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 ReactiveSwift LazyMap.swift
[6/56] Compiling ReactiveSwift Map.swift
[7/56] Compiling ReactiveSwift MapError.swift
[8/56] Compiling ReactiveSwift Materialize.swift
[9/56] Compiling ReactiveSwift MaterializeAsResult.swift
[10/56] Compiling ReactiveSwift ObserveOn.swift
[11/56] Compiling ReactiveSwift Observer.swift
[12/56] Compiling ReactiveSwift Operators.swift
[13/56] Compiling ReactiveSwift Reduce.swift
[14/56] Compiling ReactiveSwift ScanMap.swift
[15/56] Compiling ReactiveSwift SkipFirst.swift
[16/56] Compiling ReactiveSwift SkipRepeats.swift
[17/62] Compiling ReactiveSwift UniqueValues.swift
[18/62] Compiling ReactiveSwift Optional.swift
[19/62] Compiling ReactiveSwift Property.swift
[20/62] Compiling ReactiveSwift Reactive.swift
[21/62] Compiling ReactiveSwift ResultExtensions.swift
[22/62] Compiling ReactiveSwift Scheduler.swift
[23/62] Compiling FootlessParser Converters.swift
[24/62] Compiling FootlessParser Error.swift
[25/62] Compiling FootlessParser Parser.swift
[26/62] Emitting module FootlessParser
[27/62] Compiling FootlessParser Parser+Operators.swift
[28/62] Compiling FootlessParser Parsers.swift
[29/62] Compiling ReactiveSwift CompactMap.swift
[30/62] Compiling ReactiveSwift Debounce.swift
[31/62] Compiling ReactiveSwift Delay.swift
[32/62] Compiling ReactiveSwift Dematerialize.swift
[33/62] Compiling ReactiveSwift DematerializeResults.swift
[34/62] Compiling ReactiveSwift Filter.swift
[35/62] Compiling FootlessParser StringParser.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/63] Compiling ReactiveSwift Flatten.swift
[43/63] Compiling ReactiveSwift FoundationExtensions.swift
[44/63] Compiling ReactiveSwift Lifetime.swift
[45/63] Compiling ReactiveSwift AttemptMap.swift
[46/63] Compiling ReactiveSwift Collect.swift
[47/63] Compiling ReactiveSwift CollectEvery.swift
[48/63] Compiling ReactiveSwift CombinePrevious.swift
[49/63] Emitting module ReactiveSwift
[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 SSEvent.swift
[66/71] Compiling ReactiveSSE SSError.swift
[67/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
[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 |
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/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
[71/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
BUILD FAILURE 6.0 linux