Build Information
Successful build of HLSCore, reference master (283520
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 05:04:27 UTC.
Swift 6 data race errors: 59
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
107 |
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
| |- warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumeratedString' 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
109 |
110 | let decimalResolution = AttributeValue.init <^> TypeParser.resolution
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:19:16: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, HexadecimalSequence>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
| `- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, HexadecimalSequence>' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Raw Type Parsers
:
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
| |- note: annotate 'hex' 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 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:21:16: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
20 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' 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 |
23 | static let signedFloat = ({ SignedFloat($0)! } <^> BasicParser.negation.optional.followed(by: BasicParser.floatingPointString) { (neg, num) -> String in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:23:16: warning: static property 'signedFloat' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, SignedFloat>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
22 |
23 | static let signedFloat = ({ SignedFloat($0)! } <^> BasicParser.negation.optional.followed(by: BasicParser.floatingPointString) { (neg, num) -> String in
| |- warning: static property 'signedFloat' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, SignedFloat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedFloat' 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 | (neg ?? "") + num
25 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:27:16: warning: static property 'quoteString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, QuotedString>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | })
26 |
27 | static let quoteString = { QuotedString($0) } <^> BasicParser.quote *> CharacterSet.forQuotedString.parser().many <* BasicParser.quote
| |- warning: static property 'quoteString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, QuotedString>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quoteString' 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
28 |
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:29:16: warning: static property 'enumString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, EnumeratedString>' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let quoteString = { QuotedString($0) } <^> BasicParser.quote *> CharacterSet.forQuotedString.parser().many <* BasicParser.quote
28 |
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
| |- warning: static property 'enumString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, EnumeratedString>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumString' 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
30 |
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:31:16: warning: static property 'resolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Resolution>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
30 |
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
| |- warning: static property 'resolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Resolution>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resolution' 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
32 |
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/MediaPlaylistParser.swift:13:5: warning: let 'newlines' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, [Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import FFCParserCombinator
12 |
13 | let newlines = BasicParser.newline.many1
| `- warning: let 'newlines' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, [Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | private struct OpenMediaSegment {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/MediaPlaylistParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | let newlines = BasicParser.newline.many1
| |- note: annotate 'newlines' 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
14 |
15 | private struct OpenMediaSegment {
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:19:20: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | enum Playlist {
18 |
19 | static let TagParser = AnyTag.playlist <^> EXTVERSION
| `- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | <|> EXTXINDEPENDENTSEGMENTS
21 | <|> URLPseudoTag
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | enum HLS {
:
17 | enum Playlist {
18 |
19 | static let TagParser = AnyTag.playlist <^> EXTVERSION
| |- note: annotate 'TagParser' 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 | <|> EXTXINDEPENDENTSEGMENTS
21 | <|> URLPseudoTag
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:26:20: warning: static property 'EXTVERSION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
25 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
| |- warning: static property 'EXTVERSION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTVERSION' 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
27 |
28 | static let EXTXINDEPENDENTSEGMENTS = { _ in Tag.independentSegments } <^> "#EXT-X-INDEPENDENT-SEGMENTS"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:28:20: warning: static property 'EXTXINDEPENDENTSEGMENTS' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
27 |
28 | static let EXTXINDEPENDENTSEGMENTS = { _ in Tag.independentSegments } <^> "#EXT-X-INDEPENDENT-SEGMENTS"
| |- warning: static property 'EXTXINDEPENDENTSEGMENTS' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXINDEPENDENTSEGMENTS' 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
29 |
30 | static let EXTXSTART = Tag.startIndicator <^> ( StartIndicator.init <^!> ( "#EXT-X-START:" *> attributeList ))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:34:20: warning: static property 'URLPseudoTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | static let COMMENT = Tag.comment <^> "#" *> ({ (chars: [Character]) in String(chars) } <^> CharacterSet(charactersIn: "\r\n").inverted.parser().many)
33 |
34 | static let URLPseudoTag = Tag.url <^> TypeParser.url
| |- warning: static property 'URLPseudoTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'URLPseudoTag' 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
35 |
36 | enum Master {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:32:20: warning: static property 'COMMENT' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let EXTXSTART = Tag.startIndicator <^> ( StartIndicator.init <^!> ( "#EXT-X-START:" *> attributeList ))
31 |
32 | static let COMMENT = Tag.comment <^> "#" *> ({ (chars: [Character]) in String(chars) } <^> CharacterSet(charactersIn: "\r\n").inverted.parser().many)
| |- warning: static property 'COMMENT' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' 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
33 |
34 | static let URLPseudoTag = Tag.url <^> TypeParser.url
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:24:20: warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | <|> COMMENT
23 |
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
| |- warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'StartTag' 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 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:30:20: warning: static property 'EXTXSTART' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
28 | static let EXTXINDEPENDENTSEGMENTS = { _ in Tag.independentSegments } <^> "#EXT-X-INDEPENDENT-SEGMENTS"
29 |
30 | static let EXTXSTART = Tag.startIndicator <^> ( StartIndicator.init <^!> ( "#EXT-X-START:" *> attributeList ))
| |- warning: static property 'EXTXSTART' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSTART' 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
31 |
32 | static let COMMENT = Tag.comment <^> "#" *> ({ (chars: [Character]) in String(chars) } <^> CharacterSet(charactersIn: "\r\n").inverted.parser().many)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:17:16: warning: static property 'url' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | struct TypeParser {
16 |
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
| |- warning: static property 'url' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'url' 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 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:37:24: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum Master {
37 | static let TagParser = MasterTagParser <|> Playlist.TagParser
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
38 |
39 | static let MasterTagParser = AnyTag.master <^> EXTXMEDIA
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:39:24: warning: static property 'MasterTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let TagParser = MasterTagParser <|> Playlist.TagParser
38 |
39 | static let MasterTagParser = AnyTag.master <^> EXTXMEDIA
| |- warning: static property 'MasterTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MasterTagParser' 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
40 | <|> EXTXSTREAMINF
41 | <|> EXTXIFRAMESTREAMINF
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:45:24: warning: static property 'EXTXMEDIA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
43 | <|> EXTXSESSIONKEY
44 |
45 | static let EXTXMEDIA = Tag.MasterPlaylist.media <^> ( Rendition.init <^!> "#EXT-X-MEDIA:" *> attributeList)
| |- warning: static property 'EXTXMEDIA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXMEDIA' 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
46 |
47 | static let EXTXSTREAMINF = Tag.MasterPlaylist.streamInfo <^> ( StreamInfo.init <^!> "#EXT-X-STREAM-INF:" *> attributeList <* BasicParser.newline.many <&> TypeParser.url)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:47:24: warning: static property 'EXTXSTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
45 | static let EXTXMEDIA = Tag.MasterPlaylist.media <^> ( Rendition.init <^!> "#EXT-X-MEDIA:" *> attributeList)
46 |
47 | static let EXTXSTREAMINF = Tag.MasterPlaylist.streamInfo <^> ( StreamInfo.init <^!> "#EXT-X-STREAM-INF:" *> attributeList <* BasicParser.newline.many <&> TypeParser.url)
| |- warning: static property 'EXTXSTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSTREAMINF' 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
48 |
49 | static let EXTXIFRAMESTREAMINF = Tag.MasterPlaylist.iFramesStreamInfo <^> "#EXT-X-I-FRAME-STREAM-INF:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:49:24: warning: static property 'EXTXIFRAMESTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | static let EXTXSTREAMINF = Tag.MasterPlaylist.streamInfo <^> ( StreamInfo.init <^!> "#EXT-X-STREAM-INF:" *> attributeList <* BasicParser.newline.many <&> TypeParser.url)
48 |
49 | static let EXTXIFRAMESTREAMINF = Tag.MasterPlaylist.iFramesStreamInfo <^> "#EXT-X-I-FRAME-STREAM-INF:" *> attributeList
| |- warning: static property 'EXTXIFRAMESTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXIFRAMESTREAMINF' 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
50 |
51 | static let EXTXSESSIONDATA = Tag.MasterPlaylist.sessionData <^> "#EXT-X-SESSION-DATA:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:51:24: warning: static property 'EXTXSESSIONDATA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
49 | static let EXTXIFRAMESTREAMINF = Tag.MasterPlaylist.iFramesStreamInfo <^> "#EXT-X-I-FRAME-STREAM-INF:" *> attributeList
50 |
51 | static let EXTXSESSIONDATA = Tag.MasterPlaylist.sessionData <^> "#EXT-X-SESSION-DATA:" *> attributeList
| |- warning: static property 'EXTXSESSIONDATA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSESSIONDATA' 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
52 |
53 | static let EXTXSESSIONKEY = Tag.MasterPlaylist.sessionKey <^> "#EXT-X-SESSION-KEY:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:53:24: warning: static property 'EXTXSESSIONKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let EXTXSESSIONDATA = Tag.MasterPlaylist.sessionData <^> "#EXT-X-SESSION-DATA:" *> attributeList
52 |
53 | static let EXTXSESSIONKEY = Tag.MasterPlaylist.sessionKey <^> "#EXT-X-SESSION-KEY:" *> attributeList
| |- warning: static property 'EXTXSESSIONKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSESSIONKEY' 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
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:58:24: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
56 | enum Media {
57 |
58 | static let TagParser = MediaTagParser <|> Segment.TagParser <|> Playlist.TagParser
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
59 |
60 | static let MediaTagParser = AnyTag.media <^> EXTXTARGETDURATION
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:60:24: warning: static property 'MediaTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | static let TagParser = MediaTagParser <|> Segment.TagParser <|> Playlist.TagParser
59 |
60 | static let MediaTagParser = AnyTag.media <^> EXTXTARGETDURATION
| |- warning: static property 'MediaTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MediaTagParser' 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
61 | <|> EXTXMEDIASEQUENCE
62 | <|> EXTXDISCONTINUITYSEQUENCE
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:81:28: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
79 | enum Segment {
80 |
81 | static let TagParser = AnyTag.segment <^> EXTINF
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
82 | <|> EXTXBYTERANGE
83 | <|> EXTXDISCONTINUITY
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:67:24: warning: static property 'EXTXTARGETDURATION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | <|> EXTXIFRAMESONLY
66 |
67 | static let EXTXTARGETDURATION = Tag.MediaPlaylist.targetDuration <^> "#EXT-X-TARGETDURATION:" *> decimalInteger
| |- warning: static property 'EXTXTARGETDURATION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXTARGETDURATION' 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
68 |
69 | static let EXTXMEDIASEQUENCE = Tag.MediaPlaylist.mediaSequence <^> "#EXT-X-MEDIA-SEQUENCE:" *> decimalInteger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:69:24: warning: static property 'EXTXMEDIASEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
67 | static let EXTXTARGETDURATION = Tag.MediaPlaylist.targetDuration <^> "#EXT-X-TARGETDURATION:" *> decimalInteger
68 |
69 | static let EXTXMEDIASEQUENCE = Tag.MediaPlaylist.mediaSequence <^> "#EXT-X-MEDIA-SEQUENCE:" *> decimalInteger
| |- warning: static property 'EXTXMEDIASEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXMEDIASEQUENCE' 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
70 |
71 | static let EXTXDISCONTINUITYSEQUENCE = Tag.MediaPlaylist.discontinuitySequence <^> "#EXT-X-DISCONTINUITY-SEQUENCE:" *> decimalInteger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:71:24: warning: static property 'EXTXDISCONTINUITYSEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
69 | static let EXTXMEDIASEQUENCE = Tag.MediaPlaylist.mediaSequence <^> "#EXT-X-MEDIA-SEQUENCE:" *> decimalInteger
70 |
71 | static let EXTXDISCONTINUITYSEQUENCE = Tag.MediaPlaylist.discontinuitySequence <^> "#EXT-X-DISCONTINUITY-SEQUENCE:" *> decimalInteger
| |- warning: static property 'EXTXDISCONTINUITYSEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXDISCONTINUITYSEQUENCE' 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
72 |
73 | static let EXTXENDLIST = { _ in Tag.MediaPlaylist.endList } <^> "#EXT-X-ENDLIST"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:73:24: warning: static property 'EXTXENDLIST' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
71 | static let EXTXDISCONTINUITYSEQUENCE = Tag.MediaPlaylist.discontinuitySequence <^> "#EXT-X-DISCONTINUITY-SEQUENCE:" *> decimalInteger
72 |
73 | static let EXTXENDLIST = { _ in Tag.MediaPlaylist.endList } <^> "#EXT-X-ENDLIST"
| |- warning: static property 'EXTXENDLIST' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXENDLIST' 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
74 |
75 | static let EXTXPLAYLISTTYPE = Tag.MediaPlaylist.playlistType <^> "#EXT-X-PLAYLIST-TYPE:" *> enumeratedString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:75:24: warning: static property 'EXTXPLAYLISTTYPE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
73 | static let EXTXENDLIST = { _ in Tag.MediaPlaylist.endList } <^> "#EXT-X-ENDLIST"
74 |
75 | static let EXTXPLAYLISTTYPE = Tag.MediaPlaylist.playlistType <^> "#EXT-X-PLAYLIST-TYPE:" *> enumeratedString
| |- warning: static property 'EXTXPLAYLISTTYPE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXPLAYLISTTYPE' 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
76 |
77 | static let EXTXIFRAMESONLY = { _ in Tag.MediaPlaylist.iFramesOnly } <^> "#EXT-X-I-FRAMES-ONLY"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:77:24: warning: static property 'EXTXIFRAMESONLY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | static let EXTXPLAYLISTTYPE = Tag.MediaPlaylist.playlistType <^> "#EXT-X-PLAYLIST-TYPE:" *> enumeratedString
76 |
77 | static let EXTXIFRAMESONLY = { _ in Tag.MediaPlaylist.iFramesOnly } <^> "#EXT-X-I-FRAMES-ONLY"
| |- warning: static property 'EXTXIFRAMESONLY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXIFRAMESONLY' 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
78 |
79 | enum Segment {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:89:28: warning: static property 'EXTINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
87 | <|> EXTXDATERANGE
88 |
89 | static let EXTINF = Tag.MediaPlaylist.Segment.inf <^>
| |- warning: static property 'EXTINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTINF' 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
90 | "#EXTINF:" *> (( decimalFloatingPoint <|> decimalInteger ) <* ","
91 | <&> ({ String($0) } <^> (CharacterSet.newlines.inverted).parser().many1).optional)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:93:28: warning: static property 'EXTXBYTERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
91 | <&> ({ String($0) } <^> (CharacterSet.newlines.inverted).parser().many1).optional)
92 |
93 | static let EXTXBYTERANGE = Tag.MediaPlaylist.Segment.byteRange <^> ( "#EXT-X-BYTERANGE:" *> TypeParser.byteRange )
| |- warning: static property 'EXTXBYTERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXBYTERANGE' 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
94 |
95 | static let EXTXDISCONTINUITY = { _ in Tag.MediaPlaylist.Segment.discontinuity } <^> "#EXT-X-DISCONTINUITY"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:95:28: warning: static property 'EXTXDISCONTINUITY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
93 | static let EXTXBYTERANGE = Tag.MediaPlaylist.Segment.byteRange <^> ( "#EXT-X-BYTERANGE:" *> TypeParser.byteRange )
94 |
95 | static let EXTXDISCONTINUITY = { _ in Tag.MediaPlaylist.Segment.discontinuity } <^> "#EXT-X-DISCONTINUITY"
| |- warning: static property 'EXTXDISCONTINUITY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXDISCONTINUITY' 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
96 |
97 | static let EXTXKEY = Tag.MediaPlaylist.Segment.key <^> (DecryptionKey.init <^!> "#EXT-X-KEY:" *> attributeList )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:97:28: warning: static property 'EXTXKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
95 | static let EXTXDISCONTINUITY = { _ in Tag.MediaPlaylist.Segment.discontinuity } <^> "#EXT-X-DISCONTINUITY"
96 |
97 | static let EXTXKEY = Tag.MediaPlaylist.Segment.key <^> (DecryptionKey.init <^!> "#EXT-X-KEY:" *> attributeList )
| |- warning: static property 'EXTXKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXKEY' 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
98 |
99 | static let EXTXMAP = Tag.MediaPlaylist.Segment.map <^> ( MediaInitializationSection.init <^!> "#EXT-X-MAP:" *> attributeList )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:99:28: warning: static property 'EXTXMAP' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
97 | static let EXTXKEY = Tag.MediaPlaylist.Segment.key <^> (DecryptionKey.init <^!> "#EXT-X-KEY:" *> attributeList )
98 |
99 | static let EXTXMAP = Tag.MediaPlaylist.Segment.map <^> ( MediaInitializationSection.init <^!> "#EXT-X-MAP:" *> attributeList )
| |- warning: static property 'EXTXMAP' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXMAP' 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
100 |
101 | static let EXTXPROGRAMDATETIME = Tag.MediaPlaylist.Segment.programDateTime <^> "#EXT-X-PROGRAM-DATE-TIME:" *> TypeParser.date
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:101:28: warning: static property 'EXTXPROGRAMDATETIME' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
99 | static let EXTXMAP = Tag.MediaPlaylist.Segment.map <^> ( MediaInitializationSection.init <^!> "#EXT-X-MAP:" *> attributeList )
100 |
101 | static let EXTXPROGRAMDATETIME = Tag.MediaPlaylist.Segment.programDateTime <^> "#EXT-X-PROGRAM-DATE-TIME:" *> TypeParser.date
| |- warning: static property 'EXTXPROGRAMDATETIME' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXPROGRAMDATETIME' 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
102 |
103 | static let EXTXDATERANGE = Tag.MediaPlaylist.Segment.dateRange <^> "#EXT-X-DATERANGE:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:103:28: warning: static property 'EXTXDATERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
101 | static let EXTXPROGRAMDATETIME = Tag.MediaPlaylist.Segment.programDateTime <^> "#EXT-X-PROGRAM-DATE-TIME:" *> TypeParser.date
102 |
103 | static let EXTXDATERANGE = Tag.MediaPlaylist.Segment.dateRange <^> "#EXT-X-DATERANGE:" *> attributeList
| |- warning: static property 'EXTXDATERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXDATERANGE' 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
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:35:16: warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
| |- warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteRange' 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
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:33:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Date?>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
32 |
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Date?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:38:48: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | @available(iOS 10.0, OSX 10.12, *) private let dateFormatter = ISO8601DateFormatter()
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
39 |
40 | private let legacyFormatter: DateFormatter = {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[20/29] Compiling Parsing TypeParsers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:17:16: warning: static property 'url' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | struct TypeParser {
16 |
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
| `- warning: static property 'url' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Raw Type Parsers
:
15 | struct TypeParser {
16 |
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
| |- note: annotate 'url' 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 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:19:16: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, HexadecimalSequence>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
| |- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, HexadecimalSequence>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hex' 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 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:21:16: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
20 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' 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 |
23 | static let signedFloat = ({ SignedFloat($0)! } <^> BasicParser.negation.optional.followed(by: BasicParser.floatingPointString) { (neg, num) -> String in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:23:16: warning: static property 'signedFloat' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, SignedFloat>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
22 |
23 | static let signedFloat = ({ SignedFloat($0)! } <^> BasicParser.negation.optional.followed(by: BasicParser.floatingPointString) { (neg, num) -> String in
| |- warning: static property 'signedFloat' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, SignedFloat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedFloat' 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 | (neg ?? "") + num
25 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:27:16: warning: static property 'quoteString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, QuotedString>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | })
26 |
27 | static let quoteString = { QuotedString($0) } <^> BasicParser.quote *> CharacterSet.forQuotedString.parser().many <* BasicParser.quote
| |- warning: static property 'quoteString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, QuotedString>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quoteString' 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
28 |
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:29:16: warning: static property 'enumString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, EnumeratedString>' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let quoteString = { QuotedString($0) } <^> BasicParser.quote *> CharacterSet.forQuotedString.parser().many <* BasicParser.quote
28 |
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
| |- warning: static property 'enumString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, EnumeratedString>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumString' 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
30 |
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:31:16: warning: static property 'resolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Resolution>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
30 |
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
| |- warning: static property 'resolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Resolution>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resolution' 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
32 |
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:33:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Date?>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
32 |
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Date?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:35:16: warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
| |- warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteRange' 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
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:38:48: warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | @available(iOS 10.0, OSX 10.12, *) private let dateFormatter = ISO8601DateFormatter()
| |- warning: let 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
39 |
40 | private let legacyFormatter: DateFormatter = {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
[21/29] Compiling Parsing MasterPlaylistParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:24:20: warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | <|> COMMENT
23 |
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
| `- warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | enum HLS {
:
22 | <|> COMMENT
23 |
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
| |- note: annotate 'StartTag' 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 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/MediaPlaylistParser.swift:13:5: warning: let 'newlines' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, [Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import FFCParserCombinator
12 |
13 | let newlines = BasicParser.newline.many1
| `- warning: let 'newlines' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, [Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | private struct OpenMediaSegment {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/MediaPlaylistParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | let newlines = BasicParser.newline.many1
| |- note: annotate 'newlines' 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
14 |
15 | private struct OpenMediaSegment {
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:37:24: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum Master {
37 | static let TagParser = MasterTagParser <|> Playlist.TagParser
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
38 |
39 | static let MasterTagParser = AnyTag.master <^> EXTXMEDIA
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
[22/29] Compiling Parsing Tags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:19:20: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | enum Playlist {
18 |
19 | static let TagParser = AnyTag.playlist <^> EXTVERSION
| `- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
20 | <|> EXTXINDEPENDENTSEGMENTS
21 | <|> URLPseudoTag
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | enum HLS {
:
17 | enum Playlist {
18 |
19 | static let TagParser = AnyTag.playlist <^> EXTVERSION
| |- note: annotate 'TagParser' 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 | <|> EXTXINDEPENDENTSEGMENTS
21 | <|> URLPseudoTag
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:26:20: warning: static property 'EXTVERSION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
25 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
| |- warning: static property 'EXTVERSION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTVERSION' 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
27 |
28 | static let EXTXINDEPENDENTSEGMENTS = { _ in Tag.independentSegments } <^> "#EXT-X-INDEPENDENT-SEGMENTS"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:28:20: warning: static property 'EXTXINDEPENDENTSEGMENTS' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
27 |
28 | static let EXTXINDEPENDENTSEGMENTS = { _ in Tag.independentSegments } <^> "#EXT-X-INDEPENDENT-SEGMENTS"
| |- warning: static property 'EXTXINDEPENDENTSEGMENTS' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXINDEPENDENTSEGMENTS' 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
29 |
30 | static let EXTXSTART = Tag.startIndicator <^> ( StartIndicator.init <^!> ( "#EXT-X-START:" *> attributeList ))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:34:20: warning: static property 'URLPseudoTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | static let COMMENT = Tag.comment <^> "#" *> ({ (chars: [Character]) in String(chars) } <^> CharacterSet(charactersIn: "\r\n").inverted.parser().many)
33 |
34 | static let URLPseudoTag = Tag.url <^> TypeParser.url
| |- warning: static property 'URLPseudoTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'URLPseudoTag' 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
35 |
36 | enum Master {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:32:20: warning: static property 'COMMENT' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let EXTXSTART = Tag.startIndicator <^> ( StartIndicator.init <^!> ( "#EXT-X-START:" *> attributeList ))
31 |
32 | static let COMMENT = Tag.comment <^> "#" *> ({ (chars: [Character]) in String(chars) } <^> CharacterSet(charactersIn: "\r\n").inverted.parser().many)
| |- warning: static property 'COMMENT' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' 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
33 |
34 | static let URLPseudoTag = Tag.url <^> TypeParser.url
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:24:20: warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | <|> COMMENT
23 |
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
| |- warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'StartTag' 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 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:30:20: warning: static property 'EXTXSTART' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
28 | static let EXTXINDEPENDENTSEGMENTS = { _ in Tag.independentSegments } <^> "#EXT-X-INDEPENDENT-SEGMENTS"
29 |
30 | static let EXTXSTART = Tag.startIndicator <^> ( StartIndicator.init <^!> ( "#EXT-X-START:" *> attributeList ))
| |- warning: static property 'EXTXSTART' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSTART' 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
31 |
32 | static let COMMENT = Tag.comment <^> "#" *> ({ (chars: [Character]) in String(chars) } <^> CharacterSet(charactersIn: "\r\n").inverted.parser().many)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:28:5: warning: let 'attributeList' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeList>' (aka 'Parser<Substring, Dictionary<String, AttributeValue>>') may have shared mutable state; this is an error in the Swift 6 language mode
26 | typealias AttributePair = (AttributeName, AttributeValue)
27 |
28 | let attributeList = builtAttributeList
| `- warning: let 'attributeList' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeList>' (aka 'Parser<Substring, Dictionary<String, AttributeValue>>') may have shared mutable state; this is an error in the Swift 6 language mode
29 | <^> attribute.followed(by: ( "," *> attribute ).many,
30 | combine: { (single, list) -> [AttributePair] in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
8 |
9 | import Foundation
10 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
11 |
12 | // All comments in this file represent section 4.2 of the HTTP Live Streaming
:
26 | typealias AttributePair = (AttributeName, AttributeValue)
27 |
28 | let attributeList = builtAttributeList
| |- note: annotate 'attributeList' 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
29 | <^> attribute.followed(by: ( "," *> attribute ).many,
30 | combine: { (single, list) -> [AttributePair] in
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:17:16: warning: static property 'url' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | struct TypeParser {
16 |
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
| `- warning: static property 'url' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, URL>' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Raw Type Parsers
:
15 | struct TypeParser {
16 |
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
| |- note: annotate 'url' 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 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:37:24: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum Master {
37 | static let TagParser = MasterTagParser <|> Playlist.TagParser
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
38 |
39 | static let MasterTagParser = AnyTag.master <^> EXTXMEDIA
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:39:24: warning: static property 'MasterTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let TagParser = MasterTagParser <|> Playlist.TagParser
38 |
39 | static let MasterTagParser = AnyTag.master <^> EXTXMEDIA
| |- warning: static property 'MasterTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MasterTagParser' 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
40 | <|> EXTXSTREAMINF
41 | <|> EXTXIFRAMESTREAMINF
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:45:24: warning: static property 'EXTXMEDIA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
43 | <|> EXTXSESSIONKEY
44 |
45 | static let EXTXMEDIA = Tag.MasterPlaylist.media <^> ( Rendition.init <^!> "#EXT-X-MEDIA:" *> attributeList)
| |- warning: static property 'EXTXMEDIA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXMEDIA' 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
46 |
47 | static let EXTXSTREAMINF = Tag.MasterPlaylist.streamInfo <^> ( StreamInfo.init <^!> "#EXT-X-STREAM-INF:" *> attributeList <* BasicParser.newline.many <&> TypeParser.url)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:47:24: warning: static property 'EXTXSTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
45 | static let EXTXMEDIA = Tag.MasterPlaylist.media <^> ( Rendition.init <^!> "#EXT-X-MEDIA:" *> attributeList)
46 |
47 | static let EXTXSTREAMINF = Tag.MasterPlaylist.streamInfo <^> ( StreamInfo.init <^!> "#EXT-X-STREAM-INF:" *> attributeList <* BasicParser.newline.many <&> TypeParser.url)
| |- warning: static property 'EXTXSTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSTREAMINF' 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
48 |
49 | static let EXTXIFRAMESTREAMINF = Tag.MasterPlaylist.iFramesStreamInfo <^> "#EXT-X-I-FRAME-STREAM-INF:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:49:24: warning: static property 'EXTXIFRAMESTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
47 | static let EXTXSTREAMINF = Tag.MasterPlaylist.streamInfo <^> ( StreamInfo.init <^!> "#EXT-X-STREAM-INF:" *> attributeList <* BasicParser.newline.many <&> TypeParser.url)
48 |
49 | static let EXTXIFRAMESTREAMINF = Tag.MasterPlaylist.iFramesStreamInfo <^> "#EXT-X-I-FRAME-STREAM-INF:" *> attributeList
| |- warning: static property 'EXTXIFRAMESTREAMINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXIFRAMESTREAMINF' 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
50 |
51 | static let EXTXSESSIONDATA = Tag.MasterPlaylist.sessionData <^> "#EXT-X-SESSION-DATA:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:51:24: warning: static property 'EXTXSESSIONDATA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
49 | static let EXTXIFRAMESTREAMINF = Tag.MasterPlaylist.iFramesStreamInfo <^> "#EXT-X-I-FRAME-STREAM-INF:" *> attributeList
50 |
51 | static let EXTXSESSIONDATA = Tag.MasterPlaylist.sessionData <^> "#EXT-X-SESSION-DATA:" *> attributeList
| |- warning: static property 'EXTXSESSIONDATA' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSESSIONDATA' 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
52 |
53 | static let EXTXSESSIONKEY = Tag.MasterPlaylist.sessionKey <^> "#EXT-X-SESSION-KEY:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:53:24: warning: static property 'EXTXSESSIONKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let EXTXSESSIONDATA = Tag.MasterPlaylist.sessionData <^> "#EXT-X-SESSION-DATA:" *> attributeList
52 |
53 | static let EXTXSESSIONKEY = Tag.MasterPlaylist.sessionKey <^> "#EXT-X-SESSION-KEY:" *> attributeList
| |- warning: static property 'EXTXSESSIONKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MasterPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXSESSIONKEY' 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
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:58:24: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
56 | enum Media {
57 |
58 | static let TagParser = MediaTagParser <|> Segment.TagParser <|> Playlist.TagParser
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
59 |
60 | static let MediaTagParser = AnyTag.media <^> EXTXTARGETDURATION
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:60:24: warning: static property 'MediaTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | static let TagParser = MediaTagParser <|> Segment.TagParser <|> Playlist.TagParser
59 |
60 | static let MediaTagParser = AnyTag.media <^> EXTXTARGETDURATION
| |- warning: static property 'MediaTagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MediaTagParser' 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
61 | <|> EXTXMEDIASEQUENCE
62 | <|> EXTXDISCONTINUITYSEQUENCE
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:81:28: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
79 | enum Segment {
80 |
81 | static let TagParser = AnyTag.segment <^> EXTINF
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
82 | <|> EXTXBYTERANGE
83 | <|> EXTXDISCONTINUITY
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:67:24: warning: static property 'EXTXTARGETDURATION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | <|> EXTXIFRAMESONLY
66 |
67 | static let EXTXTARGETDURATION = Tag.MediaPlaylist.targetDuration <^> "#EXT-X-TARGETDURATION:" *> decimalInteger
| |- warning: static property 'EXTXTARGETDURATION' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXTARGETDURATION' 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
68 |
69 | static let EXTXMEDIASEQUENCE = Tag.MediaPlaylist.mediaSequence <^> "#EXT-X-MEDIA-SEQUENCE:" *> decimalInteger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:69:24: warning: static property 'EXTXMEDIASEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
67 | static let EXTXTARGETDURATION = Tag.MediaPlaylist.targetDuration <^> "#EXT-X-TARGETDURATION:" *> decimalInteger
68 |
69 | static let EXTXMEDIASEQUENCE = Tag.MediaPlaylist.mediaSequence <^> "#EXT-X-MEDIA-SEQUENCE:" *> decimalInteger
| |- warning: static property 'EXTXMEDIASEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXMEDIASEQUENCE' 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
70 |
71 | static let EXTXDISCONTINUITYSEQUENCE = Tag.MediaPlaylist.discontinuitySequence <^> "#EXT-X-DISCONTINUITY-SEQUENCE:" *> decimalInteger
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:71:24: warning: static property 'EXTXDISCONTINUITYSEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
69 | static let EXTXMEDIASEQUENCE = Tag.MediaPlaylist.mediaSequence <^> "#EXT-X-MEDIA-SEQUENCE:" *> decimalInteger
70 |
71 | static let EXTXDISCONTINUITYSEQUENCE = Tag.MediaPlaylist.discontinuitySequence <^> "#EXT-X-DISCONTINUITY-SEQUENCE:" *> decimalInteger
| |- warning: static property 'EXTXDISCONTINUITYSEQUENCE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXDISCONTINUITYSEQUENCE' 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
72 |
73 | static let EXTXENDLIST = { _ in Tag.MediaPlaylist.endList } <^> "#EXT-X-ENDLIST"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:73:24: warning: static property 'EXTXENDLIST' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
71 | static let EXTXDISCONTINUITYSEQUENCE = Tag.MediaPlaylist.discontinuitySequence <^> "#EXT-X-DISCONTINUITY-SEQUENCE:" *> decimalInteger
72 |
73 | static let EXTXENDLIST = { _ in Tag.MediaPlaylist.endList } <^> "#EXT-X-ENDLIST"
| |- warning: static property 'EXTXENDLIST' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXENDLIST' 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
74 |
75 | static let EXTXPLAYLISTTYPE = Tag.MediaPlaylist.playlistType <^> "#EXT-X-PLAYLIST-TYPE:" *> enumeratedString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:75:24: warning: static property 'EXTXPLAYLISTTYPE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
73 | static let EXTXENDLIST = { _ in Tag.MediaPlaylist.endList } <^> "#EXT-X-ENDLIST"
74 |
75 | static let EXTXPLAYLISTTYPE = Tag.MediaPlaylist.playlistType <^> "#EXT-X-PLAYLIST-TYPE:" *> enumeratedString
| |- warning: static property 'EXTXPLAYLISTTYPE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXPLAYLISTTYPE' 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
76 |
77 | static let EXTXIFRAMESONLY = { _ in Tag.MediaPlaylist.iFramesOnly } <^> "#EXT-X-I-FRAMES-ONLY"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:77:24: warning: static property 'EXTXIFRAMESONLY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | static let EXTXPLAYLISTTYPE = Tag.MediaPlaylist.playlistType <^> "#EXT-X-PLAYLIST-TYPE:" *> enumeratedString
76 |
77 | static let EXTXIFRAMESONLY = { _ in Tag.MediaPlaylist.iFramesOnly } <^> "#EXT-X-I-FRAMES-ONLY"
| |- warning: static property 'EXTXIFRAMESONLY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXIFRAMESONLY' 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
78 |
79 | enum Segment {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:98:5: warning: let 'decimalInteger' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
96 | /// Attribute Value Parsers
97 |
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
| `- warning: let 'decimalInteger' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Attributes in Attribute lists can take on a limited number of types.
:
96 | /// Attribute Value Parsers
97 |
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
| |- note: annotate 'decimalInteger' 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
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:108:5: warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
107 |
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
| |- warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumeratedString' 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
109 |
110 | let decimalResolution = AttributeValue.init <^> TypeParser.resolution
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:89:28: warning: static property 'EXTINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
87 | <|> EXTXDATERANGE
88 |
89 | static let EXTINF = Tag.MediaPlaylist.Segment.inf <^>
| |- warning: static property 'EXTINF' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTINF' 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
90 | "#EXTINF:" *> (( decimalFloatingPoint <|> decimalInteger ) <* ","
91 | <&> ({ String($0) } <^> (CharacterSet.newlines.inverted).parser().many1).optional)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:93:28: warning: static property 'EXTXBYTERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
91 | <&> ({ String($0) } <^> (CharacterSet.newlines.inverted).parser().many1).optional)
92 |
93 | static let EXTXBYTERANGE = Tag.MediaPlaylist.Segment.byteRange <^> ( "#EXT-X-BYTERANGE:" *> TypeParser.byteRange )
| |- warning: static property 'EXTXBYTERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXBYTERANGE' 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
94 |
95 | static let EXTXDISCONTINUITY = { _ in Tag.MediaPlaylist.Segment.discontinuity } <^> "#EXT-X-DISCONTINUITY"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:95:28: warning: static property 'EXTXDISCONTINUITY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
93 | static let EXTXBYTERANGE = Tag.MediaPlaylist.Segment.byteRange <^> ( "#EXT-X-BYTERANGE:" *> TypeParser.byteRange )
94 |
95 | static let EXTXDISCONTINUITY = { _ in Tag.MediaPlaylist.Segment.discontinuity } <^> "#EXT-X-DISCONTINUITY"
| |- warning: static property 'EXTXDISCONTINUITY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXDISCONTINUITY' 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
96 |
97 | static let EXTXKEY = Tag.MediaPlaylist.Segment.key <^> (DecryptionKey.init <^!> "#EXT-X-KEY:" *> attributeList )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:97:28: warning: static property 'EXTXKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
95 | static let EXTXDISCONTINUITY = { _ in Tag.MediaPlaylist.Segment.discontinuity } <^> "#EXT-X-DISCONTINUITY"
96 |
97 | static let EXTXKEY = Tag.MediaPlaylist.Segment.key <^> (DecryptionKey.init <^!> "#EXT-X-KEY:" *> attributeList )
| |- warning: static property 'EXTXKEY' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXKEY' 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
98 |
99 | static let EXTXMAP = Tag.MediaPlaylist.Segment.map <^> ( MediaInitializationSection.init <^!> "#EXT-X-MAP:" *> attributeList )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:99:28: warning: static property 'EXTXMAP' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
97 | static let EXTXKEY = Tag.MediaPlaylist.Segment.key <^> (DecryptionKey.init <^!> "#EXT-X-KEY:" *> attributeList )
98 |
99 | static let EXTXMAP = Tag.MediaPlaylist.Segment.map <^> ( MediaInitializationSection.init <^!> "#EXT-X-MAP:" *> attributeList )
| |- warning: static property 'EXTXMAP' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXMAP' 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
100 |
101 | static let EXTXPROGRAMDATETIME = Tag.MediaPlaylist.Segment.programDateTime <^> "#EXT-X-PROGRAM-DATE-TIME:" *> TypeParser.date
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:101:28: warning: static property 'EXTXPROGRAMDATETIME' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
99 | static let EXTXMAP = Tag.MediaPlaylist.Segment.map <^> ( MediaInitializationSection.init <^!> "#EXT-X-MAP:" *> attributeList )
100 |
101 | static let EXTXPROGRAMDATETIME = Tag.MediaPlaylist.Segment.programDateTime <^> "#EXT-X-PROGRAM-DATE-TIME:" *> TypeParser.date
| |- warning: static property 'EXTXPROGRAMDATETIME' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXPROGRAMDATETIME' 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
102 |
103 | static let EXTXDATERANGE = Tag.MediaPlaylist.Segment.dateRange <^> "#EXT-X-DATERANGE:" *> attributeList
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:103:28: warning: static property 'EXTXDATERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
101 | static let EXTXPROGRAMDATETIME = Tag.MediaPlaylist.Segment.programDateTime <^> "#EXT-X-PROGRAM-DATE-TIME:" *> TypeParser.date
102 |
103 | static let EXTXDATERANGE = Tag.MediaPlaylist.Segment.dateRange <^> "#EXT-X-DATERANGE:" *> attributeList
| |- warning: static property 'EXTXDATERANGE' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Tag.MediaPlaylist.Segment>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EXTXDATERANGE' 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
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:102:5: warning: let 'decimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
101 |
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
| |- warning: let 'decimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFloatingPoint' 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
103 |
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:35:16: warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
| |- warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byteRange' 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
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:33:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Date?>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
32 |
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Date?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' 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
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
[23/29] Compiling Parsing CoreInitializers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:35:16: warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
| `- warning: static property 'byteRange' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, ClosedRange<UInt>>' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Raw Type Parsers
:
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
34 |
35 | static let byteRange = { return ($0.1 ?? 0)...(($0.1 ?? 0) + ($0.0 - 1)) } <^> (UInt.parser <&> ("@" *> UInt.parser).optional)
| |- note: annotate 'byteRange' 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
36 | }
37 |
[24/29] Compiling Parsing AttributeList.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:28:5: warning: let 'attributeList' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeList>' (aka 'Parser<Substring, Dictionary<String, AttributeValue>>') may have shared mutable state; this is an error in the Swift 6 language mode
26 | typealias AttributePair = (AttributeName, AttributeValue)
27 |
28 | let attributeList = builtAttributeList
| `- warning: let 'attributeList' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeList>' (aka 'Parser<Substring, Dictionary<String, AttributeValue>>') may have shared mutable state; this is an error in the Swift 6 language mode
29 | <^> attribute.followed(by: ( "," *> attribute ).many,
30 | combine: { (single, list) -> [AttributePair] in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
8 |
9 | import Foundation
10 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
11 |
12 | // All comments in this file represent section 4.2 of the HTTP Live Streaming
:
26 | typealias AttributePair = (AttributeName, AttributeValue)
27 |
28 | let attributeList = builtAttributeList
| |- note: annotate 'attributeList' 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
29 | <^> attribute.followed(by: ( "," *> attribute ).many,
30 | combine: { (single, list) -> [AttributePair] in
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:48:5: warning: let 'attribute' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, (AttributeName, AttributeValue)>' (aka 'Parser<Substring, (String, AttributeValue)>') may have shared mutable state; this is an error in the Swift 6 language mode
46 | */
47 |
48 | let attribute = attributeName <* "=" <&> attributeValue
| |- warning: let 'attribute' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, (AttributeName, AttributeValue)>' (aka 'Parser<Substring, (String, AttributeValue)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attribute' 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
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:68:5: warning: let 'attributeName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeName>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | let attributeName = { AttributeName($0) } <^> CharacterSet.forAttributeName.parser().many1
| |- warning: let 'attributeName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeName>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributeName' 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
69 |
70 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeList.swift:109:5: warning: let 'attributeValue' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
107 | */
108 |
109 | let attributeValue = hexSequence
| |- warning: let 'attributeValue' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributeValue' 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
110 | <|> decimalFloatingPoint
111 | <|> signedDecimalFloatingPoint
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:100:5: warning: let 'hexSequence' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
| `- warning: let 'hexSequence' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Attributes in Attribute lists can take on a limited number of types.
:
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
| |- note: annotate 'hexSequence' 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
101 |
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:102:5: warning: let 'decimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
101 |
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
| |- warning: let 'decimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFloatingPoint' 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
103 |
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:104:5: warning: let 'signedDecimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
103 |
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
| |- warning: let 'signedDecimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedDecimalFloatingPoint' 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
105 |
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:106:5: warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
105 |
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
| |- warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quotedString' 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
107 |
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:110:5: warning: let 'decimalResolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
109 |
110 | let decimalResolution = AttributeValue.init <^> TypeParser.resolution
| |- warning: let 'decimalResolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalResolution' 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
111 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:98:5: warning: let 'decimalInteger' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
96 | /// Attribute Value Parsers
97 |
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
| |- warning: let 'decimalInteger' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalInteger' 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
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:108:5: warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
107 |
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
| |- warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumeratedString' 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
109 |
110 | let decimalResolution = AttributeValue.init <^> TypeParser.resolution
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
[25/29] Compiling Parsing CharacterSet.swift
[26/29] Compiling Parsing AttributeValueParsers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:98:5: warning: let 'decimalInteger' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
96 | /// Attribute Value Parsers
97 |
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
| `- warning: let 'decimalInteger' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Attributes in Attribute lists can take on a limited number of types.
:
96 | /// Attribute Value Parsers
97 |
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
| |- note: annotate 'decimalInteger' 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
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:100:5: warning: let 'hexSequence' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
98 | let decimalInteger = AttributeValue.init <^> UInt.parser
99 |
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
| |- warning: let 'hexSequence' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hexSequence' 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
101 |
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:19:16: warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, HexadecimalSequence>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
| `- warning: static property 'hex' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, HexadecimalSequence>' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | /// Raw Type Parsers
:
17 | static let url = { URL(string: $0) } <^!> ({ String($0) } <^> CharacterSet.urlAllowed.parser().many1)
18 |
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
| |- note: annotate 'hex' 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 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:102:5: warning: let 'decimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
100 | let hexSequence = AttributeValue.init <^> TypeParser.hex
101 |
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
| |- warning: let 'decimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFloatingPoint' 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
103 |
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:21:16: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let hex = BasicParser.hexPrefix *> ({ characters in HexadecimalSequence(string: String(characters))! } <^> BasicParser.hexDigit.many1)
20 |
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' 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 |
23 | static let signedFloat = ({ SignedFloat($0)! } <^> BasicParser.negation.optional.followed(by: BasicParser.floatingPointString) { (neg, num) -> String in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:104:5: warning: let 'signedDecimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
102 | let decimalFloatingPoint = AttributeValue.init <^> TypeParser.float
103 |
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
| |- warning: let 'signedDecimalFloatingPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedDecimalFloatingPoint' 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
105 |
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:23:16: warning: static property 'signedFloat' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, SignedFloat>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let float = { Double($0)! } <^> BasicParser.floatingPointString
22 |
23 | static let signedFloat = ({ SignedFloat($0)! } <^> BasicParser.negation.optional.followed(by: BasicParser.floatingPointString) { (neg, num) -> String in
| |- warning: static property 'signedFloat' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, SignedFloat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedFloat' 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 | (neg ?? "") + num
25 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:106:5: warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
104 | let signedDecimalFloatingPoint = AttributeValue.init <^> TypeParser.signedFloat
105 |
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
| |- warning: let 'quotedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quotedString' 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
107 |
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:27:16: warning: static property 'quoteString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, QuotedString>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | })
26 |
27 | static let quoteString = { QuotedString($0) } <^> BasicParser.quote *> CharacterSet.forQuotedString.parser().many <* BasicParser.quote
| |- warning: static property 'quoteString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, QuotedString>' (aka 'Parser<Substring, String>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quoteString' 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
28 |
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:108:5: warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
106 | let quotedString = AttributeValue.init <^> TypeParser.quoteString
107 |
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
| |- warning: let 'enumeratedString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumeratedString' 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
109 |
110 | let decimalResolution = AttributeValue.init <^> TypeParser.resolution
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:29:16: warning: static property 'enumString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, EnumeratedString>' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let quoteString = { QuotedString($0) } <^> BasicParser.quote *> CharacterSet.forQuotedString.parser().many <* BasicParser.quote
28 |
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
| |- warning: static property 'enumString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, EnumeratedString>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enumString' 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
30 |
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/AttributeValueParsers.swift:110:5: warning: let 'decimalResolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
108 | let enumeratedString = AttributeValue.init <^> TypeParser.enumString
109 |
110 | let decimalResolution = AttributeValue.init <^> TypeParser.resolution
| |- warning: let 'decimalResolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AttributeValue>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalResolution' 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
111 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/TypeParsers.swift:31:16: warning: static property 'resolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Resolution>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let enumString = EnumeratedString.init <^> CharacterSet.forEnumeratedString.parser().many1
30 |
31 | static let resolution = Resolution.init <^> UInt.parser <* BasicParser.x <&> UInt.parser
| |- warning: static property 'resolution' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Resolution>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resolution' 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
32 |
33 | static let date = dateFromString <^> ({ String($0) } <^> CharacterSet.iso8601.parser().many1 )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
[27/29] Compiling Parsing MediaPlaylistParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/MediaPlaylistParser.swift:13:5: warning: let 'newlines' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, [Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import FFCParserCombinator
12 |
13 | let newlines = BasicParser.newline.many1
| `- warning: let 'newlines' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, [Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | private struct OpenMediaSegment {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/MediaPlaylistParser.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | let newlines = BasicParser.newline.many1
| |- note: annotate 'newlines' 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
14 |
15 | private struct OpenMediaSegment {
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:24:20: warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | <|> COMMENT
23 |
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
| `- warning: static property 'StartTag' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
9 | import Foundation
10 | import Types
11 | import FFCParserCombinator
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FFCParserCombinator'
12 |
13 | enum HLS {
:
22 | <|> COMMENT
23 |
24 | static let StartTag: Parser<Substring, String> = "#EXTM3U"
| |- note: annotate 'StartTag' 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 |
26 | static let EXTVERSION = Tag.version <^> "#EXT-X-VERSION:" *> UInt.parser
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/Tags.swift:58:24: warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
56 | enum Media {
57 |
58 | static let TagParser = MediaTagParser <|> Segment.TagParser <|> Playlist.TagParser
| |- warning: static property 'TagParser' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, AnyTag>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'TagParser' 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
59 |
60 | static let MediaTagParser = AnyTag.media <^> EXTXTARGETDURATION
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FFCParserCombinator/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
[27/29] Write Objects.LinkFileList
[28/29] Archiving libHLSCore.a
Build complete! (14.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "ffcparsercombinator",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fcanas/FFCParserCombinator.git"
}
],
"manifest_display_name" : "HLSCore",
"name" : "HLSCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "HLSCore",
"targets" : [
"Types",
"Serialization",
"Parsing"
],
"type" : {
"library" : [
"static"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TypesTests",
"module_type" : "SwiftTarget",
"name" : "TypesTests",
"path" : "Tests/TypesTests",
"sources" : [
"HLSCoreTests.swift",
"StringTests.swift",
"URLTests.swift"
],
"target_dependencies" : [
"Types"
],
"type" : "test"
},
{
"c99name" : "Types",
"module_type" : "SwiftTarget",
"name" : "Types",
"path" : "Sources/Types",
"product_memberships" : [
"HLSCore"
],
"sources" : [
"AttributeTypes.swift",
"EncryptionKey.swift",
"HLSCore.swift",
"Language.swift",
"Logging.swift",
"Playlist.swift",
"URL.swift"
],
"type" : "library"
},
{
"c99name" : "SerializationTests",
"module_type" : "SwiftTarget",
"name" : "SerializationTests",
"path" : "Tests/SerializationTests",
"sources" : [
"AutoEncoding.swift",
"MultilineMatching.swift",
"SerializationTests.swift"
],
"target_dependencies" : [
"Serialization"
],
"type" : "test"
},
{
"c99name" : "Serialization",
"module_type" : "SwiftTarget",
"name" : "Serialization",
"path" : "Sources/Serialization",
"product_memberships" : [
"HLSCore"
],
"sources" : [
"Serializable.swift"
],
"target_dependencies" : [
"Types"
],
"type" : "library"
},
{
"c99name" : "ParsingTests",
"module_type" : "SwiftTarget",
"name" : "ParsingTests",
"path" : "Tests/ParsingTests",
"sources" : [
"AttributeTests.swift",
"PlaylistParsingTests.swift",
"TagTests.swift",
"Test Utilities/FakeOutputStream.swift"
],
"target_dependencies" : [
"Parsing"
],
"type" : "test"
},
{
"c99name" : "Parsing",
"module_type" : "SwiftTarget",
"name" : "Parsing",
"path" : "Sources/Parsing",
"product_dependencies" : [
"FFCParserCombinator"
],
"product_memberships" : [
"HLSCore"
],
"sources" : [
"AttributeList.swift",
"AttributeValueParsers.swift",
"CharacterSet.swift",
"CoreInitializers.swift",
"MasterPlaylistParser.swift",
"MediaPlaylistParser.swift",
"Tags.swift",
"TypeParsers.swift"
],
"target_dependencies" : [
"Types"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.