Build Information
Successful build of Dumpling, reference main (226319
), with Swift 6.0 for Linux on 1 Nov 2024 16:46:56 UTC.
Swift 6 data race errors: 14
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift:14:16: warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let identifier: String = "list"
13 | static let indicator = CharacterSet(charactersIn: "*+-")
14 | static let zeroOrMax3Spaces = Parsers.minMax(parser: Parsers.space, min: 0, max: 3).map(\.count)
| |- warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrMax3Spaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[50/60] Compiling Dumpling EOFBlockFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift:14:16: warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let identifier: String = "list"
13 | static let indicator = CharacterSet(charactersIn: "*+-")
14 | static let zeroOrMax3Spaces = Parsers.minMax(parser: Parsers.space, min: 0, max: 3).map(\.count)
| |- warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrMax3Spaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[51/60] Compiling Dumpling HeaderBlockFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift:14:16: warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let identifier: String = "list"
13 | static let indicator = CharacterSet(charactersIn: "*+-")
14 | static let zeroOrMax3Spaces = Parsers.minMax(parser: Parsers.space, min: 0, max: 3).map(\.count)
| |- warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrMax3Spaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[52/60] Compiling Dumpling HorizontalLineBlockFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift:14:16: warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let identifier: String = "list"
13 | static let indicator = CharacterSet(charactersIn: "*+-")
14 | static let zeroOrMax3Spaces = Parsers.minMax(parser: Parsers.space, min: 0, max: 3).map(\.count)
| |- warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrMax3Spaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[53/60] Compiling Dumpling ListBlockFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift:14:16: warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let identifier: String = "list"
13 | static let indicator = CharacterSet(charactersIn: "*+-")
14 | static let zeroOrMax3Spaces = Parsers.minMax(parser: Parsers.space, min: 0, max: 3).map(\.count)
| |- warning: static property 'zeroOrMax3Spaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrMax3Spaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public init() {}
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[54/60] Compiling Dumpling SpaceInlineFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[55/60] Compiling Dumpling StrikethroughInlineFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[56/60] Compiling Dumpling MarkdownFragment.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[57/60] Compiling Dumpling Markdown+FragmentsConfig.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[58/60] Compiling Dumpling Markdown.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[59/60] Compiling Dumpling Types.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
[60/60] Compiling Dumpling LocalParsers.swift
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:59:23: warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | .rename("emptyLines")
58 |
59 | public static let oneOrManySpaces = Parsers
| |- warning: static property 'oneOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .minMax(parser: Parsers.space, min: 1)
61 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:61:23: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
59 |
60 | extension Markdown.FragmentsConfig {
61 | public static let base: Self = .init(
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | inline: [
63 | EscapeInlineFragment().any(),
/host/spi-builder-workspace/Sources/Dumpling/Markdown/Markdown+FragmentsConfig.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | extension Markdown {
12 | public struct FragmentsConfig {
| `- note: consider making struct 'FragmentsConfig' conform to the 'Sendable' protocol
13 | /// Inline elements, order in this array defines precedence
14 | public let inline: [AnyMarkdownInlineFragment]
:
69 | ]
70 | )
71 | public static let `default`: Self = zip(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Markdown.FragmentsConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .init(
73 | inline: [
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:76:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | public static let space: Parser<Void> = Parsers.one(character: " ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | .mapToVoid
78 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:64:23: warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
62 | .rename("oneOrMoreSpaces")
63 |
64 | public static let zeroOrManySpaces = Parsers
| |- warning: static property 'zeroOrManySpaces' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroOrManySpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | .minMax(parser: Parsers.space, min: 0)
66 | .map(\.count)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:54:23: warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | /// Remove empty lines.
53 | /// The parser returns nil if there are no newlines removed or a number of lines removed
54 | public static let emptyLines = Parsers
| |- warning: static property 'emptyLines' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emptyLines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .minMax(parser: singleEmptyLine, min: 2)
56 | .map({$0.count - 1})
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:13:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Parsers {
12 | /// Single new line element
13 | public static let newLine: Parser<Void> = Parsers.one(character: "\n")
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | .map { _ in () }
15 | .rename("newLine")
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:17:23: warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | .rename("newLine")
16 |
17 | public static let lineStart: Parser<Void> = .init("lineStart") { reader in
| |- warning: static property 'lineStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | guard !reader.isEmpty else { return nil }
19 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:35:23: warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public static let lineEnd: Parser<Void> = Parsers.oneOf(Parsers.newLine, Parsers.isDocEnd)
| |- warning: static property 'lineEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Match any single character
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:130:23: warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
128 | }
129 |
130 | public static let isDocEnd = Parser<Void>("isDocEnd") { reader in
| |- warning: static property 'isDocEnd' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | guard !reader.isEmpty else { return () }
132 | return nil
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:38:23: warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Match any single character
38 | public static let anyCharacter = Parser<Character>("anyCharacter") { reader in
| |- warning: static property 'anyCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anyCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | if let result = reader.first {
40 | reader = reader.dropFirst()
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:47:23: warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public static let singleEmptyLine = Parsers.oneOf(
| |- warning: static property 'singleEmptyLine' is not concurrency-safe because non-'Sendable' type 'Parser<Parser<(Parser<Int>.Element, Parser<Void>.Element)>.Element>' (aka 'Parser<(Int, ())>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleEmptyLine' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | Parsers.zip(Parsers.zeroOrManySpaces, Parsers.newLine),
49 | Parsers.zip(Parsers.oneOrManySpaces, Parsers.isDocEnd)
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
/host/spi-builder-workspace/Sources/Dumpling/Parser/LocalParsers.swift:119:23: warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
117 | }
118 |
119 | public static let isDocStart = Parser<Void>("isDocStart") { reader in
| |- warning: static property 'isDocStart' is not concurrency-safe because non-'Sendable' type 'Parser<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isDocStart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | guard !reader.isEmpty else { return nil }
121 |
/host/spi-builder-workspace/Sources/ParserCore/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<T>: ParserType {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 | public typealias Element = T
13 | @usableFromInline
Build complete! (12.52s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Dumpling",
"name" : "Dumpling",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Dumpling",
"targets" : [
"Dumpling"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DumplingTests",
"module_type" : "SwiftTarget",
"name" : "DumplingTests",
"path" : "Tests",
"sources" : [
"DumplingTests/Helpers/InlineMarkdown.swift",
"DumplingTests/Markdown/Fragments/BlockquoteBlockFragmentTests.swift",
"DumplingTests/Markdown/Fragments/EmphasisInlineFragmentTests.swift",
"DumplingTests/Markdown/Fragments/LinkInlineFragmentTests.swift",
"DumplingTests/Markdown/Fragments/ListBlockFragmentTests.swift",
"DumplingTests/Markdown/Parser/ParserTests_Backslash.swift",
"DumplingTests/Markdown/Parser/ParserTests_Basic.swift",
"DumplingTests/Markdown/Parser/ParserTests_Blockquote.swift",
"DumplingTests/Markdown/Parser/ParserTests_Code_Fence.swift",
"DumplingTests/Markdown/Parser/ParserTests_Code_Span.swift",
"DumplingTests/Markdown/Parser/ParserTests_Emphasis.swift",
"DumplingTests/Markdown/Parser/ParserTests_Header.swift",
"DumplingTests/Markdown/Parser/ParserTests_HorizontalLine.swift",
"DumplingTests/Markdown/Parser/ParserTests_Link.swift",
"DumplingTests/Markdown/Parser/ParserTests_List.swift",
"DumplingTests/Markdown/Parser/ParserTests_NewLine.swift",
"DumplingTests/Markdown/Parser/ParserTests_Strikethrough.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Backslash.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Blockquote.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Code_Fence.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Code_Span.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Emphasis.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Header.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_HorizontalLine.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Link.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_List.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_NewLine.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Strikethrough.swift",
"DumplingTests/Parser/LocalParsersTests+int.swift",
"DumplingTests/Parser/LocalParsersTests+lineStart.swift",
"DumplingTests/Parser/LocalParsersTests+minCharacters.swift",
"DumplingTests/Parser/LocalParsersTests+stringUntil.swift",
"DumplingTests/Parser/LocalParsersTests+zeroOrManyCharacters.swift",
"DumplingTests/Parser/LocalParsersTests.swift",
"DumplingTests/Renderer/AttributedStringRendererTests.swift",
"DumplingTests/Renderer/HTMLRendererTests.swift",
"ParserCoreTests/Helpers.swift",
"ParserCoreTests/ParserTests.swift",
"ParserCoreTests/ParsersTests+minMax.swift",
"ParserCoreTests/ParsersTests+oneOf.swift",
"ParserCoreTests/ParsersTests+repeatUntil.swift"
],
"target_dependencies" : [
"Dumpling"
],
"type" : "test"
},
{
"c99name" : "Dumpling",
"module_type" : "SwiftTarget",
"name" : "Dumpling",
"path" : "Sources",
"product_memberships" : [
"Dumpling"
],
"sources" : [
"Dumpling/AST/AST.swift",
"Dumpling/AST/Array+AST.swift",
"Dumpling/Markdown/Fragments/Block/BlockquoteBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/CodeFenceBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/EOFBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/HeaderBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/HorizontalLineBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/ParaBlockFragment.swift",
"Dumpling/Markdown/Fragments/Inline/CodeSpanInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/EmphasisInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/EnclosedInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/EscapeFragment.swift",
"Dumpling/Markdown/Fragments/Inline/LinkInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/NewLineInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/SpaceInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/StrikethroughInlineFragment.swift",
"Dumpling/Markdown/Fragments/MarkdownFragment.swift",
"Dumpling/Markdown/Markdown+FragmentsConfig.swift",
"Dumpling/Markdown/Markdown.swift",
"Dumpling/Markdown/Types.swift",
"Dumpling/Parser/LocalParsers.swift",
"Dumpling/Parser/Parser+asNode.swift",
"Dumpling/Renderer/AST+PlainTextRenderer.swift",
"Dumpling/Renderer/AST+debugRenderer.swift",
"Dumpling/Renderer/AttributedString/AST+AttributedString.swift",
"Dumpling/Renderer/AttributedString/AppKitExtensions.swift",
"Dumpling/Renderer/AttributedString/AttributedStringRenderer+Context.swift",
"Dumpling/Renderer/AttributedString/AttributedStringRenderer.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/AttributedStringRenderFragment+Helpers.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/AttributedStringRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/AttributedStringRenderFragments.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/BlockquoteNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/CodeNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/HorizontalLineNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/LinkNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/ListNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/Styles/StringStyle.swift",
"Dumpling/Renderer/AttributedString/Styles/StringStyles+Helpers.swift",
"Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift",
"Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Helpers.swift",
"Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift",
"Dumpling/Renderer/DebugTextRendered.swift",
"Dumpling/Renderer/Html/AST+HTMLRenderer.swift",
"Dumpling/Renderer/Html/HTMLRenderer.swift",
"Dumpling/Renderer/Html/RenderFragments/HTMLRenderFragment.swift",
"Dumpling/Renderer/Html/RenderFragments/HTMLRenderFragments.swift",
"Dumpling/Renderer/PlainTextRenderer.swift",
"Dumpling/Renderer/Renderer.swift",
"ParserCore/Parser.swift",
"ParserCore/ParserConvertible.swift",
"ParserCore/ParserType+lookAhead.swift",
"ParserCore/ParserType+unwrap.swift",
"ParserCore/ParserType.swift",
"ParserCore/Parsers+zip.swift",
"ParserCore/Parsers.swift",
"ParserCore/Reader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.