Build Information
Successful build of Yams, reference 5.3.1 (b4b804
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 07:32:20 UTC.
Swift 6 data race errors: 49
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | ^(?:yes|Yes|YES|no|No|NO\
112 | |true|True|TRUE|false|False|FALSE\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:117:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
115 |
116 | /// Default int resolver rule.
117 | public static let int = try! Resolver.Rule(.int, """
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | ^(?:[-+]?0b[0-1_]+\
119 | |[-+]?0o?[0-7_]+\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:126:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
124 |
125 | /// Default float resolver rule.
126 | public static let float = try! Resolver.Rule(.float, """
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | ^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?\
128 | |\\.[0-9_]+(?:[eE][-+][0-9]+)?\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:135:23: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
133 |
134 | /// Default merge resolver rule.
135 | public static let merge = try! Resolver.Rule(.merge, "^(?:<<)$")
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// Default null resolver rule.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:138:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
136 |
137 | /// Default null resolver rule.
138 | public static let null = try! Resolver.Rule(.null, """
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 | ^(?:~\
140 | |null|Null|NULL\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:145:23: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
143 |
144 | /// Default timestamp resolver rule.
145 | public static let timestamp = try! Resolver.Rule(.timestamp, """
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | ^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\
147 | |[0-9][0-9][0-9][0-9]-[0-9][0-9]?-[0-9][0-9]?\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:154:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
152 |
153 | /// Default value resolver rule.
154 | public static let value = try! Resolver.Rule(.value, "^(?:=)$")
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | // swiftlint:enable force_try
[11/29] Compiling Yams Node.Scalar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Scalar.swift:120:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | extension Node.Scalar: TagResolvable {
120 | static let defaultTagName = Tag.Name.str
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | func resolveTag(using resolver: Resolver) -> Tag.Name {
122 | return tag.name == .implicit ? resolver.resolveTag(from: string) : tag.name
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Sequence.swift:187:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | extension Node.Sequence: TagResolvable {
187 | static let defaultTagName = Tag.Name.seq
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[12/29] Compiling Yams Node.Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Scalar.swift:120:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | extension Node.Scalar: TagResolvable {
120 | static let defaultTagName = Tag.Name.str
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | func resolveTag(using resolver: Resolver) -> Tag.Name {
122 | return tag.name == .implicit ? resolver.resolveTag(from: string) : tag.name
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Sequence.swift:187:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | extension Node.Sequence: TagResolvable {
187 | static let defaultTagName = Tag.Name.seq
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[13/29] Emitting module Yams
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Emitter.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
10 |
11 | #if SWIFT_PACKAGE
12 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
13 | #endif
14 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Constructor' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Constructors are used to translate `Node`s to Swift values.
12 | public final class Constructor {
| `- note: class 'Constructor' does not conform to the 'Sendable' protocol
13 | /// Maps `Tag.Name`s to `Node.Scalar`s.
14 | public typealias ScalarMap = [Tag.Name: (Node.Scalar) -> Any?]
:
69 | extension Constructor {
70 | /// The default `Constructor` to be used with APIs where none is explicitly provided.
71 | public static let `default` = Constructor()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Constructor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The default `Tag.Name` to `Node.Scalar` map.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:74:23: warning: static property 'defaultScalarMap' is not concurrency-safe because non-'Sendable' type 'Constructor.ScalarMap' (aka 'Dictionary<Tag.Name, (Node.Scalar) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// The default `Tag.Name` to `Node.Scalar` map.
74 | public static let defaultScalarMap: ScalarMap = [
| |- warning: static property 'defaultScalarMap' is not concurrency-safe because non-'Sendable' type 'Constructor.ScalarMap' (aka 'Dictionary<Tag.Name, (Node.Scalar) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultScalarMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | // Failsafe Schema
76 | .str: String.construct,
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:88:23: warning: static property 'defaultMappingMap' is not concurrency-safe because non-'Sendable' type 'Constructor.MappingMap' (aka 'Dictionary<Tag.Name, (Node.Mapping) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | /// The default `Tag.Name` to `Node.Mapping` map.
88 | public static let defaultMappingMap: MappingMap = [
| |- warning: static property 'defaultMappingMap' is not concurrency-safe because non-'Sendable' type 'Constructor.MappingMap' (aka 'Dictionary<Tag.Name, (Node.Mapping) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultMappingMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | .map: [AnyHashable: Any].construct_mapping,
90 | // http://yaml.org/type/index.html
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:97:23: warning: static property 'defaultSequenceMap' is not concurrency-safe because non-'Sendable' type 'Constructor.SequenceMap' (aka 'Dictionary<Tag.Name, (Node.Sequence) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | /// The default `Tag.Name` to `Node.Sequence` map.
97 | public static let defaultSequenceMap: SequenceMap = [
| |- warning: static property 'defaultSequenceMap' is not concurrency-safe because non-'Sendable' type 'Constructor.SequenceMap' (aka 'Dictionary<Tag.Name, (Node.Sequence) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultSequenceMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | .seq: [Any].construct_seq,
99 | // http://yaml.org/type/index.html
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:347:16: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
345 |
346 | private extension Node {
347 | static let null = Node("null", Tag(.null))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 | static let unused = Node("", .unused)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:348:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
346 | private extension Node {
347 | static let null = Node("null", Tag(.null))
348 | static let unused = Node("", .unused)
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | }
350 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:352:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag' may have shared mutable state; this is an error in the Swift 6 language mode
350 |
351 | private extension Tag {
352 | static let unused = Tag(.unused)
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:10:20: note: class 'Tag' does not conform to the 'Sendable' protocol
8 |
9 | /// Tags describe the the _type_ of a Node.
10 | public final class Tag {
| `- note: class 'Tag' does not conform to the 'Sendable' protocol
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:356:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
354 |
355 | private extension Tag.Name {
356 | static let unused: Tag.Name = "tag:yams.encoder:unused"
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | }
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Alias.swift:55:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | extension Node.Alias: TagResolvable {
55 | static let defaultTagName = Tag.Name.implicit
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Mapping.swift:142:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
140 |
141 | extension Node.Mapping: TagResolvable {
142 | static let defaultTagName = Tag.Name.map
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Scalar.swift:120:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 | extension Node.Scalar: TagResolvable {
120 | static let defaultTagName = Tag.Name.str
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | func resolveTag(using resolver: Resolver) -> Tag.Name {
122 | return tag.name == .implicit ? resolver.resolveTag(from: string) : tag.name
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Sequence.swift:187:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
185 |
186 | extension Node.Sequence: TagResolvable {
187 | static let defaultTagName = Tag.Name.seq
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | }
189 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:130:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | /// This can be overridden by setting `YAMS_DEFAULT_ENCODING` to either `UTF8` or `UTF16`.
129 | /// This value is case insensitive.
130 | public static var `default`: Encoding = {
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let key = "YAMS_DEFAULT_ENCODING"
132 | if let yamsEncoding = ProcessInfo.processInfo.environment[key],
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:99:23: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Resolver' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Class used to resolve nodes to tags based on customizable rules.
12 | public final class Resolver {
| `- note: class 'Resolver' does not conform to the 'Sendable' protocol
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
:
97 | extension Resolver {
98 | /// Resolver with no rules.
99 | public static let basic = Resolver()
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Resolver' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | /// Resolver with a default set of rules.
101 | public static let `default` = Resolver([.bool, .int, .float, .merge, .null, .timestamp, .value])
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:101:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Resolver' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Class used to resolve nodes to tags based on customizable rules.
12 | public final class Resolver {
| `- note: class 'Resolver' does not conform to the 'Sendable' protocol
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
:
99 | public static let basic = Resolver()
100 | /// Resolver with a default set of rules.
101 | public static let `default` = Resolver([.bool, .int, .float, .merge, .null, .timestamp, .value])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Resolver' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:110:23: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
108 |
109 | /// Default bool resolver rule.
110 | public static let bool = try! Resolver.Rule(.bool, """
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | ^(?:yes|Yes|YES|no|No|NO\
112 | |true|True|TRUE|false|False|FALSE\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:117:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
115 |
116 | /// Default int resolver rule.
117 | public static let int = try! Resolver.Rule(.int, """
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | ^(?:[-+]?0b[0-1_]+\
119 | |[-+]?0o?[0-7_]+\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:126:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
124 |
125 | /// Default float resolver rule.
126 | public static let float = try! Resolver.Rule(.float, """
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | ^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?\
128 | |\\.[0-9_]+(?:[eE][-+][0-9]+)?\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:135:23: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
133 |
134 | /// Default merge resolver rule.
135 | public static let merge = try! Resolver.Rule(.merge, "^(?:<<)$")
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// Default null resolver rule.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:138:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
136 |
137 | /// Default null resolver rule.
138 | public static let null = try! Resolver.Rule(.null, """
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 | ^(?:~\
140 | |null|Null|NULL\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:145:23: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
143 |
144 | /// Default timestamp resolver rule.
145 | public static let timestamp = try! Resolver.Rule(.timestamp, """
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | ^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\
147 | |[0-9][0-9][0-9][0-9]-[0-9][0-9]?-[0-9][0-9]?\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:154:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public final class Resolver {
13 | /// Rule describing how to resolve tags from regex patterns.
14 | public struct Rule {
| `- note: consider making struct 'Rule' conform to the 'Sendable' protocol
15 | /// The tag name this rule applies to.
16 | public let tag: Tag.Name
:
152 |
153 | /// Default value resolver rule.
154 | public static let value = try! Resolver.Rule(.value, "^(?:=)$")
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Resolver.Rule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:119:23: warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
117 | // Special
118 | /// Tag should be resolved by value.
119 | public static let implicit: Tag.Name = ""
| |- warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'implicit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
121 | public static let nonSpecific: Tag.Name = "!"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:121:23: warning: static property 'nonSpecific' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
119 | public static let implicit: Tag.Name = ""
120 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
121 | public static let nonSpecific: Tag.Name = "!"
| |- warning: static property 'nonSpecific' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonSpecific' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | // Failsafe Schema
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:125:23: warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
123 | // Failsafe Schema
124 | /// "tag:yaml.org,2002:str" <http://yaml.org/type/str.html>
125 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
| |- warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'str' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:127:23: warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
125 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
126 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
| |- warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
129 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:129:23: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
128 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
129 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | // JSON Schema
131 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:132:23: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
130 | // JSON Schema
131 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
132 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:134:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
132 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
133 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:136:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
135 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
138 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:138:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
137 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
138 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 | // http://yaml.org/type/index.html
140 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:141:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
139 | // http://yaml.org/type/index.html
140 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
141 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:143:23: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
141 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
142 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:145:23: warning: static property 'omap' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
144 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
| |- warning: static property 'omap' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'omap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:147:23: warning: static property 'pairs' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
146 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
| |- warning: static property 'pairs' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pairs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:149:23: warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
148 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
| |- warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'set' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:151:23: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
150 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:153:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
152 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
155 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:155:23: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
154 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
155 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yaml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlAnchorProviding.swift:25:16: warning: static property 'anchorKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | internal extension Node {
25 | static let anchorKeyNode: Self = .scalar(.init(YamlAnchorFunctionNameProvider().getName()))
| |- warning: static property 'anchorKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anchorKeyNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:39:10: warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
37 | /// - parameter mark: Problem position.
38 | /// - parameter yaml: YAML String which the problem occured while scanning.
39 | case scanner(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
40 |
41 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:39:10: warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
37 | /// - parameter mark: Problem position.
38 | /// - parameter yaml: YAML String which the problem occured while scanning.
39 | case scanner(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
40 |
41 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:47:10: warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
45 | /// - parameter mark: Problem position.
46 | /// - parameter yaml: YAML String which the problem occured while parsing.
47 | case parser(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
48 |
49 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:47:10: warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
45 | /// - parameter mark: Problem position.
46 | /// - parameter yaml: YAML String which the problem occured while parsing.
47 | case parser(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
48 |
49 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:55:10: warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
53 | /// - parameter mark: Problem position.
54 | /// - parameter yaml: YAML String which the problem occured while composing.
55 | case composer(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
56 |
57 | // Used in `yaml_emitter_t`
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:55:10: warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
53 | /// - parameter mark: Problem position.
54 | /// - parameter yaml: YAML String which the problem occured while composing.
55 | case composer(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
56 |
57 | // Used in `yaml_emitter_t`
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:82:10: warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
80 | /// - parameter duplicates: A dictionary keyed by the duplicated node value, with all nodes that duplicate the value
81 | /// - parameter yaml: YAML String which the problem occured while reading.
82 | case duplicatedKeysInMapping(duplicates: [Node: [Node]], yaml: String)
| `- warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
83 |
84 | /// The error context.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:82:10: warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
80 | /// - parameter duplicates: A dictionary keyed by the duplicated node value, with all nodes that duplicate the value
81 | /// - parameter yaml: YAML String which the problem occured while reading.
82 | case duplicatedKeysInMapping(duplicates: [Node: [Node]], yaml: String)
| `- warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
83 |
84 | /// The error context.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlTagProviding.swift:25:16: warning: static property 'tagKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | internal extension Node {
25 | static let tagKeyNode: Self = .scalar(.init(YamlTagFunctionNameProvider().getName()))
| |- warning: static property 'tagKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagKeyNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
[14/29] Compiling Yams Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:347:16: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
345 |
346 | private extension Node {
347 | static let null = Node("null", Tag(.null))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 | static let unused = Node("", .unused)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:348:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
346 | private extension Node {
347 | static let null = Node("null", Tag(.null))
348 | static let unused = Node("", .unused)
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | }
350 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:352:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag' may have shared mutable state; this is an error in the Swift 6 language mode
350 |
351 | private extension Tag {
352 | static let unused = Tag(.unused)
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:10:20: note: class 'Tag' does not conform to the 'Sendable' protocol
8 |
9 | /// Tags describe the the _type_ of a Node.
10 | public final class Tag {
| `- note: class 'Tag' does not conform to the 'Sendable' protocol
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:356:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
354 |
355 | private extension Tag.Name {
356 | static let unused: Tag.Name = "tag:yams.encoder:unused"
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | }
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[15/29] Compiling Yams Mark.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:347:16: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
345 |
346 | private extension Node {
347 | static let null = Node("null", Tag(.null))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 | static let unused = Node("", .unused)
349 | }
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:348:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
346 | private extension Node {
347 | static let null = Node("null", Tag(.null))
348 | static let unused = Node("", .unused)
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 | }
350 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:352:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag' may have shared mutable state; this is an error in the Swift 6 language mode
350 |
351 | private extension Tag {
352 | static let unused = Tag(.unused)
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:10:20: note: class 'Tag' does not conform to the 'Sendable' protocol
8 |
9 | /// Tags describe the the _type_ of a Node.
10 | public final class Tag {
| `- note: class 'Tag' does not conform to the 'Sendable' protocol
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:356:16: warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
354 |
355 | private extension Tag.Name {
356 | static let unused: Tag.Name = "tag:yams.encoder:unused"
| |- warning: static property 'unused' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | }
358 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[16/29] Compiling Yams RedundancyAliasingStrategy.swift
[17/29] Compiling Yams Representer.swift
[18/29] Compiling Yams Node.Alias.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Alias.swift:55:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | extension Node.Alias: TagResolvable {
55 | static let defaultTagName = Tag.Name.implicit
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Mapping.swift:142:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
140 |
141 | extension Node.Mapping: TagResolvable {
142 | static let defaultTagName = Tag.Name.map
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[19/29] Compiling Yams Node.Mapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Alias.swift:55:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | extension Node.Alias: TagResolvable {
55 | static let defaultTagName = Tag.Name.implicit
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Mapping.swift:142:16: warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
140 |
141 | extension Node.Mapping: TagResolvable {
142 | static let defaultTagName = Tag.Name.map
| |- warning: static property 'defaultTagName' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultTagName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[20/29] Compiling Yams Anchor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Constructor' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Constructors are used to translate `Node`s to Swift values.
12 | public final class Constructor {
| `- note: class 'Constructor' does not conform to the 'Sendable' protocol
13 | /// Maps `Tag.Name`s to `Node.Scalar`s.
14 | public typealias ScalarMap = [Tag.Name: (Node.Scalar) -> Any?]
:
69 | extension Constructor {
70 | /// The default `Constructor` to be used with APIs where none is explicitly provided.
71 | public static let `default` = Constructor()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Constructor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The default `Tag.Name` to `Node.Scalar` map.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:74:23: warning: static property 'defaultScalarMap' is not concurrency-safe because non-'Sendable' type 'Constructor.ScalarMap' (aka 'Dictionary<Tag.Name, (Node.Scalar) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// The default `Tag.Name` to `Node.Scalar` map.
74 | public static let defaultScalarMap: ScalarMap = [
| |- warning: static property 'defaultScalarMap' is not concurrency-safe because non-'Sendable' type 'Constructor.ScalarMap' (aka 'Dictionary<Tag.Name, (Node.Scalar) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultScalarMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | // Failsafe Schema
76 | .str: String.construct,
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:88:23: warning: static property 'defaultMappingMap' is not concurrency-safe because non-'Sendable' type 'Constructor.MappingMap' (aka 'Dictionary<Tag.Name, (Node.Mapping) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | /// The default `Tag.Name` to `Node.Mapping` map.
88 | public static let defaultMappingMap: MappingMap = [
| |- warning: static property 'defaultMappingMap' is not concurrency-safe because non-'Sendable' type 'Constructor.MappingMap' (aka 'Dictionary<Tag.Name, (Node.Mapping) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultMappingMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | .map: [AnyHashable: Any].construct_mapping,
90 | // http://yaml.org/type/index.html
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:97:23: warning: static property 'defaultSequenceMap' is not concurrency-safe because non-'Sendable' type 'Constructor.SequenceMap' (aka 'Dictionary<Tag.Name, (Node.Sequence) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | /// The default `Tag.Name` to `Node.Sequence` map.
97 | public static let defaultSequenceMap: SequenceMap = [
| |- warning: static property 'defaultSequenceMap' is not concurrency-safe because non-'Sendable' type 'Constructor.SequenceMap' (aka 'Dictionary<Tag.Name, (Node.Sequence) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultSequenceMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | .seq: [Any].construct_seq,
99 | // http://yaml.org/type/index.html
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[21/29] Compiling Yams Constructor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:71:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Constructor' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Constructors are used to translate `Node`s to Swift values.
12 | public final class Constructor {
| `- note: class 'Constructor' does not conform to the 'Sendable' protocol
13 | /// Maps `Tag.Name`s to `Node.Scalar`s.
14 | public typealias ScalarMap = [Tag.Name: (Node.Scalar) -> Any?]
:
69 | extension Constructor {
70 | /// The default `Constructor` to be used with APIs where none is explicitly provided.
71 | public static let `default` = Constructor()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Constructor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | /// The default `Tag.Name` to `Node.Scalar` map.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:74:23: warning: static property 'defaultScalarMap' is not concurrency-safe because non-'Sendable' type 'Constructor.ScalarMap' (aka 'Dictionary<Tag.Name, (Node.Scalar) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// The default `Tag.Name` to `Node.Scalar` map.
74 | public static let defaultScalarMap: ScalarMap = [
| |- warning: static property 'defaultScalarMap' is not concurrency-safe because non-'Sendable' type 'Constructor.ScalarMap' (aka 'Dictionary<Tag.Name, (Node.Scalar) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultScalarMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | // Failsafe Schema
76 | .str: String.construct,
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:88:23: warning: static property 'defaultMappingMap' is not concurrency-safe because non-'Sendable' type 'Constructor.MappingMap' (aka 'Dictionary<Tag.Name, (Node.Mapping) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | /// The default `Tag.Name` to `Node.Mapping` map.
88 | public static let defaultMappingMap: MappingMap = [
| |- warning: static property 'defaultMappingMap' is not concurrency-safe because non-'Sendable' type 'Constructor.MappingMap' (aka 'Dictionary<Tag.Name, (Node.Mapping) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultMappingMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | .map: [AnyHashable: Any].construct_mapping,
90 | // http://yaml.org/type/index.html
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:97:23: warning: static property 'defaultSequenceMap' is not concurrency-safe because non-'Sendable' type 'Constructor.SequenceMap' (aka 'Dictionary<Tag.Name, (Node.Sequence) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | /// The default `Tag.Name` to `Node.Sequence` map.
97 | public static let defaultSequenceMap: SequenceMap = [
| |- warning: static property 'defaultSequenceMap' is not concurrency-safe because non-'Sendable' type 'Constructor.SequenceMap' (aka 'Dictionary<Tag.Name, (Node.Sequence) -> Optional<Any>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultSequenceMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | .seq: [Any].construct_seq,
99 | // http://yaml.org/type/index.html
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:12:19: note: consider making struct 'Name' conform to the 'Sendable' protocol
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
[22/29] Compiling Yams Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Emitter.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[23/29] Compiling Yams Emitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Emitter.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[24/29] Compiling Yams Tag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:119:23: warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
117 | // Special
118 | /// Tag should be resolved by value.
119 | public static let implicit: Tag.Name = ""
| |- warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'implicit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
121 | public static let nonSpecific: Tag.Name = "!"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:121:23: warning: static property 'nonSpecific' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
119 | public static let implicit: Tag.Name = ""
120 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
121 | public static let nonSpecific: Tag.Name = "!"
| |- warning: static property 'nonSpecific' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonSpecific' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | // Failsafe Schema
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:125:23: warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
123 | // Failsafe Schema
124 | /// "tag:yaml.org,2002:str" <http://yaml.org/type/str.html>
125 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
| |- warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'str' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:127:23: warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
125 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
126 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
| |- warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
129 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:129:23: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
128 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
129 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | // JSON Schema
131 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:132:23: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
130 | // JSON Schema
131 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
132 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:134:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
132 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
133 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:136:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
135 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
138 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:138:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
137 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
138 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 | // http://yaml.org/type/index.html
140 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:141:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
139 | // http://yaml.org/type/index.html
140 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
141 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:143:23: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
141 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
142 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:145:23: warning: static property 'omap' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
144 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
| |- warning: static property 'omap' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'omap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:147:23: warning: static property 'pairs' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
146 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
| |- warning: static property 'pairs' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pairs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:149:23: warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
148 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
| |- warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'set' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:151:23: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
150 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:153:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
152 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
155 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:155:23: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
154 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
155 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yaml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlAnchorProviding.swift:25:16: warning: static property 'anchorKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | internal extension Node {
25 | static let anchorKeyNode: Self = .scalar(.init(YamlAnchorFunctionNameProvider().getName()))
| |- warning: static property 'anchorKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anchorKeyNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
[25/29] Compiling Yams YamlAnchorProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:119:23: warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
117 | // Special
118 | /// Tag should be resolved by value.
119 | public static let implicit: Tag.Name = ""
| |- warning: static property 'implicit' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'implicit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
121 | public static let nonSpecific: Tag.Name = "!"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:121:23: warning: static property 'nonSpecific' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
119 | public static let implicit: Tag.Name = ""
120 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
121 | public static let nonSpecific: Tag.Name = "!"
| |- warning: static property 'nonSpecific' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonSpecific' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | // Failsafe Schema
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:125:23: warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
123 | // Failsafe Schema
124 | /// "tag:yaml.org,2002:str" <http://yaml.org/type/str.html>
125 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
| |- warning: static property 'str' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'str' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:127:23: warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
125 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
126 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
| |- warning: static property 'seq' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seq' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
129 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:129:23: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
127 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
128 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
129 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | // JSON Schema
131 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:132:23: warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
130 | // JSON Schema
131 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
132 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
| |- warning: static property 'bool' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bool' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:134:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
132 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
133 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:136:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
134 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
135 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
138 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:138:23: warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
136 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
137 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
138 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
| |- warning: static property 'int' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'int' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 | // http://yaml.org/type/index.html
140 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:141:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
139 | // http://yaml.org/type/index.html
140 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
141 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:143:23: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
141 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
142 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:145:23: warning: static property 'omap' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
143 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
144 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
| |- warning: static property 'omap' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'omap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:147:23: warning: static property 'pairs' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
145 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
146 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
| |- warning: static property 'pairs' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pairs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:149:23: warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
147 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
148 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
| |- warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'set' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:151:23: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
149 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
150 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:153:23: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
151 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
152 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'value' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
155 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:155:23: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public final class Tag {
11 | /// Tag name.
12 | public struct Name: RawRepresentable, Hashable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
13 | /// This `Tag.Name`'s raw string value.
14 | public let rawValue: String
:
153 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
154 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
155 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'Tag.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yaml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlAnchorProviding.swift:25:16: warning: static property 'anchorKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | internal extension Node {
25 | static let anchorKeyNode: Self = .scalar(.init(YamlAnchorFunctionNameProvider().getName()))
| |- warning: static property 'anchorKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anchorKeyNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
[26/29] Compiling Yams Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
10 |
11 | #if SWIFT_PACKAGE
12 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
13 | #endif
14 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:130:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | /// This can be overridden by setting `YAMS_DEFAULT_ENCODING` to either `UTF8` or `UTF16`.
129 | /// This value is case insensitive.
130 | public static var `default`: Encoding = {
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let key = "YAMS_DEFAULT_ENCODING"
132 | if let yamsEncoding = ProcessInfo.processInfo.environment[key],
[27/29] Compiling Yams Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
10 |
11 | #if SWIFT_PACKAGE
12 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
13 | #endif
14 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:130:27: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | /// This can be overridden by setting `YAMS_DEFAULT_ENCODING` to either `UTF8` or `UTF16`.
129 | /// This value is case insensitive.
130 | public static var `default`: Encoding = {
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let key = "YAMS_DEFAULT_ENCODING"
132 | if let yamsEncoding = ProcessInfo.processInfo.environment[key],
[28/29] Compiling Yams YamlError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:39:10: warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
37 | /// - parameter mark: Problem position.
38 | /// - parameter yaml: YAML String which the problem occured while scanning.
39 | case scanner(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
40 |
41 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:39:10: warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
37 | /// - parameter mark: Problem position.
38 | /// - parameter yaml: YAML String which the problem occured while scanning.
39 | case scanner(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
40 |
41 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:47:10: warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
45 | /// - parameter mark: Problem position.
46 | /// - parameter yaml: YAML String which the problem occured while parsing.
47 | case parser(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
48 |
49 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:47:10: warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
45 | /// - parameter mark: Problem position.
46 | /// - parameter yaml: YAML String which the problem occured while parsing.
47 | case parser(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
48 |
49 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:55:10: warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
53 | /// - parameter mark: Problem position.
54 | /// - parameter yaml: YAML String which the problem occured while composing.
55 | case composer(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
56 |
57 | // Used in `yaml_emitter_t`
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:55:10: warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
53 | /// - parameter mark: Problem position.
54 | /// - parameter yaml: YAML String which the problem occured while composing.
55 | case composer(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
56 |
57 | // Used in `yaml_emitter_t`
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:82:10: warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
80 | /// - parameter duplicates: A dictionary keyed by the duplicated node value, with all nodes that duplicate the value
81 | /// - parameter yaml: YAML String which the problem occured while reading.
82 | case duplicatedKeysInMapping(duplicates: [Node: [Node]], yaml: String)
| `- warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
83 |
84 | /// The error context.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:82:10: warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
80 | /// - parameter duplicates: A dictionary keyed by the duplicated node value, with all nodes that duplicate the value
81 | /// - parameter yaml: YAML String which the problem occured while reading.
82 | case duplicatedKeysInMapping(duplicates: [Node: [Node]], yaml: String)
| `- warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
83 |
84 | /// The error context.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlTagProviding.swift:25:16: warning: static property 'tagKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | internal extension Node {
25 | static let tagKeyNode: Self = .scalar(.init(YamlTagFunctionNameProvider().getName()))
| |- warning: static property 'tagKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagKeyNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
[29/29] Compiling Yams YamlTagProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:39:10: warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
37 | /// - parameter mark: Problem position.
38 | /// - parameter yaml: YAML String which the problem occured while scanning.
39 | case scanner(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
40 |
41 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:39:10: warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
37 | /// - parameter mark: Problem position.
38 | /// - parameter yaml: YAML String which the problem occured while scanning.
39 | case scanner(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'scanner(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
40 |
41 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:47:10: warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
45 | /// - parameter mark: Problem position.
46 | /// - parameter yaml: YAML String which the problem occured while parsing.
47 | case parser(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
48 |
49 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:47:10: warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
45 | /// - parameter mark: Problem position.
46 | /// - parameter yaml: YAML String which the problem occured while parsing.
47 | case parser(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'parser(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
48 |
49 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:55:10: warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
53 | /// - parameter mark: Problem position.
54 | /// - parameter yaml: YAML String which the problem occured while composing.
55 | case composer(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'YamlError.Context'; this is an error in the Swift 6 language mode
56 |
57 | // Used in `yaml_emitter_t`
:
83 |
84 | /// The error context.
85 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
86 | /// Context text.
87 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:55:10: warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
53 | /// - parameter mark: Problem position.
54 | /// - parameter yaml: YAML String which the problem occured while composing.
55 | case composer(context: Context?, problem: String, Mark, yaml: String)
| `- warning: associated value 'composer(context:problem:_:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Mark'; this is an error in the Swift 6 language mode
56 |
57 | // Used in `yaml_emitter_t`
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Mark.swift:10:15: note: consider making struct 'Mark' conform to the 'Sendable' protocol
8 |
9 | /// The pointer position.
10 | public struct Mark {
| `- note: consider making struct 'Mark' conform to the 'Sendable' protocol
11 | /// Line number starting from 1.
12 | public let line: Int
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:82:10: warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
80 | /// - parameter duplicates: A dictionary keyed by the duplicated node value, with all nodes that duplicate the value
81 | /// - parameter yaml: YAML String which the problem occured while reading.
82 | case duplicatedKeysInMapping(duplicates: [Node: [Node]], yaml: String)
| `- warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
83 |
84 | /// The error context.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:82:10: warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
80 | /// - parameter duplicates: A dictionary keyed by the duplicated node value, with all nodes that duplicate the value
81 | /// - parameter yaml: YAML String which the problem occured while reading.
82 | case duplicatedKeysInMapping(duplicates: [Node: [Node]], yaml: String)
| `- warning: associated value 'duplicatedKeysInMapping(duplicates:yaml:)' of 'Sendable'-conforming enum 'YamlError' has non-sendable type 'Node'; this is an error in the Swift 6 language mode
83 |
84 | /// The error context.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlTagProviding.swift:25:16: warning: static property 'tagKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | internal extension Node {
25 | static let tagKeyNode: Self = .scalar(.init(YamlTagFunctionNameProvider().getName()))
| |- warning: static property 'tagKeyNode' is not concurrency-safe because non-'Sendable' type 'Node' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagKeyNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.swift:12:13: note: consider making enum 'Node' conform to the 'Sendable' protocol
10 |
11 | /// YAML Node.
12 | public enum Node: Hashable {
| `- note: consider making enum 'Node' conform to the 'Sendable' protocol
13 | /// Scalar node.
14 | case scalar(Scalar)
Build complete! (6.08s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Yams",
"name" : "Yams",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Yams",
"targets" : [
"Yams"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "YamsTests",
"module_type" : "SwiftTarget",
"name" : "YamsTests",
"path" : "Tests/YamsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/YamsTests/Fixtures/SourceKitten#289/debug.yaml",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AliasingStrategyTests.swift",
"AnchorCodingTests.swift",
"AnchorTolerancesTests.swift",
"ConstructorTests.swift",
"EmitterTests.swift",
"EncoderTests.swift",
"MarkTests.swift",
"NodeDecoderTests.swift",
"NodeTests.swift",
"PerformanceTests.swift",
"RepresenterTests.swift",
"ResolverTests.swift",
"SpecTests.swift",
"StringTests.swift",
"TagCodingTests.swift",
"TagTolerancesTests.swift",
"TestHelper.swift",
"TopLevelDecoderTests.swift",
"YamlErrorTests.swift"
],
"target_dependencies" : [
"Yams"
],
"type" : "test"
},
{
"c99name" : "Yams",
"module_type" : "SwiftTarget",
"name" : "Yams",
"path" : "Sources/Yams",
"product_memberships" : [
"Yams"
],
"sources" : [
"Anchor.swift",
"Constructor.swift",
"Decoder.swift",
"Emitter.swift",
"Encoder.swift",
"Mark.swift",
"Node.Alias.swift",
"Node.Mapping.swift",
"Node.Scalar.swift",
"Node.Sequence.swift",
"Node.swift",
"Parser.swift",
"RedundancyAliasingStrategy.swift",
"Representer.swift",
"Resolver.swift",
"String+Yams.swift",
"Tag.swift",
"YamlAnchorProviding.swift",
"YamlError.swift",
"YamlTagProviding.swift"
],
"target_dependencies" : [
"CYaml"
],
"type" : "library"
},
{
"c99name" : "CYaml",
"module_type" : "ClangTarget",
"name" : "CYaml",
"path" : "Sources/CYaml",
"product_memberships" : [
"Yams"
],
"sources" : [
"src/api.c",
"src/emitter.c",
"src/parser.c",
"src/reader.c",
"src/scanner.c",
"src/writer.c"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/jpsim/yams/5.3.1
Repository: jpsim/Yams
Swift version used: 6.1
Target: Yams
Extracting symbol information for 'Yams'...
Finished extracting symbol information for 'Yams'. (3.44s)
Building documentation for 'Yams'...
warning: Parameter 'yaml' not found in instance method declaration
--> Sources/Yams/Decoder.swift:74:21-74:25
72 | ///
73 | /// - parameter type: `Decodable` type to decode.
74 + /// - parameter yaml: YAML data to decode.
| ╰─suggestion: Replace 'yaml' with 'yamlData'
75 | /// - parameter userInfo: Additional key/values which can be used when looking up keys to decode.
76 | ///
warning: Parameter 'yamlData' is missing documentation
--> Sources/Yams/Decoder.swift:76:9-76:9
74 | /// - parameter yaml: YAML data to decode.
75 | /// - parameter userInfo: Additional key/values which can be used when looking up keys to decode.
| ╰─suggestion: Document 'yamlData' parameter
76 + ///
77 | /// - returns: Returns the decoded type `T`.
78 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
--> Sources/Yams/Emitter.swift:28:5-28:5
26 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
27 | /// - parameter mappingStyle: The style for mappings (dictionaries)
28 + ///
| ╰─suggestion: Document 'newLineScalarStyle' parameter
29 | /// - returns: YAML string.
30 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
--> Sources/Yams/Emitter.swift:85:5-85:5
83 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
84 | /// - parameter mappingStyle: The style for mappings (dictionaries)
85 + ///
| ╰─suggestion: Document 'newLineScalarStyle' parameter
86 | /// - returns: YAML string.
87 | ///
warning: Parameter 'redundancyAliasingStrategy' is missing documentation
--> Sources/Yams/Emitter.swift:85:5-85:5
83 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
84 | /// - parameter mappingStyle: The style for mappings (dictionaries)
85 + ///
| ╰─suggestion: Document 'redundancyAliasingStrategy' parameter
86 | /// - returns: YAML string.
87 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
--> Sources/Yams/Emitter.swift:136:5-136:5
134 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
135 | /// - parameter mappingStyle: The style for mappings (dictionaries)
136 + ///
| ╰─suggestion: Document 'newLineScalarStyle' parameter
137 | /// - returns: YAML string.
138 | ///
warning: Parameter 'redundancyAliasingStrategy' is missing documentation
--> Sources/Yams/Emitter.swift:136:5-136:5
134 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
135 | /// - parameter mappingStyle: The style for mappings (dictionaries)
136 + ///
| ╰─suggestion: Document 'redundancyAliasingStrategy' parameter
137 | /// - returns: YAML string.
138 | ///
warning: Parameter 'newLineScalarStyle' is missing documentation
--> Sources/Yams/Emitter.swift:191:5-191:5
189 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
190 | /// - parameter mappingStyle: The style for mappings (dictionaries)
191 + ///
| ╰─suggestion: Document 'newLineScalarStyle' parameter
192 | /// - returns: YAML string.
193 | ///
warning: Parameter 'redundancyAliasingStrategy' is missing documentation
--> Sources/Yams/Emitter.swift:191:5-191:5
189 | /// - parameter sequenceStyle: The style for sequences (arrays / lists)
190 | /// - parameter mappingStyle: The style for mappings (dictionaries)
191 + ///
| ╰─suggestion: Document 'redundancyAliasingStrategy' parameter
192 | /// - returns: YAML string.
193 | ///
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.Alias.swift:24:54-24:54
22 | ///
23 | /// - parameter tag: This scalar's `Tag`.
| ╰─suggestion: Document 'anchor' parameter
24 + /// - parameter mark: This scalar's `Mark`.
25 | public init(_ anchor: Anchor, _ tag: Tag = .implicit, _ mark: Mark? = nil) {
26 | self.anchor = anchor
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.Mapping.swift:37:54-37:54
35 | /// - parameter tag: This mapping's `Tag`.
36 | /// - parameter style: The style to use when emitting this `Mapping`.
37 + /// - parameter mark: This mapping's `Mark`.
| ╰─suggestion: Document 'anchor' parameter
38 | public init(_ pairs: [(Node, Node)],
39 | _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.Scalar.swift:52:54-52:54
50 | /// - parameter tag: This scalar's `Tag`.
51 | /// - parameter style: The style to use when emitting this `Scalar`.
52 + /// - parameter mark: This scalar's `Mark`.
| ╰─suggestion: Document 'anchor' parameter
53 | public init(_ string: String,
54 | _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.Sequence.swift:39:55-39:55
37 | /// - parameter tag: This sequence's `Tag`.
38 | /// - parameter style: The style to use when emitting this `Sequence`.
39 + /// - parameter mark: This sequence's `Mark`.
| ╰─suggestion: Document 'anchor' parameter
40 | public init(_ nodes: [Node],
41 | _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.swift:28:66-28:66
26 | /// - parameter string: String value for this node.
27 | /// - parameter tag: Tag for this node.
28 + /// - parameter style: Style to use when emitting this node.
| ╰─suggestion: Document 'anchor' parameter
29 | public init(_ string: String,
30 | _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.swift:40:66-40:66
38 | /// - parameter pairs: Pairs of nodes to use for this node.
39 | /// - parameter tag: Tag for this node.
40 + /// - parameter style: Style to use when emitting this node.
| ╰─suggestion: Document 'anchor' parameter
41 | public init(_ pairs: [(Node, Node)],
42 | _ tag: Tag = .implicit,
warning: Parameter 'anchor' is missing documentation
--> Sources/Yams/Node.swift:52:66-52:66
50 | /// - parameter nodes: Sequence of nodes to use for this node.
51 | /// - parameter tag: Tag for this node.
52 + /// - parameter style: Style to use when emitting this node.
| ╰─suggestion: Document 'anchor' parameter
53 | public init(_ nodes: [Node],
54 | _ tag: Tag = .implicit,
warning: Parameter 'string' not found in initializer declaration
--> Sources/Yams/Parser.swift:199:9-199:77
197 | /// Set up a `Parser` with a `Data` value as input.
198 | ///
199 + /// - parameter string: YAML Data encoded using the `encoding` encoding.
| ╰─suggestion: Remove 'string' parameter documentation
200 | /// - parameter resolver: Resolver, `.default` if omitted.
201 | /// - parameter constructor: Constructor, `.default` if omitted.
warning: Parameter 'data' is missing documentation
--> Sources/Yams/Parser.swift:203:9-203:9
201 | /// - parameter constructor: Constructor, `.default` if omitted.
202 | /// - parameter encoding: Encoding, `.default` if omitted.
203 + ///
204 | /// - throws: `YamlError`.
205 | public convenience init(yaml data: Data,
Finished building documentation for 'Yams' (0.56s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/jpsim/yams/5.3.1
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.58s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Compiling Snippets Snippet.swift
[8/53] Compiling SymbolKit GenericConstraint.swift
[9/53] Compiling SymbolKit GenericParameter.swift
[10/53] Compiling SymbolKit Generics.swift
[11/53] Compiling SymbolKit Namespace.swift
[12/53] Compiling SymbolKit DeclarationFragments.swift
[13/53] Compiling SymbolKit Fragment.swift
[14/53] Compiling SymbolKit FragmentKind.swift
[15/53] Compiling SymbolKit FunctionParameter.swift
[16/53] Compiling SymbolKit FunctionSignature.swift
[17/57] Compiling SymbolKit SourceRange.swift
[18/57] Compiling SymbolKit Metadata.swift
[19/57] Compiling SymbolKit Module.swift
[20/57] Compiling SymbolKit OperatingSystem.swift
[21/57] Compiling SymbolKit Platform.swift
[22/57] Emitting module Snippets
[23/57] Compiling SymbolKit Mixin+Equals.swift
[24/57] Compiling SymbolKit Mixin+Hash.swift
[25/57] Compiling SymbolKit Mixin.swift
[26/57] Compiling SymbolKit LineList.swift
[27/57] Compiling SymbolKit Position.swift
[28/57] Compiling SymbolKit Names.swift
[29/57] Compiling SymbolKit SPI.swift
[30/57] Compiling SymbolKit Snippet.swift
[31/57] Compiling SymbolKit Extension.swift
[32/57] Compiling SymbolKit Relationship.swift
[33/57] Compiling SymbolKit RelationshipKind.swift
[34/57] Compiling SymbolKit SourceOrigin.swift
[35/57] Compiling SymbolKit GenericConstraints.swift
[36/57] Compiling SymbolKit Swift.swift
[37/57] Compiling SymbolKit Symbol.swift
[38/57] Compiling SymbolKit SymbolKind.swift
[39/57] Compiling SymbolKit SymbolGraph.swift
[40/57] Compiling SymbolKit GraphCollector.swift
[41/57] Compiling SymbolKit SemanticVersion.swift
[42/57] Compiling SymbolKit AccessControl.swift
[43/57] Compiling SymbolKit Availability.swift
[44/57] Compiling SymbolKit AvailabilityItem.swift
[45/57] Compiling SymbolKit Domain.swift
[46/57] Emitting module SymbolKit
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.41s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling Yams Tag.swift
[3/20] Compiling Yams YamlAnchorProviding.swift
[4/22] Compiling Yams Resolver.swift
[5/22] Compiling Yams String+Yams.swift
[6/22] Compiling Yams Node.Alias.swift
[7/22] Compiling Yams Node.Mapping.swift
[8/22] Compiling Yams Node.Scalar.swift
[9/22] Compiling Yams Node.Sequence.swift
[10/22] Compiling Yams RedundancyAliasingStrategy.swift
[11/22] Compiling Yams Representer.swift
[12/22] Compiling Yams YamlError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[13/22] Compiling Yams YamlTagProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[14/22] Compiling Yams Encoder.swift
[15/22] Compiling Yams Mark.swift
[16/22] Compiling Yams Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
10 |
11 | #if SWIFT_PACKAGE
12 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
13 | #endif
14 | import Foundation
[17/22] Compiling Yams Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
10 |
11 | #if SWIFT_PACKAGE
12 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
13 | #endif
14 | import Foundation
[18/22] Compiling Yams Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Emitter.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[19/22] Compiling Yams Emitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Emitter.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[20/22] Emitting module Yams
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Emitter.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:12:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
10 |
11 | #if SWIFT_PACKAGE
12 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
13 | #endif
14 | import Foundation
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:10:22: warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
8 |
9 | #if SWIFT_PACKAGE
10 | @_implementationOnly import CYaml
| `- warning: using '@_implementationOnly' without enabling library evolution for 'Yams' may lead to instability during execution
11 | #endif
12 | import Foundation
[21/22] Compiling Yams Anchor.swift
[22/22] Compiling Yams Constructor.swift
Build of target: 'Yams' complete! (1.32s)
1802
11 /Users/admin/builder/spi-builder-workspace/.docs/jpsim/yams/5.3.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/jpsim/yams/5.3.1
File count: 1802
Doc size: 11.0MB
Preparing doc bundle ...
Uploading prod-jpsim-yams-5.3.1-5acb5858.zip to s3://spi-docs-inbox/prod-jpsim-yams-5.3.1-5acb5858.zip
Copying... [11%]
Copying... [22%]
Copying... [30%]
Copying... [41%]
Copying... [52%]
Copying... [61%]
Copying... [72%]
Copying... [80%]
Copying... [91%]
Copying... [100%]
Done.