Build Information
Successful build of PotentCodables, reference 3.5.0 (660e33
), with Swift 6.0 for Linux on 5 Nov 2024 05:02:28 UTC.
Swift 6 data race errors: 107
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
26 |
27 | /// The format's default value.
:
40 |
41 | /// Produce JSON with slashes escaped.
42 | public static let escapeSlashes = OutputFormatting(rawValue: 1 << 2)
| |- warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'JSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/Sources/PotentJSON/JSONEncoder.swift:134: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
132 | public typealias State = Void
133 |
134 | public static var emptyKeyedContainer = JSON.object([:])
| |- 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
135 | public static var emptyUnkeyedContainer = JSON.array([])
136 |
/host/spi-builder-workspace/Sources/PotentJSON/JSONEncoder.swift:135: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
133 |
134 | public static var emptyKeyedContainer = JSON.object([:])
135 | public static var emptyUnkeyedContainer = JSON.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
136 |
137 | public struct Options: InternalEncoderOptions {
/host/spi-builder-workspace/Sources/PotentJSON/JSONSerialization.swift:88:23: warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 |
79 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
80 | public let rawValue: UInt
81 |
:
86 | public static let sortedKeys = WritingOptions(rawValue: 1 << 0)
87 | public static let prettyPrinted = WritingOptions(rawValue: 1 << 1)
88 | public static let escapeSlashes = WritingOptions(rawValue: 1 << 2)
| |- warning: static property 'escapeSlashes' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeSlashes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
/host/spi-builder-workspace/Sources/PotentJSON/JSONSerialization.swift:87:23: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 |
79 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
80 | public let rawValue: UInt
81 |
:
85 |
86 | public static let sortedKeys = WritingOptions(rawValue: 1 << 0)
87 | public static let prettyPrinted = WritingOptions(rawValue: 1 << 1)
| |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prettyPrinted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let escapeSlashes = WritingOptions(rawValue: 1 << 2)
89 | }
/host/spi-builder-workspace/Sources/PotentJSON/JSONSerialization.swift:86:23: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.WritingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 |
79 | public struct WritingOptions: OptionSet {
| `- note: consider making struct 'WritingOptions' conform to the 'Sendable' protocol
80 | public let rawValue: UInt
81 |
:
84 | }
85 |
86 | public static let sortedKeys = WritingOptions(rawValue: 1 << 0)
| |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.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
87 | public static let prettyPrinted = WritingOptions(rawValue: 1 << 1)
88 | public static let escapeSlashes = WritingOptions(rawValue: 1 << 2)
[216/237] Compiling PotentYAML YAMLWriter.swift
/host/spi-builder-workspace/Sources/PotentYAML/YAMLWriter.swift:27: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
23 | }
24 |
25 | struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 |
27 | 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
28 |
29 | var schema: YAMLSchema = .core
[217/237] Compiling PotentCBOR CBOREncoder.swift
/host/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
/host/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
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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 |
/host/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)
/host/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
/host/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)
/host/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)
[218/237] Compiling PotentCBOR CBORDecoder.swift
/host/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.
/host/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.
/host/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.
/host/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)
/host/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)
/host/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 |
/host/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
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
[219/238] Compiling PotentJSON JSON.swift
[220/238] Compiling PotentJSON JSONDecoder.swift
/host/spi-builder-workspace/Sources/PotentJSON/JSONDecoder.swift:21:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
17 | /// ``JSONDecoder`` facilitates the decoding of JSON into semantic `Decodable` types.
18 | ///
19 | public class JSONDecoder: ValueDecoder<JSON, JSONDecoderTransform>, DecodesFromString {
| `- note: class 'JSONDecoder' does not conform to the 'Sendable' protocol
20 |
21 | public static let `default` = JSONDecoder()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'JSONDecoder' 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 | // MARK: Options
/host/spi-builder-workspace/Sources/PotentJSON/JSONDecoder.swift:99:21: warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'JSON' may have shared mutable state; this is an error in the Swift 6 language mode
97 | public typealias State = Void
98 |
99 | public static let nilValue = JSON.null
| |- warning: static property 'nilValue' is not concurrency-safe because non-'Sendable' type 'JSON' 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
100 |
101 | /// Options set on the top-level decoder to pass down the decoding hierarchy.
/host/spi-builder-workspace/Sources/PotentJSON/JSON.swift:35:13: note: consider making enum 'JSON' conform to the 'Sendable' protocol
33 | ///
34 | @dynamicMemberLookup
35 | public enum JSON {
| `- note: consider making enum 'JSON' conform to the 'Sendable' protocol
36 |
37 | enum Error: Swift.Error {
/host/spi-builder-workspace/Sources/PotentJSON/JSONSerialization.swift:42:23: warning: static property 'allowFragments' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
35 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
36 | public let rawValue: UInt
37 |
:
40 | }
41 |
42 | public static let allowFragments = ReadingOptions(rawValue: 1 << 0)
| |- warning: static property 'allowFragments' is not concurrency-safe because non-'Sendable' type 'JSONSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowFragments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
[221/238] Compiling PotentJSON Errors.swift
[222/239] Compiling PotentASN1 AnyTime.swift
[223/239] Compiling PotentASN1 BigInts.swift
[224/239] Compiling PotentASN1 ObjectIdentifier.swift
[225/239] Compiling PotentASN1 Schema.swift
[227/239] Emitting module PotentASN1
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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 |
/host/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.
/host/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
/host/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)
/host/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)
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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 |
/host/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
/host/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)
/host/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)
/host/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)
/host/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)
/host/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)
/host/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
/host/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
[229/239] Compiling PotentYAML YAMLEncoder.swift
/host/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
/host/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.
/host/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.
/host/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 |
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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 | }
[230/239] Compiling PotentYAML Errors.swift
/host/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 |
/host/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 {
/host/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 |
/host/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 {
[231/239] Compiling PotentYAML Libfyaml.swift
/host/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 |
/host/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 {
/host/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 |
/host/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 {
[232/239] Emitting module PotentYAML
/host/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 |
/host/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 {
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:54: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
52 | }
53 |
54 | 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
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | public static let int = Tag("tag:yaml.org,2002:int")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:55: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
53 |
54 | public static let null = Tag("tag:yaml.org,2002:null")
55 | 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
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | public static let float = Tag("tag:yaml.org,2002:float")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:56: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
54 | public static let null = Tag("tag:yaml.org,2002:null")
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | 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
57 | public static let float = Tag("tag:yaml.org,2002:float")
58 | public static let str = Tag("tag:yaml.org,2002:str")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:57: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | 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
58 | public static let str = Tag("tag:yaml.org,2002:str")
59 |
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:58: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | public static let float = Tag("tag:yaml.org,2002:float")
58 | 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
59 |
60 | public static let seq = Tag("tag:yaml.org,2002:seq")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:60: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
58 | public static let str = Tag("tag:yaml.org,2002:str")
59 |
60 | 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
61 | public static let map = Tag("tag:yaml.org,2002:map")
62 | }
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:61: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
59 |
60 | public static let seq = Tag("tag:yaml.org,2002:seq")
61 | 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
62 | }
63 |
/host/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
/host/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.
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:35:13: note: consider making enum 'YAML' conform to the 'Sendable' protocol
33 | ///
34 | @dynamicMemberLookup
35 | public enum YAML {
| `- note: consider making enum 'YAML' conform to the 'Sendable' protocol
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
/host/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
/host/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.
/host/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.
/host/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 |
/host/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 |
/host/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 {
/host/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)
/host/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 |
/host/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)
/host/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))$"#
/host/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 |
/host/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 |
/host/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 |
/host/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]+)$"#
/host/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 |
/host/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]+)$"#
/host/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 |
/host/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)
/host/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 |
/host/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 |
/host/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 |
/host/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]+)?)$"#
/host/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 |
/host/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))$"#
/host/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 |
/host/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)
/host/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 |
/host/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 |
/host/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 |
/host/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) }
/host/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 |
/host/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)
/host/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)
/host/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 | }
/host/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 |
/host/spi-builder-workspace/Sources/PotentYAML/YAMLWriter.swift:27: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
23 | }
24 |
25 | struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 |
27 | 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
28 |
29 | var schema: YAMLSchema = .core
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:54: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
52 | }
53 |
54 | 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
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | public static let int = Tag("tag:yaml.org,2002:int")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:55: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
53 |
54 | public static let null = Tag("tag:yaml.org,2002:null")
55 | 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
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | public static let float = Tag("tag:yaml.org,2002:float")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:56: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
54 | public static let null = Tag("tag:yaml.org,2002:null")
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | 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
57 | public static let float = Tag("tag:yaml.org,2002:float")
58 | public static let str = Tag("tag:yaml.org,2002:str")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:57: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | 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
58 | public static let str = Tag("tag:yaml.org,2002:str")
59 |
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:58: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | public static let float = Tag("tag:yaml.org,2002:float")
58 | 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
59 |
60 | public static let seq = Tag("tag:yaml.org,2002:seq")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:60: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
58 | public static let str = Tag("tag:yaml.org,2002:str")
59 |
60 | 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
61 | public static let map = Tag("tag:yaml.org,2002:map")
62 | }
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:61: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
59 |
60 | public static let seq = Tag("tag:yaml.org,2002:seq")
61 | 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
62 | }
63 |
/host/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
/host/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.
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:35:13: note: consider making enum 'YAML' conform to the 'Sendable' protocol
33 | ///
34 | @dynamicMemberLookup
35 | public enum YAML {
| `- note: consider making enum 'YAML' conform to the 'Sendable' protocol
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:54: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
52 | }
53 |
54 | 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
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | public static let int = Tag("tag:yaml.org,2002:int")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:55: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
53 |
54 | public static let null = Tag("tag:yaml.org,2002:null")
55 | 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
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | public static let float = Tag("tag:yaml.org,2002:float")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:56: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
54 | public static let null = Tag("tag:yaml.org,2002:null")
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | 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
57 | public static let float = Tag("tag:yaml.org,2002:float")
58 | public static let str = Tag("tag:yaml.org,2002:str")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:57: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
55 | public static let bool = Tag("tag:yaml.org,2002:bool")
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | 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
58 | public static let str = Tag("tag:yaml.org,2002:str")
59 |
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:58: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
56 | public static let int = Tag("tag:yaml.org,2002:int")
57 | public static let float = Tag("tag:yaml.org,2002:float")
58 | 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
59 |
60 | public static let seq = Tag("tag:yaml.org,2002:seq")
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:60: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
58 | public static let str = Tag("tag:yaml.org,2002:str")
59 |
60 | 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
61 | public static let map = Tag("tag:yaml.org,2002:map")
62 | }
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:61: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
35 | public enum YAML {
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'Tag' conform to the 'Sendable' protocol
38 |
39 | public let rawValue: String
:
59 |
60 | public static let seq = Tag("tag:yaml.org,2002:seq")
61 | 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
62 | }
63 |
/host/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
/host/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.
/host/spi-builder-workspace/Sources/PotentYAML/YAML.swift:35:13: note: consider making enum 'YAML' conform to the 'Sendable' protocol
33 | ///
34 | @dynamicMemberLookup
35 | public enum YAML {
| `- note: consider making enum 'YAML' conform to the 'Sendable' protocol
36 |
37 | public struct Tag: RawRepresentable, Equatable, Hashable {
/host/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.
/host/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
/host/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)
/host/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)
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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 |
/host/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
/host/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.
/host/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
/host/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)
/host/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)
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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 {
/host/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)
/host/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)
/host/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
/host/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 | }
/host/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 | }
/host/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
/host/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 |
/host/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 |
/host/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
[238/240] Compiling PotentASN1 ASN1.swift
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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 |
[239/240] Compiling PotentASN1 ASN1DERReader.swift
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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 |
[240/240] Compiling PotentASN1 ASN1DERWriter.swift
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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 |
Build complete! (84.05s)
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" : "/host/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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.