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 Linux.

Swift 6 data race errors: 24

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/postmates/PMJSON.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling PMJSON Accessors.swift
/host/spi-builder-workspace/Sources/DecimalNumber.swift:458:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                `- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 13 | //
 14 |
 15 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 16 |
 17 | // MARK: Basic accessors
    :
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:459:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | }
461 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:463:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
461 |
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
    |                |- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
465 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:464:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | }
466 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
[4/17] Compiling PMJSON Codable.swift
/host/spi-builder-workspace/Sources/DecimalNumber.swift:458:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                `- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 13 | //
 14 |
 15 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 16 |
 17 | // MARK: Basic accessors
    :
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:459:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | }
461 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:463:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
461 |
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
    |                |- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
465 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:464:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | }
466 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
[5/18] Compiling PMJSON JSONError.swift
/host/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)
/host/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"
/host/spi-builder-workspace/Sources/JSONError.swift:44:10: warning: associated value 'outOfRangeDecimal(path:value:expected:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Decimal'; this is an error in the Swift 6 language mode
  42 |     /// - Parameter value: The actual value at that path.
  43 |     /// - Parameter expected: The type that the value doesn't fit in, e.g. `Int.self`.
  44 |     case outOfRangeDecimal(path: String?, value: Decimal, expected: Any.Type)
     |          `- warning: associated value 'outOfRangeDecimal(path:value:expected:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Decimal'; this is an error in the Swift 6 language mode
  45 |
  46 |     public var description: String {
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/JSONError.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  13 | //
  14 |
  15 | import struct Foundation.Decimal
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  16 | import class Foundation.NSDecimalNumber
  17 |
[6/18] Compiling PMJSON JSONObject.swift
/host/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)
/host/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"
/host/spi-builder-workspace/Sources/JSONError.swift:44:10: warning: associated value 'outOfRangeDecimal(path:value:expected:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Decimal'; this is an error in the Swift 6 language mode
  42 |     /// - Parameter value: The actual value at that path.
  43 |     /// - Parameter expected: The type that the value doesn't fit in, e.g. `Int.self`.
  44 |     case outOfRangeDecimal(path: String?, value: Decimal, expected: Any.Type)
     |          `- warning: associated value 'outOfRangeDecimal(path:value:expected:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Decimal'; this is an error in the Swift 6 language mode
  45 |
  46 |     public var description: String {
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/JSONError.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  13 | //
  14 |
  15 | import struct Foundation.Decimal
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  16 | import class Foundation.NSDecimalNumber
  17 |
[7/18] Compiling PMJSON Foundation.swift
[8/18] Compiling PMJSON JSON.swift
[9/18] Compiling PMJSON DecimalNumber.swift
/host/spi-builder-workspace/Sources/DecimalNumber.swift:458:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                `- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 13 | //
 14 |
 15 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 16 |
 17 | // MARK: Basic accessors
    :
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:459:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | }
461 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:463:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
461 |
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
    |                |- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
465 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:464:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | }
466 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
[10/18] Compiling PMJSON Decoder.swift
/host/spi-builder-workspace/Sources/DecimalNumber.swift:458:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                `- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 13 | //
 14 |
 15 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 16 |
 17 | // MARK: Basic accessors
    :
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:459:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | }
461 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:463:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
461 |
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
    |                |- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
465 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:464:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | }
466 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
[11/18] Compiling PMJSON Deprecations.swift
[12/18] Compiling PMJSON Encoder.swift
[13/18] Compiling PMJSON CombineSupport.swift
[14/18] Compiling PMJSON JSONKey.swift
[15/18] Compiling PMJSON SwiftDecoder.swift
/host/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]
[16/18] Compiling PMJSON SwiftEncoder.swift
/host/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]
[17/18] Emitting module PMJSON
/host/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]
/host/spi-builder-workspace/Sources/DecimalNumber.swift:458:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                `- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 13 | //
 14 |
 15 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 16 |
 17 | // MARK: Basic accessors
    :
456 |
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
460 | }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:459:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
457 | internal extension Int64 {
458 |     static let maxDecimal: Decimal = Decimal(Int64.max)
459 |     static let minDecimal: Decimal = Decimal(Int64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
460 | }
461 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:463:16: warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
461 |
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
    |                |- warning: static property 'maxDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'maxDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
465 | }
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/DecimalNumber.swift:464:16: warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
462 | internal extension UInt64 {
463 |     static let maxDecimal: Decimal = Decimal(UInt64.max)
464 |     static let minDecimal: Decimal = Decimal(UInt64.min)
    |                |- warning: static property 'minDecimal' is not concurrency-safe because non-'Sendable' type 'Decimal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'minDecimal' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | }
466 |
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/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)
/host/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"
/host/spi-builder-workspace/Sources/JSONError.swift:44:10: warning: associated value 'outOfRangeDecimal(path:value:expected:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Decimal'; this is an error in the Swift 6 language mode
  42 |     /// - Parameter value: The actual value at that path.
  43 |     /// - Parameter expected: The type that the value doesn't fit in, e.g. `Int.self`.
  44 |     case outOfRangeDecimal(path: String?, value: Decimal, expected: Any.Type)
     |          `- warning: associated value 'outOfRangeDecimal(path:value:expected:)' of 'Sendable'-conforming enum 'JSONError' has non-sendable type 'Decimal'; this is an error in the Swift 6 language mode
  45 |
  46 |     public var description: String {
Foundation.Decimal:1:15: note: struct 'Decimal' does not conform to the 'Sendable' protocol
 1 | public struct Decimal {
   |               `- note: struct 'Decimal' does not conform to the 'Sendable' protocol
 2 |     public var _exponent: Int32 { get set }
 3 |     public var _length: UInt32 { get set }
/host/spi-builder-workspace/Sources/JSONError.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  13 | //
  14 |
  15 | import struct Foundation.Decimal
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
  16 | import class Foundation.NSDecimalNumber
  17 |
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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 {
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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 {
/host/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! (20.04s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PMJSON",
  "name" : "PMJSON",
  "path" : "/host/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.