Build Information
Successful build of swift-parsing, reference 0.14.1 (3432cb
), with Swift 6.0 for macOS (SPM) on 16 Jan 2025 22:53:45 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
Working copy of https://github.com/pointfreeco/swift-parsing.git resolved at 0.14.1 (3432cb8)
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.6.0
warning: '.resolve-product-dependencies': dependency 'swift-parsing' is not used by any target
Found 1 product dependencies
- swift-case-paths
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/pointfreeco/swift-parsing.git
https://github.com/pointfreeco/swift-parsing.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
}
],
"manifest_display_name" : "swift-parsing",
"name" : "swift-parsing",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Parsing",
"targets" : [
"Parsing"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-parsing-benchmark",
"targets" : [
"swift-parsing-benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_parsing_benchmark",
"module_type" : "SwiftTarget",
"name" : "swift-parsing-benchmark",
"path" : "Sources/swift-parsing-benchmark",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"swift-parsing-benchmark"
],
"sources" : [
"Arithmetic.swift",
"BinaryData.swift",
"Bool.swift",
"CSV.swift",
"Color.swift",
"Common/Benchmarking.swift",
"Common/ParsingError.swift",
"Date.swift",
"HTTP.swift",
"JSON.swift",
"Numerics.swift",
"PrefixUpTo.swift",
"Race.swift",
"ReadmeExample.swift",
"Samples/CSVSample.swift",
"Samples/XCTestLogsSample.swift",
"StringAbstractions.swift",
"UUID.swift",
"XCTestLogs.swift",
"main.swift"
],
"target_dependencies" : [
"Parsing"
],
"type" : "executable"
},
{
"c99name" : "ParsingTests",
"module_type" : "SwiftTarget",
"name" : "ParsingTests",
"path" : "Tests/ParsingTests",
"sources" : [
"AlwaysTests.swift",
"AnyParserTests.swift",
"BacktrackTests.swift",
"BoolTests.swift",
"CaseIterableRawRepresentableTests.swift",
"CaseIterableTests.swift",
"CharacterSetTests.swift",
"CompactMapTests.swift",
"ConditionalTests.swift",
"ConsumedTests.swift",
"DigitsTests.swift",
"DoubleTests.swift",
"EndTests.swift",
"FailTests.swift",
"FilterTests.swift",
"FirstTests.swift",
"FlatMapTests.swift",
"FromSubstringTests.swift",
"IntTests.swift",
"LazyTests.swift",
"ManyTests.swift",
"MapTests.swift",
"NotTests.swift",
"OneOfBuilderTests.swift",
"OneOfTests.swift",
"OptionallyTests.swift",
"ParseableFormatTests.swift",
"ParserBuilderTests.swift",
"ParserTests.swift",
"ParsingErrorTests.swift",
"PeekTests.swift",
"PipeEndTests.swift",
"PipeTests.swift",
"PrefixTests.swift",
"PrefixThroughTests.swift",
"PrefixUpToTests.swift",
"RegressionTests.swift",
"ReplaceErrorTests.swift",
"RestTests.swift",
"SkipTests.swift",
"StartsWithTests.swift",
"StreamTests.swift",
"UTF8Tests.swift",
"UUIDTests.swift",
"VariadicTests.swift",
"WhitespaceTests.swift"
],
"target_dependencies" : [
"Parsing"
],
"type" : "test"
},
{
"c99name" : "Parsing",
"module_type" : "SwiftTarget",
"name" : "Parsing",
"path" : "Sources/Parsing",
"product_dependencies" : [
"CasePaths"
],
"product_memberships" : [
"Parsing",
"swift-parsing-benchmark"
],
"sources" : [
"Builders/OneOfBuilder.swift",
"Builders/ParserBuilder.swift",
"Conversion.swift",
"Conversions/AnyConversion.swift",
"Conversions/BinaryFloatingPoint.swift",
"Conversions/ConversionMap.swift",
"Conversions/Conversions.swift",
"Conversions/Data.swift",
"Conversions/Enum.swift",
"Conversions/FixedWidthInteger.swift",
"Conversions/Identity.swift",
"Conversions/JSON.swift",
"Conversions/LosslessStringConvertible.swift",
"Conversions/Memberwise.swift",
"Conversions/ParseableFormatStyleConversion.swift",
"Conversions/RawRepresentable.swift",
"Conversions/String.swift",
"Conversions/Substring.swift",
"Conversions/UTF8View.swift",
"ConvertingError.swift",
"CountingRange.swift",
"EmptyInitializable.swift",
"Internal/AnyEquatable.swift",
"Internal/Deprecations.swift",
"Parser.swift",
"ParserPrinter.swift",
"ParserPrinters/Always.swift",
"ParserPrinters/AnyParserPrinter.swift",
"ParserPrinters/Backtracking.swift",
"ParserPrinters/Bool.swift",
"ParserPrinters/CaseIterableRawRepresentable.swift",
"ParserPrinters/CharacterSet.swift",
"ParserPrinters/Conditional.swift",
"ParserPrinters/Consumed.swift",
"ParserPrinters/Digits.swift",
"ParserPrinters/End.swift",
"ParserPrinters/Fail.swift",
"ParserPrinters/Filter.swift",
"ParserPrinters/First.swift",
"ParserPrinters/Float.swift",
"ParserPrinters/From.swift",
"ParserPrinters/Int.swift",
"ParserPrinters/Lazy.swift",
"ParserPrinters/Literal.swift",
"ParserPrinters/Many.swift",
"ParserPrinters/Map.swift",
"ParserPrinters/Newline.swift",
"ParserPrinters/Not.swift",
"ParserPrinters/OneOf.swift",
"ParserPrinters/OneOfMany.swift",
"ParserPrinters/Optional.swift",
"ParserPrinters/Optionally.swift",
"ParserPrinters/Parse.swift",
"ParserPrinters/ParseableFormatStyle.swift",
"ParserPrinters/Peek.swift",
"ParserPrinters/Pipe.swift",
"ParserPrinters/Prefix.swift",
"ParserPrinters/PrefixThrough.swift",
"ParserPrinters/PrefixUpTo.swift",
"ParserPrinters/Printing.swift",
"ParserPrinters/Pullback.swift",
"ParserPrinters/ReplaceError.swift",
"ParserPrinters/Rest.swift",
"ParserPrinters/Skip.swift",
"ParserPrinters/StartsWith.swift",
"ParserPrinters/UUID.swift",
"ParserPrinters/Whitespace.swift",
"Parsers/AnyParser.swift",
"Parsers/CompactMap.swift",
"Parsers/FlatMap.swift",
"Parsers/Parsers.swift",
"Parsers/Stream.swift",
"ParsingError.swift",
"PrependableCollection.swift",
"PrintingError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/14] Write sources
[7/14] Write swift-parsing-benchmark-entitlement.plist
[7/14] Write sources
[10/14] Write swift-version-5BDAB9E9C0126B9D.txt
[12/25] Emitting module ArgumentParserToolInfo
[13/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/60] Compiling ArgumentParser Argument.swift
[15/60] Compiling ArgumentParser ArgumentHelp.swift
[16/60] Compiling ArgumentParser CompletionKind.swift
[17/60] Compiling ArgumentParser Errors.swift
[18/63] Compiling ArgumentParser Parsed.swift
[19/63] Compiling ArgumentParser ParsedValues.swift
[20/63] Compiling ArgumentParser ParserError.swift
[21/63] Compiling ArgumentParser SplitArguments.swift
[22/63] Compiling ArgumentParser CommandConfiguration.swift
[23/63] Compiling ArgumentParser EnumerableFlag.swift
[24/63] Compiling ArgumentParser ExpressibleByArgument.swift
[25/63] Compiling ArgumentParser ParsableArguments.swift
[26/63] Compiling ArgumentParser SequenceExtensions.swift
[27/63] Compiling ArgumentParser StringExtensions.swift
[28/63] Compiling ArgumentParser Tree.swift
[29/63] Compiling XCTestDynamicOverlay Unimplemented.swift
[30/63] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[31/63] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[32/63] Compiling XCTestDynamicOverlay XCTFail.swift
[33/63] Compiling ArgumentParser Flag.swift
[34/63] Compiling ArgumentParser NameSpecification.swift
[35/63] Compiling ArgumentParser Option.swift
[36/63] Compiling ArgumentParser OptionGroup.swift
[37/63] Compiling ArgumentParser ArgumentSet.swift
[38/63] Compiling ArgumentParser CommandParser.swift
[39/63] Compiling ArgumentParser InputOrigin.swift
[40/63] Compiling ArgumentParser Name.swift
[41/63] Compiling XCTestDynamicOverlay Deprecations.swift
[42/63] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[43/63] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[44/63] Emitting module XCTestDynamicOverlay
[45/63] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[46/63] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/63] Compiling ArgumentParser ParsableCommand.swift
[48/63] Compiling ArgumentParser ArgumentDecoder.swift
[49/63] Compiling ArgumentParser ArgumentDefinition.swift
[50/71] Compiling CasePaths OpenExistential.swift
[51/71] Compiling CasePaths TypeName.swift
[52/71] Compiling CasePaths Operators.swift
[53/71] Compiling CasePaths XCTUnwrap.swift
[54/71] Compiling ArgumentParser MessageInfo.swift
[55/71] Compiling ArgumentParser UsageGenerator.swift
[56/71] Compiling ArgumentParser CollectionExtensions.swift
[57/71] Emitting module ArgumentParser
[58/71] Compiling ArgumentParser BashCompletionsGenerator.swift
[59/71] Compiling ArgumentParser CompletionsGenerator.swift
[60/71] Compiling ArgumentParser FishCompletionsGenerator.swift
[61/71] Compiling ArgumentParser ZshCompletionsGenerator.swift
[62/71] Compiling ArgumentParser DumpHelpGenerator.swift
[63/71] Compiling ArgumentParser HelpCommand.swift
[64/71] Compiling ArgumentParser HelpGenerator.swift
[65/71] Compiling CasePaths CasePaths.swift
[66/71] Emitting module CasePaths
[67/71] Compiling CasePaths CasePath.swift
[68/71] Compiling CasePaths EnumReflection.swift
[69/157] Compiling Parsing Enum.swift
[70/157] Compiling Parsing FixedWidthInteger.swift
[71/157] Compiling Benchmark Stats.swift
[72/157] Compiling Benchmark BenchmarkTime.swift
[73/158] Compiling Benchmark TestIntegration.swift
[74/158] Compiling Parsing ParseableFormatStyleConversion.swift
[75/158] Compiling Parsing RawRepresentable.swift
[76/158] Compiling Parsing LosslessStringConvertible.swift
[77/158] Compiling Parsing Memberwise.swift
[78/158] Compiling Parsing CountingRange.swift
[79/158] Compiling Parsing EmptyInitializable.swift
[80/158] Compiling Parsing String.swift
[81/158] Compiling Parsing Substring.swift
[82/158] Compiling Parsing UTF8View.swift
[83/158] Compiling Parsing ConvertingError.swift
[84/158] Emitting module Benchmark
[85/158] Compiling Parsing Identity.swift
[86/158] Compiling Parsing JSON.swift
[87/158] Compiling Parsing Not.swift
[88/158] Compiling Parsing OneOf.swift
[89/158] Compiling Parsing OneOfMany.swift
[90/158] Compiling Parsing Optional.swift
[91/158] Compiling Parsing Optionally.swift
[92/158] Compiling Parsing Parse.swift
[93/158] Compiling Parsing ParseableFormatStyle.swift
[94/158] Compiling Parsing Peek.swift
[95/158] Compiling Parsing Pipe.swift
[96/158] Compiling Parsing Prefix.swift
[97/158] Compiling Parsing PrefixThrough.swift
[98/158] Compiling Parsing PrefixUpTo.swift
[99/158] Compiling Parsing Printing.swift
[100/158] Compiling Parsing Pullback.swift
[101/165] Compiling Parsing Parser.swift
[102/165] Compiling Parsing ParserPrinter.swift
[103/165] Compiling Parsing Always.swift
[104/165] Compiling Parsing AnyParserPrinter.swift
[105/165] Compiling Parsing Backtracking.swift
[106/165] Compiling Parsing Bool.swift
[107/165] Compiling Parsing CaseIterableRawRepresentable.swift
[108/165] Compiling Parsing CharacterSet.swift
[109/165] Compiling Parsing Conditional.swift
[110/165] Compiling Parsing Consumed.swift
[111/165] Compiling Parsing Digits.swift
[112/165] Compiling Parsing End.swift
[113/165] Compiling Parsing Fail.swift
[114/165] Compiling Parsing Filter.swift
[115/165] Compiling Parsing First.swift
[116/165] Compiling Parsing Float.swift
[117/165] Compiling Parsing OneOfBuilder.swift
[118/165] Compiling Parsing ParserBuilder.swift
[119/165] Compiling Parsing Conversion.swift
[120/165] Compiling Parsing AnyConversion.swift
[121/165] Compiling Parsing BinaryFloatingPoint.swift
[122/165] Compiling Parsing ConversionMap.swift
[123/165] Compiling Parsing Conversions.swift
[124/165] Compiling Parsing Data.swift
[131/165] Compiling Parsing AnyEquatable.swift
[132/165] Compiling Parsing Deprecations.swift
[141/165] Compiling Parsing ReplaceError.swift
[142/165] Compiling Parsing Rest.swift
[143/165] Compiling Parsing Skip.swift
[144/165] Compiling Parsing StartsWith.swift
[145/165] Compiling Parsing UUID.swift
[146/165] Compiling Parsing Whitespace.swift
[147/165] Compiling Parsing AnyParser.swift
[148/165] Compiling Parsing From.swift
[149/165] Compiling Parsing Int.swift
[150/165] Compiling Parsing Lazy.swift
[151/165] Compiling Parsing Literal.swift
[152/165] Compiling Parsing Many.swift
[153/165] Compiling Parsing Map.swift
[154/165] Compiling Parsing Newline.swift
[155/165] Compiling Parsing CompactMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[156/165] Compiling Parsing FlatMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[157/165] Compiling Parsing Parsers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[158/165] Compiling Parsing Stream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[159/165] Compiling Parsing ParsingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[160/165] Compiling Parsing PrependableCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[161/165] Compiling Parsing PrintingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[162/165] Emitting module Parsing
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:5:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
3 | @usableFromInline
4 | enum ParsingError: Error {
5 | case failed(String, Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
6 | case manyFailed([Error], Context)
7 |
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/ParsingError.swift:6:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
4 | enum ParsingError: Error {
5 | case failed(String, Context)
6 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type 'ParsingError.Context'; this is an error in the Swift 6 language mode
7 |
8 | @usableFromInline
:
114 |
115 | @usableFromInline
116 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
117 | @usableFromInline
118 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:3:8: warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
1 | @usableFromInline
2 | enum PrintingError: Error {
3 | case failed(Context)
| `- warning: associated value 'failed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
4 | case manyFailed([Error], Context)
5 |
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/Parsing/PrintingError.swift:4:8: warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
2 | enum PrintingError: Error {
3 | case failed(Context)
4 | case manyFailed([Error], Context)
| `- warning: associated value 'manyFailed' of 'Sendable'-conforming enum 'PrintingError' has non-sendable type 'PrintingError.Context'; this is an error in the Swift 6 language mode
5 |
6 | @available(*, deprecated)
:
62 |
63 | @usableFromInline
64 | struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
65 | @usableFromInline
66 | var debugDescription: String
[163/184] Compiling swift_parsing_benchmark StringAbstractions.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:15:5: warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| `- warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| |- note: annotate 'stringAbstractionsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:6:5: warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| `- warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| |- note: annotate 'uuidSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
[164/184] Compiling swift_parsing_benchmark UUID.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:15:5: warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| `- warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| |- note: annotate 'stringAbstractionsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:6:5: warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| `- warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| |- note: annotate 'uuidSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
[165/184] Compiling swift_parsing_benchmark CSVSample.swift
[166/184] Compiling swift_parsing_benchmark XCTestLogsSample.swift
[167/186] Compiling swift_parsing_benchmark XCTestLogs.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:6:5: warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| `- warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| |- note: annotate 'arithmeticSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:26:5: warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| `- warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| |- note: annotate 'binaryDataSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:9:5: warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| `- warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| |- note: annotate 'boolSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:7:5: warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| `- warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| |- note: annotate 'colorSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:7:5: warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| `- warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| |- note: annotate 'csvSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:81:5: warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| `- warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| |- note: annotate 'dateSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:9:5: warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| `- warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| |- note: annotate 'httpSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:9:5: warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| `- warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| |- note: annotate 'jsonSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:7:5: warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| `- warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| |- note: annotate 'numericsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:6:5: warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| `- warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| |- note: annotate 'prefixUpToSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:8:5: warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| `- warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| |- note: annotate 'raceSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:6:5: warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| `- warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| |- note: annotate 'readmeExampleSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:15:5: warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| `- warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| |- note: annotate 'stringAbstractionsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:6:5: warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| `- warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| |- note: annotate 'uuidSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/XCTestLogs.swift:7:5: warning: let 'xcodeLogsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// in an array of test failures and passes.
6 |
7 | let xcodeLogsSuite = BenchmarkSuite(name: "Xcode Logs") { suite in
| `- warning: let 'xcodeLogsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | var output: [TestResult]!
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/XCTestLogs.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | /// in an array of test failures and passes.
6 |
7 | let xcodeLogsSuite = BenchmarkSuite(name: "Xcode Logs") { suite in
| |- note: annotate 'xcodeLogsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | var output: [TestResult]!
9 |
[168/186] Compiling swift_parsing_benchmark main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:6:5: warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| `- warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| |- note: annotate 'arithmeticSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:26:5: warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| `- warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| |- note: annotate 'binaryDataSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:9:5: warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| `- warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| |- note: annotate 'boolSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:7:5: warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| `- warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| |- note: annotate 'colorSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:7:5: warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| `- warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| |- note: annotate 'csvSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:81:5: warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| `- warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| |- note: annotate 'dateSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:9:5: warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| `- warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| |- note: annotate 'httpSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:9:5: warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| `- warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| |- note: annotate 'jsonSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:7:5: warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| `- warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| |- note: annotate 'numericsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:6:5: warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| `- warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| |- note: annotate 'prefixUpToSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:8:5: warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| `- warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| |- note: annotate 'raceSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:6:5: warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| `- warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| |- note: annotate 'readmeExampleSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:15:5: warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| `- warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| |- note: annotate 'stringAbstractionsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:6:5: warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| `- warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| |- note: annotate 'uuidSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/XCTestLogs.swift:7:5: warning: let 'xcodeLogsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// in an array of test failures and passes.
6 |
7 | let xcodeLogsSuite = BenchmarkSuite(name: "Xcode Logs") { suite in
| `- warning: let 'xcodeLogsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | var output: [TestResult]!
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/XCTestLogs.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | /// in an array of test failures and passes.
6 |
7 | let xcodeLogsSuite = BenchmarkSuite(name: "Xcode Logs") { suite in
| |- note: annotate 'xcodeLogsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | var output: [TestResult]!
9 |
[169/186] Compiling swift_parsing_benchmark Numerics.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:7:5: warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| `- warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| |- note: annotate 'numericsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:6:5: warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| `- warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| |- note: annotate 'prefixUpToSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
[170/186] Compiling swift_parsing_benchmark PrefixUpTo.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:7:5: warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| `- warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| |- note: annotate 'numericsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:6:5: warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| `- warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| |- note: annotate 'prefixUpToSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
[171/186] Compiling swift_parsing_benchmark Race.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:8:5: warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| `- warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| |- note: annotate 'raceSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:6:5: warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| `- warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| |- note: annotate 'readmeExampleSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.8)
8 | let input = """
[172/186] Compiling swift_parsing_benchmark ReadmeExample.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:8:5: warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| `- warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| |- note: annotate 'raceSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:6:5: warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| `- warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| |- note: annotate 'readmeExampleSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.8)
8 | let input = """
[173/186] Compiling swift_parsing_benchmark ParsingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:81:5: warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| `- warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| |- note: annotate 'dateSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
[174/186] Compiling swift_parsing_benchmark Date.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:81:5: warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| `- warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| |- note: annotate 'dateSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
[175/186] Compiling swift_parsing_benchmark Arithmetic.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:6:5: warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| `- warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| |- note: annotate 'arithmeticSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:26:5: warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| `- warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| |- note: annotate 'binaryDataSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
[176/186] Compiling swift_parsing_benchmark BinaryData.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:6:5: warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| `- warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| |- note: annotate 'arithmeticSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:26:5: warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| `- warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| |- note: annotate 'binaryDataSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
[177/186] Compiling swift_parsing_benchmark Bool.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:9:5: warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| `- warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| |- note: annotate 'boolSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:7:5: warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| `- warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| |- note: annotate 'csvSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
[178/186] Compiling swift_parsing_benchmark CSV.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:9:5: warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| `- warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| |- note: annotate 'boolSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:7:5: warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| `- warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| |- note: annotate 'csvSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
[179/186] Compiling swift_parsing_benchmark Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:7:5: warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| `- warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| |- note: annotate 'colorSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
[180/186] Compiling swift_parsing_benchmark Benchmarking.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:7:5: warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| `- warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| |- note: annotate 'colorSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
[181/186] Emitting module swift_parsing_benchmark
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:6:5: warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| `- warning: let 'arithmeticSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Arithmetic.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how to parse a recursive grammar: arithmetic.
6 | let arithmeticSuite = BenchmarkSuite(name: "Arithmetic") { suite in
| |- note: annotate 'arithmeticSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | struct AdditionAndSubtraction: Parser {
8 | var body: some Parser<Substring.UTF8View, Double> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:26:5: warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| `- warning: let 'binaryDataSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/BinaryData.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
24 | /// | ARCOUNT |
25 | /// +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
26 | let binaryDataSuite = BenchmarkSuite(name: "BinaryData") { suite in
| |- note: annotate 'binaryDataSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | #if swift(>=5.8)
28 | struct Word16Parser: Parser {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:9:5: warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| `- warning: let 'boolSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Bool.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// type. `Scanner` does not have a `scanBool` method, but we can emulate this functionality by calling
8 | /// `scanString` twice and mapping each result to a boolean.
9 | let boolSuite = BenchmarkSuite(name: "Bool") { suite in
| |- note: annotate 'boolSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | var input = "true"
11 | var expected = true
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:7:5: warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| `- warning: let 'colorSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Color.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | ///
6 | /// Compare to the Rust [example using nom](https://github.com/Geal/nom#example).
7 | let colorSuite = BenchmarkSuite(name: "Color") { suite in
| |- note: annotate 'colorSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct Color: Equatable {
9 | let red, green, blue: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:7:5: warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| `- warning: let 'csvSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/CSV.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how to define a simple CSV parser with quoted fields and measures
6 | /// its performance against a more ad hoc approach at the same level of abstraction.
7 | let csvSuite = BenchmarkSuite(name: "CSV") { suite in
| |- note: annotate 'csvSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | struct FieldParser: ParserPrinter {
9 | var body: some ParserPrinter<Substring.UTF8View, String> {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:81:5: warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| `- warning: let 'dateSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Date.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
79 | /// parse fractional seconds and time zone offsets automatically, and it will parse to the
80 | /// nanosecond, while the formatters do not parse beyond the millisecond.
81 | let dateSuite = BenchmarkSuite(name: "Date") { suite in
| |- note: annotate 'dateSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | #if swift(>=5.8)
83 | let input = "1979-05-27T00:32:00Z"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:9:5: warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| `- warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| |- note: annotate 'httpSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:9:5: warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| `- warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| |- note: annotate 'jsonSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:7:5: warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| `- warning: let 'numericsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Numerics.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
5 | /// This benchmark demonstrates how the numeric parsers in the library compare to Apple's tools, such
6 | /// as initializers and `Scanner`.
7 | let numericsSuite = BenchmarkSuite(name: "Numerics") { suite in
| |- note: annotate 'numericsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | do {
9 | let input = "123"
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:6:5: warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| `- warning: let 'prefixUpToSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/PrefixUpTo.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmarks the performance of `PrefixUpTo` against Apple's tools.
6 | let prefixUpToSuite = BenchmarkSuite(name: "PrefixUpTo") { suite in
| |- note: annotate 'prefixUpToSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = String(repeating: ".", count: 10_000) + "Hello, world!"
8 |
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:8:5: warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| `- warning: let 'raceSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/Race.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
6 | ///
7 | /// [parsing]: https://www.pointfree.co/collections/parsing
8 | let raceSuite = BenchmarkSuite(name: "Race") { suite in
| |- note: annotate 'raceSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | #if swift(>=5.8)
10 | struct Coordinate {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:6:5: warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| `- warning: let 'readmeExampleSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/ReadmeExample.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark measures the performance of the examples given in the library's README.
6 | let readmeExampleSuite = BenchmarkSuite(name: "README Example") { suite in
| |- note: annotate 'readmeExampleSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.8)
8 | let input = """
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:15:5: warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| `- warning: let 'stringAbstractionsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/StringAbstractions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
13 | /// but this means we are responsible for handling UTF8 normalization, so we have to explicitly
14 | /// handle both the "LATIN SMALL LETTER E WITH ACUTE" and "E + COMBINING ACUTE ACCENT" characters.
15 | let stringAbstractionsSuite = BenchmarkSuite(name: "String Abstractions") { suite in
| |- note: annotate 'stringAbstractionsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let count = 1_000
17 | let input = (1...count)
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:6:5: warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| `- warning: let 'uuidSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/UUID.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
4 |
5 | /// This benchmark demonstrates how the UUID parser compares to `UUID`'s initializer.
6 | let uuidSuite = BenchmarkSuite(name: "UUID") { suite in
| |- note: annotate 'uuidSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let input = "deadbeef-dead-beef-dead-beefdeadbeef"
8 | let expected = UUID(uuidString: "deadbeef-dead-beef-dead-beefdeadbeef")!
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/XCTestLogs.swift:7:5: warning: let 'xcodeLogsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// in an array of test failures and passes.
6 |
7 | let xcodeLogsSuite = BenchmarkSuite(name: "Xcode Logs") { suite in
| `- warning: let 'xcodeLogsSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | var output: [TestResult]!
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/XCTestLogs.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
5 | /// in an array of test failures and passes.
6 |
7 | let xcodeLogsSuite = BenchmarkSuite(name: "Xcode Logs") { suite in
| |- note: annotate 'xcodeLogsSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | var output: [TestResult]!
9 |
[182/186] Compiling swift_parsing_benchmark HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:9:5: warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| `- warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| |- note: annotate 'httpSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:9:5: warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| `- warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| |- note: annotate 'jsonSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
[183/186] Compiling swift_parsing_benchmark JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:9:5: warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| `- warning: let 'httpSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/HTTP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Parsing
3 |
:
7 | ///
8 | /// In particular, it benchmarks the same HTTP header as that defined in `one_test`.
9 | let httpSuite = BenchmarkSuite(name: "HTTP") { suite in
| |- note: annotate 'httpSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct RequestParser: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:9:5: warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| `- warning: let 'jsonSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/swift-parsing-benchmark/JSON.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Foundation
3 | import Parsing
:
7 | /// It is mostly implemented according to the [spec](https://www.json.org/json-en.html) (we take a
8 | /// shortcut and use `Double.parser()`, which behaves accordingly).
9 | let jsonSuite = BenchmarkSuite(name: "JSON") { suite in
| |- note: annotate 'jsonSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #if swift(>=5.8)
11 | struct JSONValue: ParserPrinter {
[183/186] Write Objects.LinkFileList
[184/186] Linking swift-parsing-benchmark
[185/186] Applying swift-parsing-benchmark
Build complete! (28.92s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
}
],
"manifest_display_name" : "swift-parsing",
"name" : "swift-parsing",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Parsing",
"targets" : [
"Parsing"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-parsing-benchmark",
"targets" : [
"swift-parsing-benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_parsing_benchmark",
"module_type" : "SwiftTarget",
"name" : "swift-parsing-benchmark",
"path" : "Sources/swift-parsing-benchmark",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"swift-parsing-benchmark"
],
"sources" : [
"Arithmetic.swift",
"BinaryData.swift",
"Bool.swift",
"CSV.swift",
"Color.swift",
"Common/Benchmarking.swift",
"Common/ParsingError.swift",
"Date.swift",
"HTTP.swift",
"JSON.swift",
"Numerics.swift",
"PrefixUpTo.swift",
"Race.swift",
"ReadmeExample.swift",
"Samples/CSVSample.swift",
"Samples/XCTestLogsSample.swift",
"StringAbstractions.swift",
"UUID.swift",
"XCTestLogs.swift",
"main.swift"
],
"target_dependencies" : [
"Parsing"
],
"type" : "executable"
},
{
"c99name" : "ParsingTests",
"module_type" : "SwiftTarget",
"name" : "ParsingTests",
"path" : "Tests/ParsingTests",
"sources" : [
"AlwaysTests.swift",
"AnyParserTests.swift",
"BacktrackTests.swift",
"BoolTests.swift",
"CaseIterableRawRepresentableTests.swift",
"CaseIterableTests.swift",
"CharacterSetTests.swift",
"CompactMapTests.swift",
"ConditionalTests.swift",
"ConsumedTests.swift",
"DigitsTests.swift",
"DoubleTests.swift",
"EndTests.swift",
"FailTests.swift",
"FilterTests.swift",
"FirstTests.swift",
"FlatMapTests.swift",
"FromSubstringTests.swift",
"IntTests.swift",
"LazyTests.swift",
"ManyTests.swift",
"MapTests.swift",
"NotTests.swift",
"OneOfBuilderTests.swift",
"OneOfTests.swift",
"OptionallyTests.swift",
"ParseableFormatTests.swift",
"ParserBuilderTests.swift",
"ParserTests.swift",
"ParsingErrorTests.swift",
"PeekTests.swift",
"PipeEndTests.swift",
"PipeTests.swift",
"PrefixTests.swift",
"PrefixThroughTests.swift",
"PrefixUpToTests.swift",
"RegressionTests.swift",
"ReplaceErrorTests.swift",
"RestTests.swift",
"SkipTests.swift",
"StartsWithTests.swift",
"StreamTests.swift",
"UTF8Tests.swift",
"UUIDTests.swift",
"VariadicTests.swift",
"WhitespaceTests.swift"
],
"target_dependencies" : [
"Parsing"
],
"type" : "test"
},
{
"c99name" : "Parsing",
"module_type" : "SwiftTarget",
"name" : "Parsing",
"path" : "Sources/Parsing",
"product_dependencies" : [
"CasePaths"
],
"product_memberships" : [
"Parsing",
"swift-parsing-benchmark"
],
"sources" : [
"Builders/OneOfBuilder.swift",
"Builders/ParserBuilder.swift",
"Conversion.swift",
"Conversions/AnyConversion.swift",
"Conversions/BinaryFloatingPoint.swift",
"Conversions/ConversionMap.swift",
"Conversions/Conversions.swift",
"Conversions/Data.swift",
"Conversions/Enum.swift",
"Conversions/FixedWidthInteger.swift",
"Conversions/Identity.swift",
"Conversions/JSON.swift",
"Conversions/LosslessStringConvertible.swift",
"Conversions/Memberwise.swift",
"Conversions/ParseableFormatStyleConversion.swift",
"Conversions/RawRepresentable.swift",
"Conversions/String.swift",
"Conversions/Substring.swift",
"Conversions/UTF8View.swift",
"ConvertingError.swift",
"CountingRange.swift",
"EmptyInitializable.swift",
"Internal/AnyEquatable.swift",
"Internal/Deprecations.swift",
"Parser.swift",
"ParserPrinter.swift",
"ParserPrinters/Always.swift",
"ParserPrinters/AnyParserPrinter.swift",
"ParserPrinters/Backtracking.swift",
"ParserPrinters/Bool.swift",
"ParserPrinters/CaseIterableRawRepresentable.swift",
"ParserPrinters/CharacterSet.swift",
"ParserPrinters/Conditional.swift",
"ParserPrinters/Consumed.swift",
"ParserPrinters/Digits.swift",
"ParserPrinters/End.swift",
"ParserPrinters/Fail.swift",
"ParserPrinters/Filter.swift",
"ParserPrinters/First.swift",
"ParserPrinters/Float.swift",
"ParserPrinters/From.swift",
"ParserPrinters/Int.swift",
"ParserPrinters/Lazy.swift",
"ParserPrinters/Literal.swift",
"ParserPrinters/Many.swift",
"ParserPrinters/Map.swift",
"ParserPrinters/Newline.swift",
"ParserPrinters/Not.swift",
"ParserPrinters/OneOf.swift",
"ParserPrinters/OneOfMany.swift",
"ParserPrinters/Optional.swift",
"ParserPrinters/Optionally.swift",
"ParserPrinters/Parse.swift",
"ParserPrinters/ParseableFormatStyle.swift",
"ParserPrinters/Peek.swift",
"ParserPrinters/Pipe.swift",
"ParserPrinters/Prefix.swift",
"ParserPrinters/PrefixThrough.swift",
"ParserPrinters/PrefixUpTo.swift",
"ParserPrinters/Printing.swift",
"ParserPrinters/Pullback.swift",
"ParserPrinters/ReplaceError.swift",
"ParserPrinters/Rest.swift",
"ParserPrinters/Skip.swift",
"ParserPrinters/StartsWith.swift",
"ParserPrinters/UUID.swift",
"ParserPrinters/Whitespace.swift",
"Parsers/AnyParser.swift",
"Parsers/CompactMap.swift",
"Parsers/FlatMap.swift",
"Parsers/Parsers.swift",
"Parsers/Stream.swift",
"ParsingError.swift",
"PrependableCollection.swift",
"PrintingError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.