This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.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:  $workDir
https://github.com/banjun/ReactiveSSE.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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
Fetching https://github.com/kareman/FootlessParser
Fetching https://github.com/ReactiveCocoa/ReactiveSwift
[1/1836] Fetching footlessparser
[1195/54274] Fetching footlessparser, reactiveswift
Fetched https://github.com/kareman/FootlessParser from cache (1.66s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift from cache (1.69s)
Computing version for https://github.com/kareman/FootlessParser
Computed https://github.com/kareman/FootlessParser at 0.5.2 (1.07s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift
Computed https://github.com/ReactiveCocoa/ReactiveSwift at 6.6.0 (0.46s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift resolved at 6.6.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/50] Compiling ReactiveSwift CombinePrevious.swift
[6/50] Compiling ReactiveSwift CompactMap.swift
[7/50] Compiling ReactiveSwift Dematerialize.swift
[8/50] Compiling ReactiveSwift DematerializeResults.swift
[9/50] Compiling ReactiveSwift Filter.swift
[10/50] Compiling ReactiveSwift Map.swift
[11/55] Compiling ReactiveSwift MapError.swift
[12/55] Compiling ReactiveSwift Materialize.swift
[13/55] Compiling ReactiveSwift MaterializeAsResult.swift
[14/55] Compiling ReactiveSwift Observer.swift
[15/55] Compiling ReactiveSwift Operators.swift
[16/55] Compiling ReactiveSwift Reduce.swift
[17/55] Compiling ReactiveSwift ScanMap.swift
[18/55] Compiling ReactiveSwift SkipFirst.swift
[19/55] Compiling ReactiveSwift SkipRepeats.swift
[20/55] Compiling ReactiveSwift SkipWhile.swift
[21/55] Compiling FootlessParser Error.swift
[22/55] Emitting module FootlessParser
[23/55] Compiling FootlessParser Converters.swift
[24/55] Emitting module ReactiveSwift
[25/55] Compiling FootlessParser Parser.swift
[26/55] Compiling FootlessParser StringParser.swift
[27/55] Compiling FootlessParser Parser+Operators.swift
[28/55] Compiling ReactiveSwift EventLogger.swift
[29/55] Compiling ReactiveSwift Flatten.swift
[30/55] Compiling ReactiveSwift FoundationExtensions.swift
[31/55] Compiling ReactiveSwift Lifetime.swift
[32/55] Compiling ReactiveSwift AttemptMap.swift
[33/55] Compiling ReactiveSwift Collect.swift
[34/55] Compiling ReactiveSwift Action.swift
[35/55] Compiling ReactiveSwift Atomic.swift
[36/55] Compiling ReactiveSwift Bag.swift
[37/55] Compiling ReactiveSwift Deprecations+Removals.swift
[38/55] Compiling ReactiveSwift Disposable.swift
[39/55] Compiling ReactiveSwift Event.swift
[40/55] Compiling FootlessParser Parsers.swift
[42/56] Compiling ReactiveSwift TakeFirst.swift
[43/56] Compiling ReactiveSwift TakeLast.swift
[44/56] Compiling ReactiveSwift TakeWhile.swift
[45/56] Compiling ReactiveSwift UniqueValues.swift
[46/56] Compiling ReactiveSwift Optional.swift
[47/56] Compiling ReactiveSwift Property.swift
[48/56] Compiling ReactiveSwift Reactive.swift
[49/56] Compiling ReactiveSwift ResultExtensions.swift
[50/56] Compiling ReactiveSwift Scheduler.swift
[51/56] Compiling ReactiveSwift Signal.Observer.swift
[52/56] Compiling ReactiveSwift Signal.swift
[53/56] Compiling ReactiveSwift SignalProducer.swift
[54/56] Compiling ReactiveSwift UnidirectionalBinding.swift
[55/56] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[56/56] Compiling ReactiveSwift ValidatingProperty.swift
[58/64] Compiling ReactiveSSE SSEvent.swift
[59/64] 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 |
[60/64] Compiling ReactiveSSE SSError.swift
[61/64] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/64] 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
[63/64] 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
[64/64] 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
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.