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 PMJSON with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 20

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/postmates/PMJSON.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/postmates/PMJSON
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1221cbd Add archival and fork to the readme
Cloned https://github.com/postmates/PMJSON.git
Revision (git rev-parse @):
1221cbdf2573bbd693e6ecd2da3f012dec9ff1d8
SUCCESS checkout https://github.com/postmates/PMJSON.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/postmates/PMJSON.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/17] Compiling PMJSON JSONObject.swift
[4/18] Compiling PMJSON Foundation.swift
[5/18] Compiling PMJSON JSONError.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONError.swift:26:10: warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.ExpectedType'; this is an error in the Swift 6 language mode
  24 |     /// - Parameter expected: The type that was expected at this path.
  25 |     /// - Parameter actual: The type of the value found at the path, or `nil` if there was no value.
  26 |     case missingOrInvalidType(path: String?, expected: ExpectedType, actual: JSONType?)
     |          `- warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.ExpectedType'; this is an error in the Swift 6 language mode
  27 |     /// Thrown when an integral value is coerced to a smaller type (e.g. `Int64` to `Int`) and the
  28 |     /// value doesn't fit in the smaller type.
     :
 136 |     }
 137 |
 138 |     public enum ExpectedType: CustomStringConvertible {
     |                 `- note: consider making enum 'ExpectedType' conform to the 'Sendable' protocol
 139 |         case required(JSONType)
 140 |         case optional(JSONType)
/Users/admin/builder/spi-builder-workspace/Sources/JSONError.swift:26:10: warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.JSONType'; this is an error in the Swift 6 language mode
  24 |     /// - Parameter expected: The type that was expected at this path.
  25 |     /// - Parameter actual: The type of the value found at the path, or `nil` if there was no value.
  26 |     case missingOrInvalidType(path: String?, expected: ExpectedType, actual: JSONType?)
     |          `- warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.JSONType'; this is an error in the Swift 6 language mode
  27 |     /// Thrown when an integral value is coerced to a smaller type (e.g. `Int64` to `Int`) and the
  28 |     /// value doesn't fit in the smaller type.
     :
 148 |     }
 149 |
 150 |     public enum JSONType: String, CustomStringConvertible {
     |                 `- note: consider making enum 'JSONType' conform to the 'Sendable' protocol
 151 |         case null = "null"
 152 |         case bool = "bool"
