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

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-json-parsing with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/oskarek/swift-json-parsing.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/oskarek/swift-json-parsing
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ba457be Use new version in installation instructions
Cloned https://github.com/oskarek/swift-json-parsing.git
Revision (git rev-parse @):
ba457be0e34ef98865aec9a382a23db93b253aaf
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/oskarek/swift-json-parsing.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/oskarek/swift-json-parsing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write sources
[5/15] Copying sample_json.json
[6/15] Write sources
[7/15] Write swift-json-parsing-benchmark-entitlement.plist
[7/15] Write sources
[11/15] Write swift-version-6F35C1178C84523A.txt
[13/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/26] Emitting module ArgumentParserToolInfo
[15/64] Compiling XCTestDynamicOverlay Deprecations.swift
[16/64] Compiling ArgumentParser AsyncParsableCommand.swift
[17/64] Compiling ArgumentParser CommandConfiguration.swift
[18/64] Compiling ArgumentParser EnumerableFlag.swift
[19/64] Compiling ArgumentParser ExpressibleByArgument.swift
[20/68] Emitting module XCTestDynamicOverlay
[21/68] Compiling ArgumentParser InputOrigin.swift
[22/68] Compiling ArgumentParser Name.swift
[23/68] Compiling ArgumentParser Parsed.swift
[24/68] Compiling ArgumentParser ParsedValues.swift
[25/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/68] Compiling ArgumentParser CompletionsGenerator.swift
[27/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/68] Compiling ArgumentParser Argument.swift
[30/68] Compiling ArgumentParser ArgumentDefinition.swift
[31/68] Compiling ArgumentParser ArgumentSet.swift
[32/68] Compiling ArgumentParser CommandParser.swift
[33/68] Compiling ArgumentParser InputKey.swift
[34/68] Compiling ArgumentParser Platform.swift
[35/68] Compiling ArgumentParser SequenceExtensions.swift
[36/68] Compiling ArgumentParser StringExtensions.swift
[37/68] Compiling ArgumentParser Tree.swift
[38/68] Compiling ArgumentParser Flag.swift
[39/68] Compiling ArgumentParser NameSpecification.swift
[40/68] Compiling ArgumentParser Option.swift
[41/68] Compiling ArgumentParser OptionGroup.swift
[42/68] Compiling ArgumentParser ParsableArguments.swift
[43/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/68] Compiling ArgumentParser ParsableCommand.swift
[45/68] Compiling ArgumentParser ArgumentDecoder.swift
[46/68] Compiling ArgumentParser ArgumentHelp.swift
[47/68] Compiling ArgumentParser ArgumentVisibility.swift
[48/68] Compiling ArgumentParser CompletionKind.swift
[49/68] Compiling ArgumentParser Errors.swift
[50/68] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[51/68] Compiling XCTestDynamicOverlay XCTFail.swift
[52/68] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[53/68] Compiling ArgumentParser HelpGenerator.swift
[54/68] Compiling ArgumentParser MessageInfo.swift
[55/68] Compiling ArgumentParser UsageGenerator.swift
[56/68] Compiling ArgumentParser CollectionExtensions.swift
[57/68] Emitting module ArgumentParser
[58/68] Compiling ArgumentParser ParserError.swift
[59/68] Compiling ArgumentParser SplitArguments.swift
[60/68] Compiling ArgumentParser DumpHelpGenerator.swift
[61/68] Compiling ArgumentParser HelpCommand.swift
[62/68] Compiling XCTestDynamicOverlay Unimplemented.swift
[63/68] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[64/68] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[65/68] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[66/93] Compiling CasePaths XCTUnwrap.swift
[67/93] Compiling CasePaths OpenExistential.swift
[68/93] Compiling CasePaths TypeName.swift
[69/93] Compiling CasePaths Operators.swift
[70/93] Compiling CasePaths CasePaths.swift
[71/93] Compiling Benchmark BenchmarkTime.swift
[72/93] Compiling Benchmark BenchmarkSuite.swift
[73/93] Compiling Benchmark BenchmarkTermination.swift
[74/93] Compiling Benchmark Stats.swift
[75/93] Compiling Benchmark BenchmarkResult.swift
[76/93] Compiling Benchmark BenchmarkRunner.swift
[77/94] Compiling Benchmark BenchmarkColumn.swift
[78/94] Compiling Benchmark BenchmarkCommand.swift
[79/94] Compiling CasePaths CasePath.swift
[80/94] Compiling CasePaths EnumReflection.swift
[81/94] Emitting module CasePaths
[82/94] Compiling Benchmark BenchmarkFilter.swift
[83/94] Compiling Benchmark BenchmarkFormatter.swift
[84/94] Compiling Benchmark BenchmarkSetting.swift
[85/94] Compiling Benchmark BenchmarkState.swift
[86/94] Compiling Benchmark BenchmarkMain.swift
[87/94] Compiling Benchmark BenchmarkReporter.swift
[88/94] Compiling Benchmark TestIntegration.swift
[89/94] Compiling Benchmark Benchmark.swift
[90/94] Compiling Benchmark BenchmarkArguments.swift
[91/94] Emitting module Benchmark
[92/163] Compiling Parsing Enum.swift
[93/163] Compiling Parsing FixedWidthInteger.swift
[94/163] Compiling Parsing Identity.swift
[95/163] Compiling Parsing JSON.swift
[96/163] Compiling Parsing LosslessStringConvertible.swift
[97/163] Compiling Parsing Memberwise.swift
[98/163] Compiling Parsing ParseableFormatStyleConversion.swift
[99/163] Compiling Parsing RawRepresentable.swift
[100/170] Compiling Parsing Peek.swift
[101/170] Compiling Parsing Pipe.swift
[102/170] Compiling Parsing Prefix.swift
[103/170] Compiling Parsing PrefixThrough.swift
[104/170] Compiling Parsing PrefixUpTo.swift
[105/170] Compiling Parsing Printing.swift
[106/170] Compiling Parsing Pullback.swift
[107/170] Compiling Parsing Conditional.swift
[108/170] Compiling Parsing Consumed.swift
[109/170] Compiling Parsing Digits.swift
[110/170] Compiling Parsing End.swift
[111/170] Compiling Parsing Fail.swift
[112/170] Compiling Parsing Filter.swift
[113/170] Compiling Parsing First.swift
[114/170] Compiling Parsing Float.swift
[115/170] Compiling Parsing OneOfBuilder.swift
[116/170] Compiling Parsing ParserBuilder.swift
[117/170] Compiling Parsing Conversion.swift
[118/170] Compiling Parsing AnyConversion.swift
[119/170] Compiling Parsing BinaryFloatingPoint.swift
[120/170] Compiling Parsing ConversionMap.swift
[121/170] Compiling Parsing Conversions.swift
[122/170] Compiling Parsing Data.swift
[123/170] Compiling Parsing Parser.swift
[124/170] Compiling Parsing ParserPrinter.swift
[125/170] Compiling Parsing Always.swift
[126/170] Compiling Parsing AnyParserPrinter.swift
[127/170] Compiling Parsing Backtracking.swift
[128/170] Compiling Parsing Bool.swift
[129/170] Compiling Parsing CaseIterableRawRepresentable.swift
[130/170] Compiling Parsing CharacterSet.swift
[131/170] Compiling Parsing Not.swift
[132/170] Compiling Parsing OneOf.swift
[133/170] Compiling Parsing OneOfMany.swift
[134/170] Compiling Parsing Optional.swift
[135/170] Compiling Parsing Optionally.swift
[136/170] Compiling Parsing Parse.swift
[137/170] Compiling Parsing ParseableFormatStyle.swift
[138/170] Compiling Parsing ReplaceError.swift
[139/170] Compiling Parsing Rest.swift
[140/170] Compiling Parsing Skip.swift
[141/170] Compiling Parsing StartsWith.swift
[142/170] Compiling Parsing UUID.swift
[143/170] Compiling Parsing Whitespace.swift
[144/170] Compiling Parsing AnyParser.swift
[145/170] Compiling Parsing String.swift
[146/170] Compiling Parsing Substring.swift
[147/170] Compiling Parsing UTF8View.swift
[148/170] Compiling Parsing ConvertingError.swift
[149/170] Compiling Parsing CountingRange.swift
[150/170] Compiling Parsing EmptyInitializable.swift
[151/170] Compiling Parsing AnyEquatable.swift
[152/170] Compiling Parsing Deprecations.swift
[153/170] Compiling Parsing From.swift
[154/170] Compiling Parsing Int.swift
[155/170] Compiling Parsing Lazy.swift
[156/170] Compiling Parsing Literal.swift
[157/170] Compiling Parsing Many.swift
[158/170] Compiling Parsing Map.swift
[159/170] Compiling Parsing Newline.swift
[160/170] Compiling Parsing CompactMap.swift
[161/170] Compiling Parsing FlatMap.swift
[162/170] Compiling Parsing Parsers.swift
[163/170] Compiling Parsing Stream.swift
[164/170] Compiling Parsing ParsingError.swift
[165/170] Compiling Parsing PrependableCollection.swift
[166/170] Compiling Parsing PrintingError.swift
[167/170] Emitting module Parsing
[168/194] Compiling JSONParsing JSONPrintingError+Codable.swift
[169/194] Compiling JSONParsing JSONValue+Codable.swift
[170/196] Compiling JSONParsing DecodableJSONParser.swift
[171/196] Compiling JSONParsing DecodingContainers+JSONParsing.swift
[172/196] Compiling JSONParsing Date+JSONParsing.swift
[173/196] Compiling JSONParsing URL+JSONParsing.swift
[174/196] Compiling JSONParsing UUID+JSONParsing.swift
[175/196] Compiling JSONParsing JSONParsingError.swift
[176/196] Compiling JSONParsing JSONPrintingError.swift
[177/196] Compiling JSONParsing Exports.swift
[178/196] Compiling JSONParsing JSONString.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[179/196] Compiling JSONParsing Null.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[180/196] Compiling JSONParsing OptionalField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[181/196] Compiling JSONParsing EncodingContainers+JSONParsing.swift
[182/196] Compiling JSONParsing JSONParsingError+Codable.swift
[183/196] Compiling JSONParsing JSONParser+DecodeEncode.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[184/196] Compiling JSONParsing Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[185/196] Compiling JSONParsing JSONArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[186/196] Compiling JSONParsing JSONValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[187/196] Compiling JSONParsing Typealiases.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[188/196] Compiling JSONParsing JSONBoolean.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[189/196] Compiling JSONParsing JSONNumber.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[190/196] Compiling JSONParsing JSONObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[191/196] Compiling JSONParsing JSONValue+JSONSerialization.swift
[192/196] Compiling JSONParsing JSONValue+PrettyPrinting.swift
[193/196] Emitting module JSONParsing
/Users/admin/builder/spi-builder-workspace/Sources/JSONParsing/JSONValue/JSONValue.swift:18:21: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A typed representation of a JSON value.
 4 | public enum JSONValue: Equatable {
   |             `- note: consider making enum 'JSONValue' conform to the 'Sendable' protocol
 5 |   case null
 6 |   case boolean(Bool)
   :
16 |   public init() { self = .empty }
17 |   /// An empty JSON object. Equivalent to `JSONValue.object([:])`.
18 |   public static let empty: JSONValue = .object([:])
   |                     |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'JSONValue' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[194/202] Compiling swift_json_parsing_benchmark resource_bundle_accessor.swift
[195/202] Compiling swift_json_parsing_benchmark EncodingBenchmarks.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/EncodingBenchmarks.swift:5:5: warning: let 'jsonEncodingBench' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import JSONParsing
 4 |
 5 | let jsonEncodingBench = BenchmarkSuite(name: "Encoding") { suite in
   |     `- warning: let 'jsonEncodingBench' 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 |   let persons = Array(repeating: Person.bob, count: 100)
 7 |
/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-json-parsing-benchmark/EncodingBenchmarks.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 JSONParsing
 4 |
 5 | let jsonEncodingBench = BenchmarkSuite(name: "Encoding") { suite in
   |     |- note: annotate 'jsonEncodingBench' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |   let persons = Array(repeating: Person.bob, count: 100)
 7 |
[196/202] Compiling swift_json_parsing_benchmark main.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/DecodingBenchmarks.swift:5:5: warning: let 'jsonDecodingBench' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import JSONParsing
 4 |
 5 | let jsonDecodingBench = BenchmarkSuite(name: "Decoding") { suite in
   |     `- warning: let 'jsonDecodingBench' 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 |   let jsonPath = Bundle.module.url(forResource: "sample_json", withExtension: "json")!
 7 |   let jsonData = try! Data(contentsOf: jsonPath)
/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-json-parsing-benchmark/DecodingBenchmarks.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 JSONParsing
 4 |
 5 | let jsonDecodingBench = BenchmarkSuite(name: "Decoding") { suite in
   |     |- note: annotate 'jsonDecodingBench' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |   let jsonPath = Bundle.module.url(forResource: "sample_json", withExtension: "json")!
 7 |   let jsonData = try! Data(contentsOf: jsonPath)
/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/EncodingBenchmarks.swift:5:5: warning: let 'jsonEncodingBench' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import JSONParsing
 4 |
 5 | let jsonEncodingBench = BenchmarkSuite(name: "Encoding") { suite in
   |     `- warning: let 'jsonEncodingBench' 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 |   let persons = Array(repeating: Person.bob, count: 100)
 7 |
/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-json-parsing-benchmark/EncodingBenchmarks.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 JSONParsing
 4 |
 5 | let jsonEncodingBench = BenchmarkSuite(name: "Encoding") { suite in
   |     |- note: annotate 'jsonEncodingBench' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |   let persons = Array(repeating: Person.bob, count: 100)
 7 |
[197/202] Emitting module swift_json_parsing_benchmark
/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/DecodingBenchmarks.swift:5:5: warning: let 'jsonDecodingBench' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import JSONParsing
 4 |
 5 | let jsonDecodingBench = BenchmarkSuite(name: "Decoding") { suite in
   |     `- warning: let 'jsonDecodingBench' 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 |   let jsonPath = Bundle.module.url(forResource: "sample_json", withExtension: "json")!
 7 |   let jsonData = try! Data(contentsOf: jsonPath)
/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-json-parsing-benchmark/DecodingBenchmarks.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 JSONParsing
 4 |
 5 | let jsonDecodingBench = BenchmarkSuite(name: "Decoding") { suite in
   |     |- note: annotate 'jsonDecodingBench' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |   let jsonPath = Bundle.module.url(forResource: "sample_json", withExtension: "json")!
 7 |   let jsonData = try! Data(contentsOf: jsonPath)
/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/EncodingBenchmarks.swift:5:5: warning: let 'jsonEncodingBench' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import JSONParsing
 4 |
 5 | let jsonEncodingBench = BenchmarkSuite(name: "Encoding") { suite in
   |     `- warning: let 'jsonEncodingBench' 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 |   let persons = Array(repeating: Person.bob, count: 100)
 7 |
/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-json-parsing-benchmark/EncodingBenchmarks.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 JSONParsing
 4 |
 5 | let jsonEncodingBench = BenchmarkSuite(name: "Encoding") { suite in
   |     |- note: annotate 'jsonEncodingBench' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |   let persons = Array(repeating: Person.bob, count: 100)
 7 |
[198/202] Compiling swift_json_parsing_benchmark Person.swift
[199/202] Compiling swift_json_parsing_benchmark DecodingBenchmarks.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/DecodingBenchmarks.swift:5:5: warning: let 'jsonDecodingBench' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
 3 | import JSONParsing
 4 |
 5 | let jsonDecodingBench = BenchmarkSuite(name: "Decoding") { suite in
   |     `- warning: let 'jsonDecodingBench' 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 |   let jsonPath = Bundle.module.url(forResource: "sample_json", withExtension: "json")!
 7 |   let jsonData = try! Data(contentsOf: jsonPath)
/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-json-parsing-benchmark/DecodingBenchmarks.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 JSONParsing
 4 |
 5 | let jsonDecodingBench = BenchmarkSuite(name: "Decoding") { suite in
   |     |- note: annotate 'jsonDecodingBench' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |   let jsonPath = Bundle.module.url(forResource: "sample_json", withExtension: "json")!
 7 |   let jsonData = try! Data(contentsOf: jsonPath)
[199/202] Write Objects.LinkFileList
[200/202] Linking swift-json-parsing-benchmark
[201/202] Applying swift-json-parsing-benchmark
Build complete! (43.59s)
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/swift-parsing
Fetching https://github.com/apple/swift-argument-parser
[1/3767] Fetching swift-case-paths
[77/5253] Fetching swift-case-paths, swift-benchmark
[860/7609] Fetching swift-case-paths, swift-benchmark, xctest-dynamic-overlay
[4108/19288] Fetching swift-case-paths, swift-benchmark, xctest-dynamic-overlay, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.59s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.59s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
[1/97635] Fetching swift-parsing
Fetched https://github.com/pointfreeco/swift-parsing from cache (5.25s)
Fetched https://github.com/google/swift-benchmark from cache (5.25s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.68s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.67s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.68s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.67s)
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.13.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-parsing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-parsing"
    },
    {
      "identity" : "swift-benchmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/swift-benchmark"
    }
  ],
  "manifest_display_name" : "swift-json-parsing",
  "name" : "swift-json-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" : "JSONParsing",
      "targets" : [
        "JSONParsing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "swift-json-parsing-benchmark",
      "targets" : [
        "swift-json-parsing-benchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_json_parsing_benchmark",
      "module_type" : "SwiftTarget",
      "name" : "swift-json-parsing-benchmark",
      "path" : "Sources/swift-json-parsing-benchmark",
      "product_dependencies" : [
        "Benchmark",
        "Parsing"
      ],
      "product_memberships" : [
        "swift-json-parsing-benchmark"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/swift-json-parsing-benchmark/Samples/sample_json.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DecodingBenchmarks.swift",
        "EncodingBenchmarks.swift",
        "Person.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "JSONParsing"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "JSONParsingTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONParsingTests",
      "path" : "Tests/JSONParsingTests",
      "sources" : [
        "JSONParsers/DecodableJSONParserTests.swift",
        "JSONParsers/FieldTests.swift",
        "JSONParsers/JSONArrayTests.swift",
        "JSONParsers/JSONBooleanTests.swift",
        "JSONParsers/JSONNumberTests.swift",
        "JSONParsers/JSONStringTests.swift",
        "JSONParsers/NestedJSONTests.swift",
        "JSONParsers/NullTests.swift",
        "JSONParsers/ObjectTests.swift",
        "JSONParsers/OptionalFieldTests.swift",
        "JSONValue/PrettyPrintingTests.swift",
        "JSONValue/SerializationTests.swift"
      ],
      "target_dependencies" : [
        "JSONParsing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONParsing",
      "module_type" : "SwiftTarget",
      "name" : "JSONParsing",
      "path" : "Sources/JSONParsing",
      "product_dependencies" : [
        "Parsing"
      ],
      "product_memberships" : [
        "JSONParsing",
        "swift-json-parsing-benchmark"
      ],
      "sources" : [
        "Errors/JSONParsingError.swift",
        "Errors/JSONPrintingError.swift",
        "Exports.swift",
        "Foundation+JSONParsing/Date+JSONParsing.swift",
        "Foundation+JSONParsing/URL+JSONParsing.swift",
        "Foundation+JSONParsing/UUID+JSONParsing.swift",
        "JSONParser+DecodeEncode.swift",
        "JSONParsers/Field.swift",
        "JSONParsers/JSONArray.swift",
        "JSONParsers/JSONBoolean.swift",
        "JSONParsers/JSONNumber.swift",
        "JSONParsers/JSONObject.swift",
        "JSONParsers/JSONString.swift",
        "JSONParsers/Null.swift",
        "JSONParsers/OptionalField.swift",
        "JSONParsing+Codable/DecodableJSONParser.swift",
        "JSONParsing+Codable/DecodingContainers+JSONParsing.swift",
        "JSONParsing+Codable/EncodingContainers+JSONParsing.swift",
        "JSONParsing+Codable/JSONParsingError+Codable.swift",
        "JSONParsing+Codable/JSONPrintingError+Codable.swift",
        "JSONValue/JSONValue+Codable.swift",
        "JSONValue/JSONValue+JSONSerialization.swift",
        "JSONValue/JSONValue+PrettyPrinting.swift",
        "JSONValue/JSONValue.swift",
        "Typealiases.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.