Build Information
Successful build of PotentCodables, reference main (5aead8
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 05:10:52 UTC.
Swift 6 data race errors: 108
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
17 | ///
18 | public class YAMLDecoder: ValueDecoder<YAML, YAMLDecoderTransform>, DecodesFromString {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
19 |
20 | public static let `default` = YAMLDecoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // MARK: Options
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLDecoder.swift:95:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'YAML' may have shared mutable state; this is an error in the Swift 6 language mode
93 | public typealias State = Void
94 |
95 | public static let nilValue = YAML.null(anchor: nil)
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'YAML' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:36:13: note: consider making enum 'YAML' conform to the 'Sendable' protocol
34 | ///
35 | @dynamicMemberLookup
36 | public enum YAML {
| `- note: consider making enum 'YAML' conform to the 'Sendable' protocol
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
[214/226] Compiling PotentYAML Libfyaml.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:121:22: warning: static property 'indentMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 | extension fy_emitter_cfg_flags {
120 |
121 | private static var indentMask = Self(UInt32(bitPattern: FYECF_INDENT_MASK))
| |- warning: static property 'indentMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | private static var indentShift = Self(UInt32(bitPattern: FYECF_INDENT_SHIFT))
123 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:122:22: warning: static property 'indentShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | private static var indentMask = Self(UInt32(bitPattern: FYECF_INDENT_MASK))
122 | private static var indentShift = Self(UInt32(bitPattern: FYECF_INDENT_SHIFT))
| |- warning: static property 'indentShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentShift' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentShift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | static func indent<R: RawRepresentable>(_ indent: R) -> Self where R.RawValue == UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:133:22: warning: static property 'widthMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static var widthMask = Self(UInt32(bitPattern: FYECF_WIDTH_MASK))
| |- warning: static property 'widthMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'widthMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'widthMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | private static var widthShift = Self(UInt32(bitPattern: FYECF_WIDTH_SHIFT))
135 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:134:22: warning: static property 'widthShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static var widthMask = Self(UInt32(bitPattern: FYECF_WIDTH_MASK))
134 | private static var widthShift = Self(UInt32(bitPattern: FYECF_WIDTH_SHIFT))
| |- warning: static property 'widthShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'widthShift' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'widthShift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | static func width<R: RawRepresentable>(_ width: R) -> Self where R.RawValue == UInt8 {
[215/226] Emitting module PotentYAML
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:121:22: warning: static property 'indentMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 | extension fy_emitter_cfg_flags {
120 |
121 | private static var indentMask = Self(UInt32(bitPattern: FYECF_INDENT_MASK))
| |- warning: static property 'indentMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | private static var indentShift = Self(UInt32(bitPattern: FYECF_INDENT_SHIFT))
123 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:122:22: warning: static property 'indentShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | private static var indentMask = Self(UInt32(bitPattern: FYECF_INDENT_MASK))
122 | private static var indentShift = Self(UInt32(bitPattern: FYECF_INDENT_SHIFT))
| |- warning: static property 'indentShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentShift' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentShift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | static func indent<R: RawRepresentable>(_ indent: R) -> Self where R.RawValue == UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:133:22: warning: static property 'widthMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static var widthMask = Self(UInt32(bitPattern: FYECF_WIDTH_MASK))
| |- warning: static property 'widthMask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'widthMask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'widthMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | private static var widthShift = Self(UInt32(bitPattern: FYECF_WIDTH_SHIFT))
135 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/Libfyaml.swift:134:22: warning: static property 'widthShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | private static var widthMask = Self(UInt32(bitPattern: FYECF_WIDTH_MASK))
134 | private static var widthShift = Self(UInt32(bitPattern: FYECF_WIDTH_SHIFT))
| |- warning: static property 'widthShift' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'widthShift' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'widthShift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | static func width<R: RawRepresentable>(_ width: R) -> Self where R.RawValue == UInt8 {
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:55:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
53 | }
54 |
55 | public static let null = Tag("tag:yaml.org,2002:null")
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
57 | public static let int = Tag("tag:yaml.org,2002:int")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:56:23: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
54 |
55 | public static let null = Tag("tag:yaml.org,2002:null")
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let int = Tag("tag:yaml.org,2002:int")
58 | public static let float = Tag("tag:yaml.org,2002:float")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:57:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
55 | public static let null = Tag("tag:yaml.org,2002:null")
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
57 | public static let int = Tag("tag:yaml.org,2002:int")
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let float = Tag("tag:yaml.org,2002:float")
59 | public static let str = Tag("tag:yaml.org,2002:str")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:58:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
57 | public static let int = Tag("tag:yaml.org,2002:int")
58 | public static let float = Tag("tag:yaml.org,2002:float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let str = Tag("tag:yaml.org,2002:str")
60 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:59:23: warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
57 | public static let int = Tag("tag:yaml.org,2002:int")
58 | public static let float = Tag("tag:yaml.org,2002:float")
59 | public static let str = Tag("tag:yaml.org,2002:str")
| |- warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'str' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public static let seq = Tag("tag:yaml.org,2002:seq")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:61:23: warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
59 | public static let str = Tag("tag:yaml.org,2002:str")
60 |
61 | public static let seq = Tag("tag:yaml.org,2002:seq")
| |- warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let map = Tag("tag:yaml.org,2002:map")
63 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:62:23: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
60 |
61 | public static let seq = Tag("tag:yaml.org,2002:seq")
62 | public static let map = Tag("tag:yaml.org,2002:map")
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | public var description: String { "!\(rawValue)" }
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLDecoder.swift:20:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// ``YAMLDecoder`` facilitates the decoding of YAML into semantic `Decodable` types.
17 | ///
18 | public class YAMLDecoder: ValueDecoder<YAML, YAMLDecoderTransform>, DecodesFromString {
| `- note: class 'YAMLDecoder' does not conform to the 'Sendable' protocol
19 |
20 | public static let `default` = YAMLDecoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // MARK: Options
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLDecoder.swift:95:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'YAML' may have shared mutable state; this is an error in the Swift 6 language mode
93 | public typealias State = Void
94 |
95 | public static let nilValue = YAML.null(anchor: nil)
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'YAML' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:36:13: note: consider making enum 'YAML' conform to the 'Sendable' protocol
34 | ///
35 | @dynamicMemberLookup
36 | public enum YAML {
| `- note: consider making enum 'YAML' conform to the 'Sendable' protocol
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLEncoder.swift:20:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// ``YAMLEncoder`` facilitates the encoding of `Encodable` values into YAML values.
17 | ///
18 | public class YAMLEncoder: ValueEncoder<YAML, YAMLEncoderTransform>, EncodesToString {
| `- note: class 'YAMLEncoder' does not conform to the 'Sendable' protocol
19 |
20 | public static let `default` = YAMLEncoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // MARK: Options
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLEncoder.swift:40:23: warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The formatting of the output YAML data.
25 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
26 |
27 | /// The format's default value.
:
38 | /// and sequences, it limits the output width to 80 characters
39 | /// by using folded strings when necessary.
40 | public static let pretty = OutputFormatting(rawValue: 1 << 0)
| |- warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pretty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Produce YAML with dictionary keys sorted in lexicographic order.
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLEncoder.swift:43:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The formatting of the output YAML data.
25 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
26 |
27 | /// The format's default value.
:
41 |
42 | /// Produce YAML with dictionary keys sorted in lexicographic order.
43 | public static let sortedKeys = OutputFormatting(rawValue: 1 << 1)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// Produce JSON compatible output.
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLEncoder.swift:46:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The formatting of the output YAML data.
25 | public struct OutputFormatting: OptionSet {
| `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
26 |
27 | /// The format's default value.
:
44 |
45 | /// Produce JSON compatible output.
46 | public static let json = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'YAMLEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLEncoder.swift:132:21: warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | public typealias State = Void
131 |
132 | public static var emptyKeyedContainer = YAML.mapping([])
| |- warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyKeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyKeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | public static var emptyUnkeyedContainer = YAML.sequence([])
134 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLEncoder.swift:133:21: warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | public static var emptyKeyedContainer = YAML.mapping([])
133 | public static var emptyUnkeyedContainer = YAML.sequence([])
| |- warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyUnkeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyUnkeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | public struct Options: InternalEncoderOptions {
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:26:16: warning: static property 'nullRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
24 | case instance
25 |
26 | static let nullRegex: Regex = #"^((null)|(Null)|(NULL)|(~)|(^$))$"#
| `- warning: static property 'nullRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | static let boolRegex: Regex = .anyOf(trueRegex, falseRegex)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
11 | import Foundation
12 | import PotentCodables
13 | import Regex
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
14 |
15 |
:
24 | case instance
25 |
26 | static let nullRegex: Regex = #"^((null)|(Null)|(NULL)|(~)|(^$))$"#
| |- note: annotate 'nullRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static let boolRegex: Regex = .anyOf(trueRegex, falseRegex)
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:28:16: warning: static property 'boolRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
26 | static let nullRegex: Regex = #"^((null)|(Null)|(NULL)|(~)|(^$))$"#
27 |
28 | static let boolRegex: Regex = .anyOf(trueRegex, falseRegex)
| |- warning: static property 'boolRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let trueRegex: Regex = #"^((true)|(True)|(TRUE))$"#
30 | static let falseRegex: Regex = #"^((false)|(False)|(FALSE))$"#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:29:16: warning: static property 'trueRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | static let boolRegex: Regex = .anyOf(trueRegex, falseRegex)
29 | static let trueRegex: Regex = #"^((true)|(True)|(TRUE))$"#
| |- warning: static property 'trueRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trueRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let falseRegex: Regex = #"^((false)|(False)|(FALSE))$"#
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:30:16: warning: static property 'falseRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
28 | static let boolRegex: Regex = .anyOf(trueRegex, falseRegex)
29 | static let trueRegex: Regex = #"^((true)|(True)|(TRUE))$"#
30 | static let falseRegex: Regex = #"^((false)|(False)|(FALSE))$"#
| |- warning: static property 'falseRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'falseRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | static let int8Regex: Regex = #"^(0o[0-7]+)$"#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:32:16: warning: static property 'int8Regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let falseRegex: Regex = #"^((false)|(False)|(FALSE))$"#
31 |
32 | static let int8Regex: Regex = #"^(0o[0-7]+)$"#
| |- warning: static property 'int8Regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int8Regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let int10Regex: Regex = #"^([-+]?[0-9]+)$"#
34 | static let int16Regex: Regex = #"^(0x[0-9a-fA-F]+)$"#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:33:16: warning: static property 'int10Regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | static let int8Regex: Regex = #"^(0o[0-7]+)$"#
33 | static let int10Regex: Regex = #"^([-+]?[0-9]+)$"#
| |- warning: static property 'int10Regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int10Regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let int16Regex: Regex = #"^(0x[0-9a-fA-F]+)$"#
35 | static let intRegex: Regex = .anyOf(int8Regex, int10Regex, int16Regex)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:34:16: warning: static property 'int16Regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
32 | static let int8Regex: Regex = #"^(0o[0-7]+)$"#
33 | static let int10Regex: Regex = #"^([-+]?[0-9]+)$"#
34 | static let int16Regex: Regex = #"^(0x[0-9a-fA-F]+)$"#
| |- warning: static property 'int16Regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int16Regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | static let intRegex: Regex = .anyOf(int8Regex, int10Regex, int16Regex)
36 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:35:16: warning: static property 'intRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let int10Regex: Regex = #"^([-+]?[0-9]+)$"#
34 | static let int16Regex: Regex = #"^(0x[0-9a-fA-F]+)$"#
35 | static let intRegex: Regex = .anyOf(int8Regex, int10Regex, int16Regex)
| |- warning: static property 'intRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | static let numRegex: Regex = #"^([-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?)$"#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:37:16: warning: static property 'numRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
35 | static let intRegex: Regex = .anyOf(int8Regex, int10Regex, int16Regex)
36 |
37 | static let numRegex: Regex = #"^([-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?)$"#
| |- warning: static property 'numRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static let infRegex: Regex = #"^([-+]?((\.inf)|(\.Inf)|(\.INF)))$"#
39 | static let nanRegex: Regex = #"^((\.nan)|(\.NaN)|(\.NAN))$"#
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:38:16: warning: static property 'infRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | static let numRegex: Regex = #"^([-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?)$"#
38 | static let infRegex: Regex = #"^([-+]?((\.inf)|(\.Inf)|(\.INF)))$"#
| |- warning: static property 'infRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static let nanRegex: Regex = #"^((\.nan)|(\.NaN)|(\.NAN))$"#
40 | static let floatRegex: Regex = .anyOf(numRegex, infRegex, nanRegex)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:39:16: warning: static property 'nanRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
37 | static let numRegex: Regex = #"^([-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?)$"#
38 | static let infRegex: Regex = #"^([-+]?((\.inf)|(\.Inf)|(\.INF)))$"#
39 | static let nanRegex: Regex = #"^((\.nan)|(\.NaN)|(\.NAN))$"#
| |- warning: static property 'nanRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nanRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static let floatRegex: Regex = .anyOf(numRegex, infRegex, nanRegex)
41 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSchemaCore.swift:40:16: warning: static property 'floatRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
38 | static let infRegex: Regex = #"^([-+]?((\.inf)|(\.Inf)|(\.INF)))$"#
39 | static let nanRegex: Regex = #"^((\.nan)|(\.NaN)|(\.NAN))$"#
40 | static let floatRegex: Regex = .anyOf(numRegex, infRegex, nanRegex)
| |- warning: static property 'floatRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'floatRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public func isNull(_ string: String) -> Bool { Self.nullRegex.matches(string) }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSerialization.swift:74:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
68 | public let rawValue: UInt
69 |
:
72 | }
73 |
74 | public static let sortedKeys = WritingOptions(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sortedKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let pretty = WritingOptions(rawValue: 1 << 1)
76 | public static let json = WritingOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSerialization.swift:75:23: warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
68 | public let rawValue: UInt
69 |
:
73 |
74 | public static let sortedKeys = WritingOptions(rawValue: 1 << 0)
75 | public static let pretty = WritingOptions(rawValue: 1 << 1)
| |- warning: static property 'pretty' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pretty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let json = WritingOptions(rawValue: 1 << 3)
77 | public static let explictDocumentMarkers = WritingOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSerialization.swift:76:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
68 | public let rawValue: UInt
69 |
:
74 | public static let sortedKeys = WritingOptions(rawValue: 1 << 0)
75 | public static let pretty = WritingOptions(rawValue: 1 << 1)
76 | public static let json = WritingOptions(rawValue: 1 << 3)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let explictDocumentMarkers = WritingOptions(rawValue: 1 << 4)
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLSerialization.swift:77:23: warning: static property 'explictDocumentMarkers' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
68 | public let rawValue: UInt
69 |
:
75 | public static let pretty = WritingOptions(rawValue: 1 << 1)
76 | public static let json = WritingOptions(rawValue: 1 << 3)
77 | public static let explictDocumentMarkers = WritingOptions(rawValue: 1 << 4)
| |- warning: static property 'explictDocumentMarkers' is not concurrency-safe because non-'Sendable' type 'YAMLSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'explictDocumentMarkers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLWriter.swift:29:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLWriter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
28 |
29 | static let `default` = Options()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'YAMLWriter.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | var schema: YAMLSchema = .core
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLWriter.swift:41:14: warning: static property 'disallowedPlainSequencesRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | static let disallowedPlainSequencesRegex: Regex = #"(:\s)|(\s#)"#
| `- warning: static property 'disallowedPlainSequencesRegex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | public static func hasDisallowedPlainSequences(in string: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/Regex.swift:3:15: note: struct 'Regex' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Regex: CustomStringConvertible, CustomDebugStringConvertible {
| `- note: struct 'Regex' does not conform to the 'Sendable' protocol
4 | // MARK: Initialisation
5 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAMLWriter.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
12 | import Foundation
13 | import PotentCodables
14 | import Regex
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Regex'
15 |
16 |
:
39 | }
40 |
41 | static let disallowedPlainSequencesRegex: Regex = #"(:\s)|(\s#)"#
| |- note: annotate 'disallowedPlainSequencesRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static func hasDisallowedPlainSequences(in string: String) -> Bool {
[216/226] Compiling PotentYAML YAML.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:55:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
53 | }
54 |
55 | public static let null = Tag("tag:yaml.org,2002:null")
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
57 | public static let int = Tag("tag:yaml.org,2002:int")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:56:23: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
54 |
55 | public static let null = Tag("tag:yaml.org,2002:null")
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let int = Tag("tag:yaml.org,2002:int")
58 | public static let float = Tag("tag:yaml.org,2002:float")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:57:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
55 | public static let null = Tag("tag:yaml.org,2002:null")
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
57 | public static let int = Tag("tag:yaml.org,2002:int")
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let float = Tag("tag:yaml.org,2002:float")
59 | public static let str = Tag("tag:yaml.org,2002:str")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:58:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
56 | public static let bool = Tag("tag:yaml.org,2002:bool")
57 | public static let int = Tag("tag:yaml.org,2002:int")
58 | public static let float = Tag("tag:yaml.org,2002:float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let str = Tag("tag:yaml.org,2002:str")
60 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:59:23: warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
57 | public static let int = Tag("tag:yaml.org,2002:int")
58 | public static let float = Tag("tag:yaml.org,2002:float")
59 | public static let str = Tag("tag:yaml.org,2002:str")
| |- warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'str' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | public static let seq = Tag("tag:yaml.org,2002:seq")
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:61:23: warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
59 | public static let str = Tag("tag:yaml.org,2002:str")
60 |
61 | public static let seq = Tag("tag:yaml.org,2002:seq")
| |- warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let map = Tag("tag:yaml.org,2002:map")
63 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentYAML/YAML.swift:62:23: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public enum YAML {
37 |
38 | public struct Tag: RawRepresentable, Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
39 |
40 | public let rawValue: String
:
60 |
61 | public static let seq = Tag("tag:yaml.org,2002:seq")
62 | public static let map = Tag("tag:yaml.org,2002:map")
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'YAML.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | public var description: String { "!\(rawValue)" }
[217/226] Compiling PotentASN1 ASN1Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:92:21: warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | public typealias State = SchemaState
91 |
92 | public static var emptyKeyedContainer = ASN1.sequence([])
| |- warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyKeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyKeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static var emptyUnkeyedContainer = ASN1.sequence([])
94 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:93:21: warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 |
92 | public static var emptyKeyedContainer = ASN1.sequence([])
93 | public static var emptyUnkeyedContainer = ASN1.sequence([])
| |- warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyUnkeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyUnkeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | static func encode(_ value: Any?, encoder: IVE) throws -> ASN1 {
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:235:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
233 |
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:235:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
233 |
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:236:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
237 | case badValue(Any, SchemaError.Context)
238 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:236:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
237 | case badValue(Any, SchemaError.Context)
238 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:237:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:237:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
[218/226] Compiling PotentASN1 ASN1Serialization.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:92:21: warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | public typealias State = SchemaState
91 |
92 | public static var emptyKeyedContainer = ASN1.sequence([])
| |- warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyKeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyKeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static var emptyUnkeyedContainer = ASN1.sequence([])
94 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:93:21: warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 |
92 | public static var emptyKeyedContainer = ASN1.sequence([])
93 | public static var emptyUnkeyedContainer = ASN1.sequence([])
| |- warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyUnkeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyUnkeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | static func encode(_ value: Any?, encoder: IVE) throws -> ASN1 {
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:235:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
233 |
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:235:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
233 |
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:236:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
237 | case badValue(Any, SchemaError.Context)
238 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:236:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
237 | case badValue(Any, SchemaError.Context)
238 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:237:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:237:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
[219/226] Compiling PotentCBOR CBOR.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:228:14: warning: static property 'iso8601DateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
226 |
227 | public extension CBOR.Tag {
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
| |- warning: static property 'iso8601DateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601DateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:229:14: warning: static property 'epochDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
227 | public extension CBOR.Tag {
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
| |- warning: static property 'epochDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'epochDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:230:14: warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
| |- warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positiveBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:231:14: warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
| |- warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negativeBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:232:14: warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
| |- warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFraction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
234 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:233:14: warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
| |- warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bigfloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | // 6...20 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:237:14: warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
235 | // 6...20 unassigned
236 |
237 | static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
| |- warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64URLEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:238:14: warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
236 |
237 | static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
| |- warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
240 | static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:239:14: warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
237 | static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
| |- warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase16Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 | static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
241 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:240:14: warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
240 | static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
| |- warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodedCBORDataItem' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | // 25...31 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:244:14: warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
242 | // 25...31 unassigned
243 |
244 | static let uri = CBOR.Tag(rawValue: 32)
| |- warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uri' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:245:14: warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
243 |
244 | static let uri = CBOR.Tag(rawValue: 32)
245 | static let base64Url = CBOR.Tag(rawValue: 33)
| |- warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64Url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:246:14: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
244 | static let uri = CBOR.Tag(rawValue: 32)
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
| |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:247:14: warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
| |- warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regularExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
249 | static let uuid = CBOR.Tag(rawValue: 37)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:248:14: warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
| |- warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mimeMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 | static let uuid = CBOR.Tag(rawValue: 37)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:249:14: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
249 | static let uuid = CBOR.Tag(rawValue: 37)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | // 38...55798 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:253:14: warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
251 | // 38...55798 unassigned
252 |
253 | static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
| |- warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selfDescribeCBOR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 | }
255 |
[220/226] Emitting module PotentCBOR
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:228:14: warning: static property 'iso8601DateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
226 |
227 | public extension CBOR.Tag {
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
| |- warning: static property 'iso8601DateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601DateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:229:14: warning: static property 'epochDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
227 | public extension CBOR.Tag {
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
| |- warning: static property 'epochDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'epochDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:230:14: warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
| |- warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positiveBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:231:14: warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
| |- warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negativeBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:232:14: warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
| |- warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFraction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
234 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:233:14: warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
| |- warning: static property 'bigfloat' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bigfloat' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | // 6...20 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:237:14: warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
235 | // 6...20 unassigned
236 |
237 | static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
| |- warning: static property 'expectedConversionToBase64URLEncoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64URLEncoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:238:14: warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
236 |
237 | static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
| |- warning: static property 'expectedConversionToBase64Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase64Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
240 | static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:239:14: warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
237 | static let expectedConversionToBase64URLEncoding = CBOR.Tag(rawValue: 21)
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
| |- warning: static property 'expectedConversionToBase16Encoding' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedConversionToBase16Encoding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 | static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
241 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:240:14: warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
238 | static let expectedConversionToBase64Encoding = CBOR.Tag(rawValue: 22)
239 | static let expectedConversionToBase16Encoding = CBOR.Tag(rawValue: 23)
240 | static let encodedCBORDataItem = CBOR.Tag(rawValue: 24)
| |- warning: static property 'encodedCBORDataItem' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encodedCBORDataItem' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | // 25...31 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:244:14: warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
242 | // 25...31 unassigned
243 |
244 | static let uri = CBOR.Tag(rawValue: 32)
| |- warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uri' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:245:14: warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
243 |
244 | static let uri = CBOR.Tag(rawValue: 32)
245 | static let base64Url = CBOR.Tag(rawValue: 33)
| |- warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64Url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:246:14: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
244 | static let uri = CBOR.Tag(rawValue: 32)
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
| |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:247:14: warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
| |- warning: static property 'regularExpression' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regularExpression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
249 | static let uuid = CBOR.Tag(rawValue: 37)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:248:14: warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
| |- warning: static property 'mimeMessage' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mimeMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 | static let uuid = CBOR.Tag(rawValue: 37)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:249:14: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
249 | static let uuid = CBOR.Tag(rawValue: 37)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | // 38...55798 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:253:14: warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
251 | // 38...55798 unassigned
252 |
253 | static let selfDescribeCBOR = CBOR.Tag(rawValue: 55799)
| |- warning: static property 'selfDescribeCBOR' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selfDescribeCBOR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 | }
255 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBORDecoder.swift:21:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CBORDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// ``CBORDecoder`` facilitates the decoding of CBOR into semantic `Decodable` types.
18 | ///
19 | public class CBORDecoder: ValueDecoder<CBOR, CBORDecoderTransform>, DecodesFromData {
| `- note: class 'CBORDecoder' does not conform to the 'Sendable' protocol
20 |
21 | public static let `default` = CBORDecoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CBORDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// The strategy to use for decoding untagged `Date` values.
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBORDecoder.swift:63:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'CBOR' may have shared mutable state; this is an error in the Swift 6 language mode
61 | public typealias State = Void
62 |
63 | public static let nilValue = CBOR.null
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'CBOR' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:37:22: note: consider making enum 'CBOR' conform to the 'Sendable' protocol
35 | ///
36 | @dynamicMemberLookup
37 | public indirect enum CBOR {
| `- note: consider making enum 'CBOR' conform to the 'Sendable' protocol
38 |
39 | /// A CBOR `tag` for tagged values supported by the specification.
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOREncoder.swift:21:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CBOREncoder' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// ``CBOREncoder`` facilitates the encoding of `Encodable` values into CBOR values.
17 | ///
18 | public class CBOREncoder: ValueEncoder<CBOR, CBOREncoderTransform>, EncodesToData {
| `- note: class 'CBOREncoder' does not conform to the 'Sendable' protocol
19 |
20 | /// Encoder with the default options
21 | public static let `default` = CBOREncoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CBOREncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Encoder with deterministic encoding enabled
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOREncoder.swift:24:21: warning: static property 'deterministic' is not concurrency-safe because non-'Sendable' type 'CBOREncoder' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// ``CBOREncoder`` facilitates the encoding of `Encodable` values into CBOR values.
17 | ///
18 | public class CBOREncoder: ValueEncoder<CBOR, CBOREncoderTransform>, EncodesToData {
| `- note: class 'CBOREncoder' does not conform to the 'Sendable' protocol
19 |
20 | /// Encoder with the default options
:
22 |
23 | /// Encoder with deterministic encoding enabled
24 | public static let deterministic = {
| |- warning: static property 'deterministic' is not concurrency-safe because non-'Sendable' type 'CBOREncoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deterministic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | let encoder = CBOREncoder()
26 | encoder.deterministic = true
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOREncoder.swift:76:21: warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | public typealias State = Void
75 |
76 | public static var emptyKeyedContainer = CBOR.map([:])
| |- warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyKeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyKeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static var emptyUnkeyedContainer = CBOR.array([])
78 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOREncoder.swift:77:21: warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | public static var emptyKeyedContainer = CBOR.map([:])
77 | public static var emptyUnkeyedContainer = CBOR.array([])
| |- warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyUnkeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyUnkeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | public struct Options: InternalEncoderOptions {
[221/226] Compiling PotentCBOR CBORDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBORDecoder.swift:21:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CBORDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// ``CBORDecoder`` facilitates the decoding of CBOR into semantic `Decodable` types.
18 | ///
19 | public class CBORDecoder: ValueDecoder<CBOR, CBORDecoderTransform>, DecodesFromData {
| `- note: class 'CBORDecoder' does not conform to the 'Sendable' protocol
20 |
21 | public static let `default` = CBORDecoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CBORDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// The strategy to use for decoding untagged `Date` values.
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBORDecoder.swift:63:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'CBOR' may have shared mutable state; this is an error in the Swift 6 language mode
61 | public typealias State = Void
62 |
63 | public static let nilValue = CBOR.null
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'CBOR' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:37:22: note: consider making enum 'CBOR' conform to the 'Sendable' protocol
35 | ///
36 | @dynamicMemberLookup
37 | public indirect enum CBOR {
| `- note: consider making enum 'CBOR' conform to the 'Sendable' protocol
38 |
39 | /// A CBOR `tag` for tagged values supported by the specification.
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:230:14: warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
| |- warning: static property 'positiveBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positiveBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:231:14: warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
| |- warning: static property 'negativeBignum' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negativeBignum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:232:14: warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
232 | static let decimalFraction = CBOR.Tag(rawValue: 4)
| |- warning: static property 'decimalFraction' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalFraction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | static let bigfloat = CBOR.Tag(rawValue: 5)
234 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:249:14: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
249 | static let uuid = CBOR.Tag(rawValue: 37)
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | // 38...55798 unassigned
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:244:14: warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
242 | // 25...31 unassigned
243 |
244 | static let uri = CBOR.Tag(rawValue: 32)
| |- warning: static property 'uri' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uri' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:228:14: warning: static property 'iso8601DateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
226 |
227 | public extension CBOR.Tag {
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
| |- warning: static property 'iso8601DateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601DateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:229:14: warning: static property 'epochDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
227 | public extension CBOR.Tag {
228 | static let iso8601DateTime = CBOR.Tag(rawValue: 0)
229 | static let epochDateTime = CBOR.Tag(rawValue: 1)
| |- warning: static property 'epochDateTime' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'epochDateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | static let positiveBignum = CBOR.Tag(rawValue: 2)
231 | static let negativeBignum = CBOR.Tag(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:246:14: warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
244 | static let uri = CBOR.Tag(rawValue: 32)
245 | static let base64Url = CBOR.Tag(rawValue: 33)
246 | static let base64 = CBOR.Tag(rawValue: 34)
| |- warning: static property 'base64' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
248 | static let mimeMessage = CBOR.Tag(rawValue: 36)
/Users/admin/builder/spi-builder-workspace/Sources/PotentCBOR/CBOR.swift:245:14: warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
39 | /// A CBOR `tag` for tagged values supported by the specification.
40 | ///
41 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
42 | public let rawValue: UInt64
43 |
:
243 |
244 | static let uri = CBOR.Tag(rawValue: 32)
245 | static let base64Url = CBOR.Tag(rawValue: 33)
| |- warning: static property 'base64Url' is not concurrency-safe because non-'Sendable' type 'CBOR.Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64Url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 | static let base64 = CBOR.Tag(rawValue: 34)
247 | static let regularExpression = CBOR.Tag(rawValue: 35)
[222/226] Emitting module PotentASN1
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERReader.swift:367:13: warning: let 'utcFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
365 | }
366 |
367 | private let utcFormatter =
| |- warning: let 'utcFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 | SuffixedDateFormatter(basePattern: "yyMMddHHmm", secondsPattern: "ss") { $0.count > 10 }
369 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/Dates.swift:15:15: note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
13 |
14 |
15 | public struct SuffixedDateFormatter {
| `- note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
16 |
17 | private let noSuffixes: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERReader.swift:370:13: warning: let 'generalizedFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
368 | SuffixedDateFormatter(basePattern: "yyMMddHHmm", secondsPattern: "ss") { $0.count > 10 }
369 |
370 | private let generalizedFormatter =
| |- warning: let 'generalizedFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 | SuffixedDateFormatter(basePattern: "yyyyMMddHHmmss", secondsPattern: ".S") { $0.contains(".") }
372 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/Dates.swift:15:15: note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
13 |
14 |
15 | public struct SuffixedDateFormatter {
| `- note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
16 |
17 | private let noSuffixes: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERWriter.swift:287:22: warning: static property 'utcFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
285 | private enum UTCFormatters {
286 |
287 | private static var utcFormatters: [TimeZone: DateFormatter] = [:]
| |- warning: static property 'utcFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'utcFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'utcFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | private static let utcFormattersLock = NSLock()
289 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERWriter.swift:313:22: warning: static property 'generalizedFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
311 | private enum GeneralizedFormatters {
312 |
313 | private static var generalizedFormatters: [TimeZone: DateFormatter] = [:]
| |- warning: static property 'generalizedFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'generalizedFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'generalizedFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 | private static let generalizedFormattersLock = NSLock()
315 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:89:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'ASN1' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public typealias State = SchemaState
88 |
89 | public static let nilValue = ASN1.null
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'ASN1' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1.swift:18:22: note: consider making enum 'ASN1' conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: consider making enum 'ASN1' conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:672:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
670 |
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:672:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
670 |
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:673:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
674 | case badValue(Any, SchemaError.Context)
675 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:673:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
674 | case badValue(Any, SchemaError.Context)
675 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:674:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
675 | }
676 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:674:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
675 | }
676 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:92:21: warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | public typealias State = SchemaState
91 |
92 | public static var emptyKeyedContainer = ASN1.sequence([])
| |- warning: static property 'emptyKeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyKeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyKeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static var emptyUnkeyedContainer = ASN1.sequence([])
94 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:93:21: warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 |
92 | public static var emptyKeyedContainer = ASN1.sequence([])
93 | public static var emptyUnkeyedContainer = ASN1.sequence([])
| |- warning: static property 'emptyUnkeyedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyUnkeyedContainer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyUnkeyedContainer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | static func encode(_ value: Any?, encoder: IVE) throws -> ASN1 {
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:235:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
233 |
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:235:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
233 |
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:236:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
237 | case badValue(Any, SchemaError.Context)
238 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:236:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
234 | public enum EncodingError: Error {
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
237 | case badValue(Any, SchemaError.Context)
238 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:237:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Encoder.swift:237:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
235 | case disallowedValue(Any, SchemaError.Context)
236 | case valueOutOfRange(Any, SchemaError.Context)
237 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'EncodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:30:10: warning: associated value 'noVersion' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
28 |
29 | case noVersionDefined(String)
30 | case noVersion(SchemaError.Context)
| `- warning: associated value 'noVersion' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
31 | case noDynamicTypeDefined(String)
32 | case noDynamicType(SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:32:10: warning: associated value 'noDynamicType' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
30 | case noVersion(SchemaError.Context)
31 | case noDynamicTypeDefined(String)
32 | case noDynamicType(SchemaError.Context)
| `- warning: associated value 'noDynamicType' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
33 | case undefinedField(String, SchemaError.Context)
34 | case structureMismatch(SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:33:10: warning: associated value 'undefinedField' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
31 | case noDynamicTypeDefined(String)
32 | case noDynamicType(SchemaError.Context)
33 | case undefinedField(String, SchemaError.Context)
| `- warning: associated value 'undefinedField' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
34 | case structureMismatch(SchemaError.Context)
35 | case versionCheck(SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:34:10: warning: associated value 'structureMismatch' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
32 | case noDynamicType(SchemaError.Context)
33 | case undefinedField(String, SchemaError.Context)
34 | case structureMismatch(SchemaError.Context)
| `- warning: associated value 'structureMismatch' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
35 | case versionCheck(SchemaError.Context)
36 | case unknownDynamicValue(SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:35:10: warning: associated value 'versionCheck' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
33 | case undefinedField(String, SchemaError.Context)
34 | case structureMismatch(SchemaError.Context)
35 | case versionCheck(SchemaError.Context)
| `- warning: associated value 'versionCheck' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
36 | case unknownDynamicValue(SchemaError.Context)
37 | case ambiguousImplicitTag(SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:36:10: warning: associated value 'unknownDynamicValue' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
34 | case structureMismatch(SchemaError.Context)
35 | case versionCheck(SchemaError.Context)
36 | case unknownDynamicValue(SchemaError.Context)
| `- warning: associated value 'unknownDynamicValue' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
37 | case ambiguousImplicitTag(SchemaError.Context)
38 | case noScopeAvailable
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:37:10: warning: associated value 'ambiguousImplicitTag' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
:
35 | case versionCheck(SchemaError.Context)
36 | case unknownDynamicValue(SchemaError.Context)
37 | case ambiguousImplicitTag(SchemaError.Context)
| `- warning: associated value 'ambiguousImplicitTag' of 'Sendable'-conforming enum 'SchemaError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
38 | case noScopeAvailable
39 | case notCollection
[223/226] Compiling PotentASN1 ASN1.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERReader.swift:367:13: warning: let 'utcFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
365 | }
366 |
367 | private let utcFormatter =
| |- warning: let 'utcFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 | SuffixedDateFormatter(basePattern: "yyMMddHHmm", secondsPattern: "ss") { $0.count > 10 }
369 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/Dates.swift:15:15: note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
13 |
14 |
15 | public struct SuffixedDateFormatter {
| `- note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
16 |
17 | private let noSuffixes: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERReader.swift:370:13: warning: let 'generalizedFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
368 | SuffixedDateFormatter(basePattern: "yyMMddHHmm", secondsPattern: "ss") { $0.count > 10 }
369 |
370 | private let generalizedFormatter =
| |- warning: let 'generalizedFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 | SuffixedDateFormatter(basePattern: "yyyyMMddHHmmss", secondsPattern: ".S") { $0.contains(".") }
372 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/Dates.swift:15:15: note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
13 |
14 |
15 | public struct SuffixedDateFormatter {
| `- note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
16 |
17 | private let noSuffixes: DateFormatter
[224/226] Compiling PotentASN1 ASN1DERReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERReader.swift:367:13: warning: let 'utcFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
365 | }
366 |
367 | private let utcFormatter =
| |- warning: let 'utcFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
368 | SuffixedDateFormatter(basePattern: "yyMMddHHmm", secondsPattern: "ss") { $0.count > 10 }
369 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/Dates.swift:15:15: note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
13 |
14 |
15 | public struct SuffixedDateFormatter {
| `- note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
16 |
17 | private let noSuffixes: DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERReader.swift:370:13: warning: let 'generalizedFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
368 | SuffixedDateFormatter(basePattern: "yyMMddHHmm", secondsPattern: "ss") { $0.count > 10 }
369 |
370 | private let generalizedFormatter =
| |- warning: let 'generalizedFormatter' is not concurrency-safe because non-'Sendable' type 'SuffixedDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
371 | SuffixedDateFormatter(basePattern: "yyyyMMddHHmmss", secondsPattern: ".S") { $0.contains(".") }
372 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/Dates.swift:15:15: note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
13 |
14 |
15 | public struct SuffixedDateFormatter {
| `- note: consider making struct 'SuffixedDateFormatter' conform to the 'Sendable' protocol
16 |
17 | private let noSuffixes: DateFormatter
[225/226] Compiling PotentASN1 ASN1DERWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERWriter.swift:287:22: warning: static property 'utcFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
285 | private enum UTCFormatters {
286 |
287 | private static var utcFormatters: [TimeZone: DateFormatter] = [:]
| |- warning: static property 'utcFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'utcFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'utcFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | private static let utcFormattersLock = NSLock()
289 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERWriter.swift:313:22: warning: static property 'generalizedFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
311 | private enum GeneralizedFormatters {
312 |
313 | private static var generalizedFormatters: [TimeZone: DateFormatter] = [:]
| |- warning: static property 'generalizedFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'generalizedFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'generalizedFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 | private static let generalizedFormattersLock = NSLock()
315 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:89:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'ASN1' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public typealias State = SchemaState
88 |
89 | public static let nilValue = ASN1.null
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'ASN1' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1.swift:18:22: note: consider making enum 'ASN1' conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: consider making enum 'ASN1' conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:672:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
670 |
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:672:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
670 |
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:673:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
674 | case badValue(Any, SchemaError.Context)
675 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:673:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
674 | case badValue(Any, SchemaError.Context)
675 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:674:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
675 | }
676 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:674:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
675 | }
676 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
[226/226] Compiling PotentASN1 ASN1Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERWriter.swift:287:22: warning: static property 'utcFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
285 | private enum UTCFormatters {
286 |
287 | private static var utcFormatters: [TimeZone: DateFormatter] = [:]
| |- warning: static property 'utcFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'utcFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'utcFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | private static let utcFormattersLock = NSLock()
289 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1DERWriter.swift:313:22: warning: static property 'generalizedFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
311 | private enum GeneralizedFormatters {
312 |
313 | private static var generalizedFormatters: [TimeZone: DateFormatter] = [:]
| |- warning: static property 'generalizedFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'generalizedFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'generalizedFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 | private static let generalizedFormattersLock = NSLock()
315 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:89:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'ASN1' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public typealias State = SchemaState
88 |
89 | public static let nilValue = ASN1.null
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'ASN1' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nilValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1.swift:18:22: note: consider making enum 'ASN1' conform to the 'Sendable' protocol
16 | /// General ASN.1 Value.
17 | ///
18 | public indirect enum ASN1 {
| `- note: consider making enum 'ASN1' conform to the 'Sendable' protocol
19 |
20 | /// ASN.1 Tag Code
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:672:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
670 |
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:672:10: warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
670 |
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
| `- warning: associated value 'disallowedValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:673:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
674 | case badValue(Any, SchemaError.Context)
675 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:673:10: warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
671 | public enum DecodingError: Error {
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
| `- warning: associated value 'valueOutOfRange' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
674 | case badValue(Any, SchemaError.Context)
675 | }
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:674:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
675 | }
676 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/ASN1Decoder.swift:674:10: warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
672 | case disallowedValue(Any, SchemaError.Context)
673 | case valueOutOfRange(Any, SchemaError.Context)
674 | case badValue(Any, SchemaError.Context)
| `- warning: associated value 'badValue' of 'Sendable'-conforming enum 'DecodingError' has non-sendable type 'SchemaState.SchemaError.Context'; this is an error in the Swift 6 language mode
675 | }
676 |
/Users/admin/builder/spi-builder-workspace/Sources/PotentASN1/SchemaState.swift:24:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
22 | public enum SchemaError: Error {
23 |
24 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
25 | public let codingPath: [CodingKey]
26 | public let debugDescription: String
Build complete! (55.53s)
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.3.0",
"upper_bound" : "5.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "float16",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SusanDoggie/Float16.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sharplet/Regex.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "PotentCodables",
"name" : "PotentCodables",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "PotentCodables",
"targets" : [
"PotentCodables",
"PotentJSON",
"PotentCBOR",
"PotentASN1",
"PotentYAML",
"Cfyaml"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PotentYAML",
"module_type" : "SwiftTarget",
"name" : "PotentYAML",
"path" : "Sources/PotentYAML",
"product_dependencies" : [
"BigInt",
"Collections",
"Regex"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"Errors.swift",
"Libfyaml.swift",
"YAML.swift",
"YAMLDecoder.swift",
"YAMLEncoder.swift",
"YAMLReader.swift",
"YAMLSchema.swift",
"YAMLSchemaCore.swift",
"YAMLSerialization.swift",
"YAMLWriter.swift"
],
"target_dependencies" : [
"PotentCodables",
"Cfyaml"
],
"type" : "library"
},
{
"c99name" : "PotentJSON",
"module_type" : "SwiftTarget",
"name" : "PotentJSON",
"path" : "Sources/PotentJSON",
"product_dependencies" : [
"BigInt",
"Collections"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"Errors.swift",
"JSON.swift",
"JSONDecoder.swift",
"JSONEncoder.swift",
"JSONReader.swift",
"JSONSerialization.swift",
"JSONWriter.swift"
],
"target_dependencies" : [
"PotentCodables"
],
"type" : "library"
},
{
"c99name" : "PotentCodablesTests",
"module_type" : "SwiftTarget",
"name" : "PotentCodablesTests",
"path" : "Tests",
"sources" : [
"ASN1AnyStringTests.swift",
"ASN1AnyValueTests.swift",
"ASN1DERBigIntTests.swift",
"ASN1DERTests.swift",
"ASN1DecoderTests.swift",
"ASN1EncoderTests.swift",
"ASN1SchemaDecodeTests.swift",
"ASN1SchemaEncodeTests.swift",
"ASN1SchemaTests.swift",
"ASN1Tests.swift",
"ASN1ValueTests.swift",
"AnyCodingKeyTests.swift",
"AnyValueCoderTests.swift",
"AnyValueTests.swift",
"Assertions.swift",
"CBORAnyValueTests.swift",
"CBORCodableRoundtripTests.swift",
"CBORDecoderTests.swift",
"CBOREncoderTests.swift",
"CBORReaderTests.swift",
"CBORTests.swift",
"CBORValueTests.swift",
"CBORWriterTests.swift",
"ConfigurationTests.swift",
"Datas.swift",
"Dates.swift",
"JSONAnyValueTests.swift",
"JSONDecoderTests.swift",
"JSONEncoderTests.swift",
"JSONOrderTests.swift",
"JSONReaderTests.swift",
"JSONValueTests.swift",
"JSONWriterTests.swift",
"RefTests.swift",
"TimeZoneTests.swift",
"UnkeyedCodingContainerTests.swift",
"ValueCoderTests.swift",
"ValueTransformerProvidingTests.swift",
"ValueTransformerTests.swift",
"YAMLAnyValueTests.swift",
"YAMLDecoderTests.swift",
"YAMLEncoderTests.swift",
"YAMLErrorTests.swift",
"YAMLOrderTests.swift",
"YAMLReaderTests.swift",
"YAMLSchemaTests.swift",
"YAMLTests.swift",
"YAMLValueTests.swift",
"YAMLWriterTests.swift"
],
"target_dependencies" : [
"PotentCodables",
"PotentJSON",
"PotentCBOR",
"PotentASN1",
"PotentYAML"
],
"type" : "test"
},
{
"c99name" : "PotentCodables",
"module_type" : "SwiftTarget",
"name" : "PotentCodables",
"path" : "Sources/PotentCodables",
"product_dependencies" : [
"BigInt",
"Collections",
"Float16",
"Regex"
],
"product_memberships" : [
"PotentCodables"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PotentCodables/PotentCodables.docc",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AnyCodingKey.swift",
"AnyValue/AnyValue.swift",
"AnyValue/AnyValueDecoder.swift",
"AnyValue/AnyValueEncoder.swift",
"DecoderSupport.swift",
"EncoderSupport.swift",
"Errors.swift",
"Float16.swift",
"KeyStrategy.swift",
"KeyedNestedDecoder.swift",
"KeyedNestedEncoder.swift",
"Refs.swift",
"Regexes.swift",
"TimeZone.swift",
"TopLevel.swift",
"TreeValueDecodingContainer.swift",
"Value.swift",
"ValueDecoder.swift",
"ValueEncoder.swift",
"ValueTransformer.swift",
"ValueTransformerProviding.swift",
"ZonedDate.swift"
],
"type" : "library"
},
{
"c99name" : "PotentCBOR",
"module_type" : "SwiftTarget",
"name" : "PotentCBOR",
"path" : "Sources/PotentCBOR",
"product_dependencies" : [
"BigInt",
"Collections"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"CBOR.swift",
"CBORDecoder.swift",
"CBOREncoder.swift",
"CBORReader.swift",
"CBORSerialization.swift",
"CBORStream.swift",
"CBORWriter.swift"
],
"target_dependencies" : [
"PotentCodables"
],
"type" : "library"
},
{
"c99name" : "PotentASN1",
"module_type" : "SwiftTarget",
"name" : "PotentASN1",
"path" : "Sources/PotentASN1",
"product_dependencies" : [
"BigInt",
"Collections"
],
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"ASN1.swift",
"ASN1DERReader.swift",
"ASN1DERWriter.swift",
"ASN1Decoder.swift",
"ASN1Encoder.swift",
"ASN1Serialization.swift",
"AnyString.swift",
"AnyTime.swift",
"BigInts.swift",
"BitString.swift",
"Dates.swift",
"ObjectIdentifier.swift",
"Schema.swift",
"SchemaSpecified.swift",
"SchemaState.swift",
"Tagged.swift",
"TaggedValue.swift"
],
"target_dependencies" : [
"PotentCodables"
],
"type" : "library"
},
{
"c99name" : "Cfyaml",
"module_type" : "ClangTarget",
"name" : "Cfyaml",
"path" : "Sources/Cfyaml",
"product_memberships" : [
"PotentCodables"
],
"sources" : [
"src/lib/fy-accel.c",
"src/lib/fy-atom.c",
"src/lib/fy-composer.c",
"src/lib/fy-diag.c",
"src/lib/fy-doc.c",
"src/lib/fy-docbuilder.c",
"src/lib/fy-docstate.c",
"src/lib/fy-dump.c",
"src/lib/fy-emit.c",
"src/lib/fy-event.c",
"src/lib/fy-input.c",
"src/lib/fy-parse.c",
"src/lib/fy-path.c",
"src/lib/fy-token.c",
"src/lib/fy-types.c",
"src/lib/fy-walk.c",
"src/util/fy-blob.c",
"src/util/fy-ctype.c",
"src/util/fy-utf8.c",
"src/util/fy-utils.c",
"src/xxhash/xxhash.c"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.