Build Information
Successful build of HLSCore, reference 0.2.1 (283520
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:38:36 UTC.
Swift 6 data race errors: 59
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fcanas/hlscore.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fcanas/hlscore
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 2835209 Migrate CI to GitHub Actions
Cloned https://github.com/fcanas/hlscore.git
Revision (git rev-parse @):
2835209970afdaaaf137fd7073d9c0ab2beb2905
SUCCESS checkout https://github.com/fcanas/hlscore.git at 0.2.1
Fetching https://github.com/fcanas/FFCParserCombinator.git
[1/370] Fetching ffcparsercombinator
Fetched https://github.com/fcanas/FFCParserCombinator.git from cache (0.83s)
Computing version for https://github.com/fcanas/FFCParserCombinator.git
Computed https://github.com/fcanas/FFCParserCombinator.git at 1.0.2 (1.51s)
Creating working copy for https://github.com/fcanas/FFCParserCombinator.git
Working copy of https://github.com/fcanas/FFCParserCombinator.git resolved at 1.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "hlscore",
"name": "HLSCore",
"url": "https://github.com/fcanas/hlscore.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hlscore",
"dependencies": [
{
"identity": "ffcparsercombinator",
"name": "FFCParserCombinator",
"url": "https://github.com/fcanas/FFCParserCombinator.git",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FFCParserCombinator",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/fcanas/hlscore.git
[1/1039] Fetching hlscore
Fetched https://github.com/fcanas/hlscore.git from cache (0.86s)
Fetching https://github.com/fcanas/FFCParserCombinator.git from cache
Fetched https://github.com/fcanas/FFCParserCombinator.git from cache (0.44s)
Computing version for https://github.com/fcanas/FFCParserCombinator.git
Computed https://github.com/fcanas/FFCParserCombinator.git at 1.0.2 (0.49s)
Creating working copy for https://github.com/fcanas/hlscore.git
Working copy of https://github.com/fcanas/hlscore.git resolved at 0.2.1 (2835209)
Creating working copy for https://github.com/fcanas/FFCParserCombinator.git
Working copy of https://github.com/fcanas/FFCParserCombinator.git resolved at 1.0.2
warning: '.resolve-product-dependencies': dependency 'hlscore' is not used by any target
Found 1 product dependencies
- FFCParserCombinator
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fcanas/hlscore.git
https://github.com/fcanas/hlscore.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[4/7] Write swift-version-2F0A5646E1D333AE.txt
[6/18] Emitting module Types
/Users/admin/builder/spi-builder-workspace/Sources/Types/EncryptionKey.swift:53:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'DecryptionKey' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public struct DecryptionKey: Equatable {
| `- note: consider making struct 'DecryptionKey' conform to the 'Sendable' protocol
29 |
30 | public let method: EncryptionMethod
:
51 | }
52 |
53 | public static let None: DecryptionKey = DecryptionKey.init()
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'DecryptionKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:19:16: warning: static property 'de' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
17 |
18 | public extension Language {
19 | static let de = Language("de")
| |- warning: static property 'de' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'de' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let en = Language("en")
21 | static let es = Language("es")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:20:16: warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
18 | public extension Language {
19 | static let de = Language("de")
20 | static let en = Language("en")
| |- warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'en' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let es = Language("es")
22 | static let fr = Language("fr")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:21:16: warning: static property 'es' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
19 | static let de = Language("de")
20 | static let en = Language("en")
21 | static let es = Language("es")
| |- warning: static property 'es' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'es' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let fr = Language("fr")
23 | static let ja = Language("ja")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:22:16: warning: static property 'fr' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
20 | static let en = Language("en")
21 | static let es = Language("es")
22 | static let fr = Language("fr")
| |- warning: static property 'fr' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let ja = Language("ja")
24 | static let zh = Language("zh")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:23:16: warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
21 | static let es = Language("es")
22 | static let fr = Language("fr")
23 | static let ja = Language("ja")
| |- warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ja' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let zh = Language("zh")
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:24:16: warning: static property 'zh' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
22 | static let fr = Language("fr")
23 | static let ja = Language("ja")
24 | static let zh = Language("zh")
| |- warning: static property 'zh' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[7/18] Compiling FFCParserCombinator FFCParserCombinator.swift
[8/18] Compiling FFCParserCombinator StringParsing.swift
[9/18] Emitting module FFCParserCombinator
[10/18] Compiling Types Language.swift
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:19:16: warning: static property 'de' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
17 |
18 | public extension Language {
19 | static let de = Language("de")
| |- warning: static property 'de' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'de' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let en = Language("en")
21 | static let es = Language("es")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:20:16: warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
18 | public extension Language {
19 | static let de = Language("de")
20 | static let en = Language("en")
| |- warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'en' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let es = Language("es")
22 | static let fr = Language("fr")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:21:16: warning: static property 'es' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
19 | static let de = Language("de")
20 | static let en = Language("en")
21 | static let es = Language("es")
| |- warning: static property 'es' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'es' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let fr = Language("fr")
23 | static let ja = Language("ja")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:22:16: warning: static property 'fr' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
20 | static let en = Language("en")
21 | static let es = Language("es")
22 | static let fr = Language("fr")
| |- warning: static property 'fr' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let ja = Language("ja")
24 | static let zh = Language("zh")
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:23:16: warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
21 | static let es = Language("es")
22 | static let fr = Language("fr")
23 | static let ja = Language("ja")
| |- warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ja' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let zh = Language("zh")
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/Types/Language.swift:24:16: warning: static property 'zh' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct Language: Equatable {
| `- note: consider making struct 'Language' conform to the 'Sendable' protocol
10 |
11 | let value: String
:
22 | static let fr = Language("fr")
23 | static let ja = Language("ja")
24 | static let zh = Language("zh")
| |- warning: static property 'zh' is not concurrency-safe because non-'Sendable' type 'Language' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[11/18] Compiling Types AttributeTypes.swift
[12/18] Compiling Types HLSCore.swift
[13/18] Compiling Types Logging.swift
[14/18] Compiling Types Playlist.swift
[15/18] Compiling Types EncryptionKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Types/EncryptionKey.swift:53:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'DecryptionKey' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public struct DecryptionKey: Equatable {
| `- note: consider making struct 'DecryptionKey' conform to the 'Sendable' protocol
29 |
30 | public let method: EncryptionMethod
:
51 | }
52 |
53 | public static let None: DecryptionKey = DecryptionKey.init()
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'DecryptionKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | }
[16/18] Compiling Types URL.swift
[17/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: add '@MainActor' to make let 'attributeList' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'attribute' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'attributeName' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'attributeValue' part of global actor 'MainActor'
| `- 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 | }
[18/29] Compiling Serialization Serializable.swift
[19/29] Emitting module Serialization
[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: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'signedFloat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'quoteString' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'enumString' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'resolution' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'byteRange' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | private let legacyFormatter: DateFormatter = {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[21/29] Emitting module Parsing
/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: add '@MainActor' to make let 'attributeList' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'attribute' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'attributeName' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'attributeValue' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make let 'decimalInteger' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'hexSequence' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make let 'decimalFloatingPoint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'signedDecimalFloatingPoint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'quotedString' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make let 'enumeratedString' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make let 'decimalResolution' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make let 'newlines' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'StartTag' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTVERSION' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXINDEPENDENTSEGMENTS' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTXSTART' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'COMMENT' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'URLPseudoTag' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MasterTagParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXMEDIA' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXSTREAMINF' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXIFRAMESTREAMINF' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXSESSIONDATA' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXSESSIONKEY' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MediaTagParser' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTXTARGETDURATION' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXMEDIASEQUENCE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXDISCONTINUITYSEQUENCE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXENDLIST' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXPLAYLISTTYPE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXIFRAMESONLY' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTINF' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXBYTERANGE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXDISCONTINUITY' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXKEY' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXMAP' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXPROGRAMDATETIME' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXDATERANGE' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hex' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'signedFloat' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'quoteString' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'enumString' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'resolution' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'byteRange' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | private let legacyFormatter: DateFormatter = {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'StartTag' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTVERSION' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXINDEPENDENTSEGMENTS' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTXSTART' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'COMMENT' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'URLPseudoTag' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MasterTagParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXMEDIA' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXSTREAMINF' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXIFRAMESTREAMINF' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXSESSIONDATA' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXSESSIONKEY' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'MediaTagParser' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTXTARGETDURATION' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXMEDIASEQUENCE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXDISCONTINUITYSEQUENCE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXENDLIST' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXPLAYLISTTYPE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXIFRAMESONLY' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'TagParser' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'EXTINF' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXBYTERANGE' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXDISCONTINUITY' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXKEY' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXMAP' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXPROGRAMDATETIME' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'EXTXDATERANGE' part of global actor 'MainActor'
| `- 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 | }
[23/29] Compiling Parsing CharacterSet.swift
[24/29] Compiling Parsing CoreInitializers.swift
[25/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: add '@MainActor' to make let 'decimalInteger' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'hexSequence' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make let 'decimalFloatingPoint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'signedDecimalFloatingPoint' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'quotedString' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make let 'enumeratedString' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make let 'decimalResolution' part of global actor 'MainActor'
| `- 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 | }
[26/29] Compiling Parsing MasterPlaylistParser.swift
[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: add '@MainActor' to make let 'newlines' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | private struct OpenMediaSegment {
[27/29] Write Objects.LinkFileList
[28/29] Archiving libHLSCore.a
Build complete! (6.89s)
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.