[6/18] Compiling PMJSON JSON.swift
[7/18] Compiling PMJSON DecimalNumber.swift
[8/18] Compiling PMJSON Decoder.swift
[9/18] Compiling PMJSON Deprecations.swift
[10/18] Compiling PMJSON Encoder.swift
[11/18] Compiling PMJSON CombineSupport.swift
[12/18] Compiling PMJSON JSONKey.swift
[13/18] Compiling PMJSON Accessors.swift
[14/18] Compiling PMJSON Codable.swift
[15/18] Compiling PMJSON SwiftDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Coders/SwiftDecoder.swift:936:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
934 |
935 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
936 | internal var _iso8601Formatter: ISO8601DateFormatter = {
    |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
937 |     let formatter = ISO8601DateFormatter()
938 |     formatter.formatOptions = [.withInternetDateTime]
/Users/admin/builder/spi-builder-workspace/Sources/Coders/SwiftDecoder.swift:944:18: warning: var '_iso8601FractionalSecondsFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
942 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
943 |     @available(macOS 10.13, iOS 11.2, watchOS 4.0, tvOS 11.2, *)
944 |     internal var _iso8601FractionalSecondsFormatter: ISO8601DateFormatter = {
    |                  |- warning: var '_iso8601FractionalSecondsFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert '_iso8601FractionalSecondsFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate '_iso8601FractionalSecondsFormatter' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
945 |         let formatter = ISO8601DateFormatter()
946 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
[16/18] Compiling PMJSON SwiftEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Coders/SwiftDecoder.swift:936:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
934 |
935 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
936 | internal var _iso8601Formatter: ISO8601DateFormatter = {
    |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
937 |     let formatter = ISO8601DateFormatter()
938 |     formatter.formatOptions = [.withInternetDateTime]
/Users/admin/builder/spi-builder-workspace/Sources/Coders/SwiftDecoder.swift:944:18: warning: var '_iso8601FractionalSecondsFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
942 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
943 |     @available(macOS 10.13, iOS 11.2, watchOS 4.0, tvOS 11.2, *)
944 |     internal var _iso8601FractionalSecondsFormatter: ISO8601DateFormatter = {
    |                  |- warning: var '_iso8601FractionalSecondsFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert '_iso8601FractionalSecondsFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate '_iso8601FractionalSecondsFormatter' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
945 |         let formatter = ISO8601DateFormatter()
946 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
[17/18] Emitting module PMJSON
/Users/admin/builder/spi-builder-workspace/Sources/Coders/SwiftDecoder.swift:936:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
934 |
935 | @available(macOS 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
936 | internal var _iso8601Formatter: ISO8601DateFormatter = {
    |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate '_iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
937 |     let formatter = ISO8601DateFormatter()
938 |     formatter.formatOptions = [.withInternetDateTime]
/Users/admin/builder/spi-builder-workspace/Sources/Coders/SwiftDecoder.swift:944:18: warning: var '_iso8601FractionalSecondsFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
942 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
943 |     @available(macOS 10.13, iOS 11.2, watchOS 4.0, tvOS 11.2, *)
944 |     internal var _iso8601FractionalSecondsFormatter: ISO8601DateFormatter = {
    |                  |- warning: var '_iso8601FractionalSecondsFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert '_iso8601FractionalSecondsFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate '_iso8601FractionalSecondsFormatter' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
945 |         let formatter = ISO8601DateFormatter()
946 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/Users/admin/builder/spi-builder-workspace/Sources/JSONError.swift:26:10: warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.ExpectedType'; this is an error in the Swift 6 language mode
  24 |     /// - Parameter expected: The type that was expected at this path.
  25 |     /// - Parameter actual: The type of the value found at the path, or `nil` if there was no value.
  26 |     case missingOrInvalidType(path: String?, expected: ExpectedType, actual: JSONType?)
     |          `- warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.ExpectedType'; this is an error in the Swift 6 language mode
  27 |     /// Thrown when an integral value is coerced to a smaller type (e.g. `Int64` to `Int`) and the
  28 |     /// value doesn't fit in the smaller type.
     :
 136 |     }
 137 |
 138 |     public enum ExpectedType: CustomStringConvertible {
     |                 `- note: consider making enum 'ExpectedType' conform to the 'Sendable' protocol
 139 |         case required(JSONType)
 140 |         case optional(JSONType)
/Users/admin/builder/spi-builder-workspace/Sources/JSONError.swift:26:10: warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.JSONType'; this is an error in the Swift 6 language mode
  24 |     /// - Parameter expected: The type that was expected at this path.
  25 |     /// - Parameter actual: The type of the value found at the path, or `nil` if there was no value.
  26 |     case missingOrInvalidType(path: String?, expected: ExpectedType, actual: JSONType?)
     |          `- warning: associated value 'missingOrInvalidType(path:expected:actual:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'JSONError.JSONType'; this is an error in the Swift 6 language mode
  27 |     /// Thrown when an integral value is coerced to a smaller type (e.g. `Int64` to `Int`) and the
  28 |     /// value doesn't fit in the smaller type.
     :
 148 |     }
 149 |
 150 |     public enum JSONType: String, CustomStringConvertible {
     |                 `- note: consider making enum 'JSONType' conform to the 'Sendable' protocol
 151 |         case null = "null"
 152 |         case bool = "bool"
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:650:23: warning: static property 'invalidSyntax' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
648 | public struct JSONParserError: Error, Hashable, CustomStringConvertible {
649 |     /// A generic syntax error.
650 |     public static let invalidSyntax: Code = .invalidSyntax
    |                       |- warning: static property 'invalidSyntax' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidSyntax' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
651 |     /// An invalid number.
652 |     public static let invalidNumber: Code = .invalidNumber
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:652:23: warning: static property 'invalidNumber' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
650 |     public static let invalidSyntax: Code = .invalidSyntax
651 |     /// An invalid number.
652 |     public static let invalidNumber: Code = .invalidNumber
    |                       |- warning: static property 'invalidNumber' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
653 |     /// An invalid string escape.
654 |     public static let invalidEscape: Code = .invalidEscape
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:654:23: warning: static property 'invalidEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
652 |     public static let invalidNumber: Code = .invalidNumber
653 |     /// An invalid string escape.
654 |     public static let invalidEscape: Code = .invalidEscape
    |                       |- warning: static property 'invalidEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidEscape' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
655 |     /// A unicode string escape with an invalid code point.
656 |     public static let invalidUnicodeScalar: Code = .invalidUnicodeScalar
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:656:23: warning: static property 'invalidUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
654 |     public static let invalidEscape: Code = .invalidEscape
655 |     /// A unicode string escape with an invalid code point.
656 |     public static let invalidUnicodeScalar: Code = .invalidUnicodeScalar
    |                       |- warning: static property 'invalidUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidUnicodeScalar' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |     /// A unicode string escape representing a leading surrogate that wasn't followed
658 |     /// by a trailing surrogate, or a trailing surrogate that wasn't preceeded
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:660:23: warning: static property 'invalidSurrogateEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
658 |     /// by a trailing surrogate, or a trailing surrogate that wasn't preceeded
659 |     /// by a leading surrogate.
660 |     public static let invalidSurrogateEscape: Code = .invalidSurrogateEscape
    |                       |- warning: static property 'invalidSurrogateEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidSurrogateEscape' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |     /// A control character in a string.
662 |     public static let controlCharacterInString: Code = .controlCharacterInString
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:662:23: warning: static property 'controlCharacterInString' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
660 |     public static let invalidSurrogateEscape: Code = .invalidSurrogateEscape
661 |     /// A control character in a string.
662 |     public static let controlCharacterInString: Code = .controlCharacterInString
    |                       |- warning: static property 'controlCharacterInString' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'controlCharacterInString' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |     /// A comma was found where a colon was expected in an object.
664 |     public static let expectedColon: Code = .expectedColon
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:664:23: warning: static property 'expectedColon' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
662 |     public static let controlCharacterInString: Code = .controlCharacterInString
663 |     /// A comma was found where a colon was expected in an object.
664 |     public static let expectedColon: Code = .expectedColon
    |                       |- warning: static property 'expectedColon' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'expectedColon' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 |     /// A comma or colon was found in an object without a key.
666 |     public static let missingKey: Code = .missingKey
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:666:23: warning: static property 'missingKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
664 |     public static let expectedColon: Code = .expectedColon
665 |     /// A comma or colon was found in an object without a key.
666 |     public static let missingKey: Code = .missingKey
    |                       |- warning: static property 'missingKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'missingKey' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |     /// An object key was found that was not a string.
668 |     public static let nonStringKey: Code = .nonStringKey
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:668:23: warning: static property 'nonStringKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
666 |     public static let missingKey: Code = .missingKey
667 |     /// An object key was found that was not a string.
668 |     public static let nonStringKey: Code = .nonStringKey
    |                       |- warning: static property 'nonStringKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'nonStringKey' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
669 |     /// A comma or object end was encountered where a value was expected.
670 |     public static let missingValue: Code = .missingValue
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:670:23: warning: static property 'missingValue' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
668 |     public static let nonStringKey: Code = .nonStringKey
669 |     /// A comma or object end was encountered where a value was expected.
670 |     public static let missingValue: Code = .missingValue
    |                       |- warning: static property 'missingValue' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'missingValue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
671 |     /// A trailing comma was found in an array or object. Only emitted when the parser is in strict mode.
672 |     public static let trailingComma: Code = .trailingComma
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:672:23: warning: static property 'trailingComma' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
670 |     public static let missingValue: Code = .missingValue
671 |     /// A trailing comma was found in an array or object. Only emitted when the parser is in strict mode.
672 |     public static let trailingComma: Code = .trailingComma
    |                       |- warning: static property 'trailingComma' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trailingComma' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
673 |     /// Trailing (non-whitespace) characters found after the close
674 |     /// of the root value.
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:676:23: warning: static property 'trailingCharacters' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
674 |     /// of the root value.
675 |     /// - Note: This error cannot be thrown if the parser is in streaming mode.
676 |     public static let trailingCharacters: Code = .trailingCharacters
    |                       |- warning: static property 'trailingCharacters' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trailingCharacters' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 |     /// EOF was found before the root value finished parsing.
678 |     public static let unexpectedEOF: Code = .unexpectedEOF
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:678:23: warning: static property 'unexpectedEOF' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
676 |     public static let trailingCharacters: Code = .trailingCharacters
677 |     /// EOF was found before the root value finished parsing.
678 |     public static let unexpectedEOF: Code = .unexpectedEOF
    |                       |- warning: static property 'unexpectedEOF' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'unexpectedEOF' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 |
680 |     @available(*, unavailable, renamed: "invalidSurrogateEscape")
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:681:23: warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
679 |
680 |     @available(*, unavailable, renamed: "invalidSurrogateEscape")
681 |     public static let loneLeadingSurrogateInUnicodeEscape: Code = .invalidSurrogateEscape
    |                       |- warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'loneLeadingSurrogateInUnicodeEscape' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |     public let code: Code
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:728:20: warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
    :
726 |
727 |         @available(*, unavailable, renamed: "invalidSurrogateEscape")
728 |         static let loneLeadingSurrogateInUnicodeEscape: Code = .invalidSurrogateEscape
    |                    |- warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'loneLeadingSurrogateInUnicodeEscape' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
729 |
730 |         public static func ~=(lhs: Code, rhs: Error) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:683:16: warning: stored property 'code' of 'Sendable'-conforming struct 'JSONParserError' has non-sendable type 'JSONParserError.Code'; this is an error in the Swift 6 language mode
681 |     public static let loneLeadingSurrogateInUnicodeEscape: Code = .invalidSurrogateEscape
682 |
683 |     public let code: Code
    |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'JSONParserError' has non-sendable type 'JSONParserError.Code'; this is an error in the Swift 6 language mode
684 |     public let line: UInt
685 |     public let column: UInt
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
[18/18] Compiling PMJSON Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:650:23: warning: static property 'invalidSyntax' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
648 | public struct JSONParserError: Error, Hashable, CustomStringConvertible {
649 |     /// A generic syntax error.
650 |     public static let invalidSyntax: Code = .invalidSyntax
    |                       |- warning: static property 'invalidSyntax' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidSyntax' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
651 |     /// An invalid number.
652 |     public static let invalidNumber: Code = .invalidNumber
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:652:23: warning: static property 'invalidNumber' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
650 |     public static let invalidSyntax: Code = .invalidSyntax
651 |     /// An invalid number.
652 |     public static let invalidNumber: Code = .invalidNumber
    |                       |- warning: static property 'invalidNumber' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
653 |     /// An invalid string escape.
654 |     public static let invalidEscape: Code = .invalidEscape
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:654:23: warning: static property 'invalidEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
652 |     public static let invalidNumber: Code = .invalidNumber
653 |     /// An invalid string escape.
654 |     public static let invalidEscape: Code = .invalidEscape
    |                       |- warning: static property 'invalidEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidEscape' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
655 |     /// A unicode string escape with an invalid code point.
656 |     public static let invalidUnicodeScalar: Code = .invalidUnicodeScalar
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:656:23: warning: static property 'invalidUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
654 |     public static let invalidEscape: Code = .invalidEscape
655 |     /// A unicode string escape with an invalid code point.
656 |     public static let invalidUnicodeScalar: Code = .invalidUnicodeScalar
    |                       |- warning: static property 'invalidUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidUnicodeScalar' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
657 |     /// A unicode string escape representing a leading surrogate that wasn't followed
658 |     /// by a trailing surrogate, or a trailing surrogate that wasn't preceeded
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:660:23: warning: static property 'invalidSurrogateEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
658 |     /// by a trailing surrogate, or a trailing surrogate that wasn't preceeded
659 |     /// by a leading surrogate.
660 |     public static let invalidSurrogateEscape: Code = .invalidSurrogateEscape
    |                       |- warning: static property 'invalidSurrogateEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'invalidSurrogateEscape' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |     /// A control character in a string.
662 |     public static let controlCharacterInString: Code = .controlCharacterInString
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:662:23: warning: static property 'controlCharacterInString' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
660 |     public static let invalidSurrogateEscape: Code = .invalidSurrogateEscape
661 |     /// A control character in a string.
662 |     public static let controlCharacterInString: Code = .controlCharacterInString
    |                       |- warning: static property 'controlCharacterInString' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'controlCharacterInString' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 |     /// A comma was found where a colon was expected in an object.
664 |     public static let expectedColon: Code = .expectedColon
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:664:23: warning: static property 'expectedColon' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
662 |     public static let controlCharacterInString: Code = .controlCharacterInString
663 |     /// A comma was found where a colon was expected in an object.
664 |     public static let expectedColon: Code = .expectedColon
    |                       |- warning: static property 'expectedColon' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'expectedColon' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
665 |     /// A comma or colon was found in an object without a key.
666 |     public static let missingKey: Code = .missingKey
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:666:23: warning: static property 'missingKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
664 |     public static let expectedColon: Code = .expectedColon
665 |     /// A comma or colon was found in an object without a key.
666 |     public static let missingKey: Code = .missingKey
    |                       |- warning: static property 'missingKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'missingKey' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |     /// An object key was found that was not a string.
668 |     public static let nonStringKey: Code = .nonStringKey
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:668:23: warning: static property 'nonStringKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
666 |     public static let missingKey: Code = .missingKey
667 |     /// An object key was found that was not a string.
668 |     public static let nonStringKey: Code = .nonStringKey
    |                       |- warning: static property 'nonStringKey' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'nonStringKey' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
669 |     /// A comma or object end was encountered where a value was expected.
670 |     public static let missingValue: Code = .missingValue
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:670:23: warning: static property 'missingValue' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
668 |     public static let nonStringKey: Code = .nonStringKey
669 |     /// A comma or object end was encountered where a value was expected.
670 |     public static let missingValue: Code = .missingValue
    |                       |- warning: static property 'missingValue' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'missingValue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
671 |     /// A trailing comma was found in an array or object. Only emitted when the parser is in strict mode.
672 |     public static let trailingComma: Code = .trailingComma
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:672:23: warning: static property 'trailingComma' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
670 |     public static let missingValue: Code = .missingValue
671 |     /// A trailing comma was found in an array or object. Only emitted when the parser is in strict mode.
672 |     public static let trailingComma: Code = .trailingComma
    |                       |- warning: static property 'trailingComma' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trailingComma' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
673 |     /// Trailing (non-whitespace) characters found after the close
674 |     /// of the root value.
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:676:23: warning: static property 'trailingCharacters' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
674 |     /// of the root value.
675 |     /// - Note: This error cannot be thrown if the parser is in streaming mode.
676 |     public static let trailingCharacters: Code = .trailingCharacters
    |                       |- warning: static property 'trailingCharacters' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trailingCharacters' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 |     /// EOF was found before the root value finished parsing.
678 |     public static let unexpectedEOF: Code = .unexpectedEOF
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:678:23: warning: static property 'unexpectedEOF' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
676 |     public static let trailingCharacters: Code = .trailingCharacters
677 |     /// EOF was found before the root value finished parsing.
678 |     public static let unexpectedEOF: Code = .unexpectedEOF
    |                       |- warning: static property 'unexpectedEOF' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'unexpectedEOF' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 |
680 |     @available(*, unavailable, renamed: "invalidSurrogateEscape")
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:681:23: warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
679 |
680 |     @available(*, unavailable, renamed: "invalidSurrogateEscape")
681 |     public static let loneLeadingSurrogateInUnicodeEscape: Code = .invalidSurrogateEscape
    |                       |- warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'loneLeadingSurrogateInUnicodeEscape' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 |
683 |     public let code: Code
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:728:20: warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
    :
726 |
727 |         @available(*, unavailable, renamed: "invalidSurrogateEscape")
728 |         static let loneLeadingSurrogateInUnicodeEscape: Code = .invalidSurrogateEscape
    |                    |- warning: static property 'loneLeadingSurrogateInUnicodeEscape' is not concurrency-safe because non-'Sendable' type 'JSONParserError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'loneLeadingSurrogateInUnicodeEscape' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
729 |
730 |         public static func ~=(lhs: Code, rhs: Error) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Parser.swift:683:16: warning: stored property 'code' of 'Sendable'-conforming struct 'JSONParserError' has non-sendable type 'JSONParserError.Code'; this is an error in the Swift 6 language mode
681 |     public static let loneLeadingSurrogateInUnicodeEscape: Code = .invalidSurrogateEscape
682 |
683 |     public let code: Code
    |                `- warning: stored property 'code' of 'Sendable'-conforming struct 'JSONParserError' has non-sendable type 'JSONParserError.Code'; this is an error in the Swift 6 language mode
684 |     public let line: UInt
685 |     public let column: UInt
    :
693 |     public var _code: Int { return code.rawValue }
694 |
695 |     public enum Code: Int {
    |                 `- note: consider making enum 'Code' conform to the 'Sendable' protocol
696 |         /// A generic syntax error.
697 |         case invalidSyntax
Build complete! (21.95s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PMJSON",
  "name" : "PMJSON",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PMJSON",
      "targets" : [
        "PMJSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PMJSONTests",
      "module_type" : "SwiftTarget",
      "name" : "PMJSONTests",
      "path" : "Tests/PMJSONTests",
      "sources" : [
        "JSONAccessorTests.swift",
        "JSONDecoderTests.swift",
        "JSONEncoderTests.swift",
        "JSONParserTests.swift",
        "JSONTestSuite.swift",
        "SwiftCodableTests.swift",
        "SwiftDecoderTests.swift",
        "SwiftEncoderTests.swift"
      ],
      "target_dependencies" : [
        "PMJSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PMJSON",
      "module_type" : "SwiftTarget",
      "name" : "PMJSON",
      "path" : "Sources",
      "product_memberships" : [
        "PMJSON"
      ],
      "sources" : [
        "Accessors.swift",
        "Codable.swift",
        "Coders/CombineSupport.swift",
        "Coders/JSONKey.swift",
        "Coders/SwiftDecoder.swift",
        "Coders/SwiftEncoder.swift",
        "DecimalNumber.swift",
        "Decoder.swift",
        "Deprecations.swift",
        "Encoder.swift",
        "Foundation.swift",
        "JSON.swift",
        "JSONError.swift",
        "JSONObject.swift",
        "Parser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.