Build Information
Successful build of Yams, reference 4.0.1 (138cf1), with Swift 6.1 for macOS (SPM) on 24 Jan 2026 10:35:58 UTC.
Swift 6 data race errors: 45
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/foscomputerservices/Yams.git
Reference: 4.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/foscomputerservices/Yams
* tag 4.0.1 -> FETCH_HEAD
HEAD is now at 138cf1b Release 4.0.1
Cloned https://github.com/foscomputerservices/Yams.git
Revision (git rev-parse @):
138cf1b701cf825233b92ceac919152d5aba8a3f
SUCCESS checkout https://github.com/foscomputerservices/Yams.git at 4.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/foscomputerservices/Yams.git
https://github.com/foscomputerservices/Yams.git
{
"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",
"sources" : [
"ConstructorTests.swift",
"EmitterTests.swift",
"EncoderTests.swift",
"MarkTests.swift",
"NodeTests.swift",
"PerformanceTests.swift",
"RepresenterTests.swift",
"ResolverTests.swift",
"SpecTests.swift",
"StringTests.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" : [
"Constructor.swift",
"Decoder.swift",
"Emitter.swift",
"Encoder.swift",
"Mark.swift",
"Node.Mapping.swift",
"Node.Scalar.swift",
"Node.Sequence.swift",
"Node.swift",
"Parser.swift",
"Representer.swift",
"Resolver.swift",
"String+Yams.swift",
"Tag.swift",
"YamlError.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.0"
}
Running build ...
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
Building for debugging...
[0/8] Write sources
[1/8] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling writer.c
[3/8] Compiling reader.c
[4/8] Compiling parser.c
[5/8] Compiling emitter.c
[6/8] Compiling api.c
[7/8] Compiling scanner.c
[9/23] Compiling Yams Representer.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Representer.swift:13:13: warning: let 'cpow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #if os(iOS) || os(macOS) || os(watchOS) || os(tvOS)
12 | import Darwin
13 | private let cpow: (_: Double, _: Double) -> Double = Darwin.pow
| |- warning: let 'cpow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cpow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | #elseif os(Windows)
15 | import ucrt
[10/23] Compiling Yams Tag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:99: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
:
97 | // Special
98 | /// Tag should be resolved by value.
99 | 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
100 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
101 | public static let nonSpecific: Tag.Name = "!"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:101: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
:
99 | public static let implicit: Tag.Name = ""
100 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
101 | 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
102 |
103 | // Failsafe Schema
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:105: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
:
103 | // Failsafe Schema
104 | /// "tag:yaml.org,2002:str" <http://yaml.org/type/str.html>
105 | 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
106 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
107 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:107: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
:
105 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
106 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
107 | 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
108 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
109 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:109: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
:
107 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
108 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
109 | 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
110 | // JSON Schema
111 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:112: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
:
110 | // JSON Schema
111 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
112 | 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
113 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
114 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:114: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
:
112 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
113 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
114 | 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
115 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
116 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:116: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
:
114 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
115 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
116 | 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
117 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
118 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:118: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
:
116 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
117 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
118 | 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
119 | // http://yaml.org/type/index.html
120 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:121: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
:
119 | // http://yaml.org/type/index.html
120 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
121 | 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
122 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
123 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:123: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
:
121 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
122 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
123 | 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
124 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
125 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:125: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
:
123 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
124 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
125 | 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
126 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
127 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:127: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
:
125 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
126 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
127 | 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
128 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
129 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:129: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
:
127 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
128 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
129 | 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
130 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
131 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:131: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
:
129 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
130 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
131 | 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
132 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
133 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:133: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
:
131 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
132 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
133 | 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
134 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
135 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:135: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
:
133 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
134 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
135 | 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
136 | }
137 |
[11/23] Compiling Yams String+Yams.swift
[12/23] Compiling Yams Resolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:97: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 {
:
95 | extension Resolver {
96 | /// Resolver with no rules.
97 | 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
98 | /// Resolver with a default set of rules.
99 | public static let `default` = Resolver([.bool, .int, .float, .merge, .null, .timestamp, .value])
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:99: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 {
:
97 | public static let basic = Resolver()
98 | /// Resolver with a default set of rules.
99 | 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
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:108: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
:
106 |
107 | /// Default bool resolver rule.
108 | 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
109 | ^(?:yes|Yes|YES|no|No|NO\
110 | |true|True|TRUE|false|False|FALSE\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:115: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
:
113 |
114 | /// Default int resolver rule.
115 | 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
116 | ^(?:[-+]?0b[0-1_]+\
117 | |[-+]?0o?[0-7_]+\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:124: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
:
122 |
123 | /// Default float resolver rule.
124 | 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
125 | ^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?\
126 | |\\.[0-9_]+(?:[eE][-+][0-9]+)?\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:133: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
:
131 |
132 | /// Default merge resolver rule.
133 | 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
134 |
135 | /// Default null resolver rule.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:136: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
:
134 |
135 | /// Default null resolver rule.
136 | 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
137 | ^(?:~\
138 | |null|Null|NULL\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:143: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
:
141 |
142 | /// Default timestamp resolver rule.
143 | 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
144 | ^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\
145 | |[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:152: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
:
150 |
151 | /// Default value resolver rule.
152 | 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
153 |
154 | // swiftlint:enable force_try
[13/23] Compiling Yams Node.Scalar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Scalar.swift:98: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
96 |
97 | extension Node.Scalar: TagResolvable {
98 | 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
99 | func resolveTag(using resolver: Resolver) -> Tag.Name {
100 | 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:180: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
178 |
179 | extension Node.Sequence: TagResolvable {
180 | 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
181 | }
182 |
/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
[14/23] Compiling Yams Node.Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Scalar.swift:98: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
96 |
97 | extension Node.Scalar: TagResolvable {
98 | 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
99 | func resolveTag(using resolver: Resolver) -> Tag.Name {
100 | 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:180: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
178 |
179 | extension Node.Sequence: TagResolvable {
180 | 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
181 | }
182 |
/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/23] Compiling Yams Emitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:264: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
262 |
263 | private extension Node {
264 | 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
265 | static let unused = Node("", .unused)
266 | }
/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:265: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
263 | private extension Node {
264 | static let null = Node("null", Tag(.null))
265 | 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
266 | }
267 |
/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:269: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
267 |
268 | private extension Tag {
269 | 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
270 | }
271 |
/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:273: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
271 |
272 | private extension Tag.Name {
273 | 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
274 | }
275 |
/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/23] Compiling Yams Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Encoder.swift:264: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
262 |
263 | private extension Node {
264 | 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
265 | static let unused = Node("", .unused)
266 | }
/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:265: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
263 | private extension Node {
264 | static let null = Node("null", Tag(.null))
265 | 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
266 | }
267 |
/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:269: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
267 |
268 | private extension Tag {
269 | 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
270 | }
271 |
/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:273: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
271 |
272 | private extension Tag.Name {
273 | 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
274 | }
275 |
/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
[17/23] Compiling Yams Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:128: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
126 | /// This can be overridden by setting `YAMS_DEFAULT_ENCODING` to either `UTF8` or `UTF16`.
127 | /// This value is case insensitive.
128 | 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
129 | let key = "YAMS_DEFAULT_ENCODING"
130 | if let yamsEncoding = ProcessInfo.processInfo.environment[key],
[18/23] Compiling Yams Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Parser.swift:128: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
126 | /// This can be overridden by setting `YAMS_DEFAULT_ENCODING` to either `UTF8` or `UTF16`.
127 | /// This value is case insensitive.
128 | 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
129 | let key = "YAMS_DEFAULT_ENCODING"
130 | if let yamsEncoding = ProcessInfo.processInfo.environment[key],
[19/23] Compiling Yams Mark.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Mapping.swift:135: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
133 |
134 | extension Node.Mapping: TagResolvable {
135 | 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
136 | }
137 |
/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/23] Compiling Yams Node.Mapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Node.Mapping.swift:135: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
133 |
134 | extension Node.Mapping: TagResolvable {
135 | 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
136 | }
137 |
/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/24] Emitting module Yams
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:69: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?]
:
67 | extension Constructor {
68 | /// The default `Constructor` to be used with APIs where none is explicitly provided.
69 | 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
70 |
71 | /// 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:72: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
70 |
71 | /// The default `Tag.Name` to `Node.Scalar` map.
72 | 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
73 | // Failsafe Schema
74 | .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:86: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
84 |
85 | /// The default `Tag.Name` to `Node.Mapping` map.
86 | 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
87 | .map: [AnyHashable: Any].construct_mapping,
88 | // 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:95: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
93 |
94 | /// The default `Tag.Name` to `Node.Sequence` map.
95 | 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
96 | .seq: [Any].construct_seq,
97 | // 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:264: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
262 |
263 | private extension Node {
264 | 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
265 | static let unused = Node("", .unused)
266 | }
/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:265: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
263 | private extension Node {
264 | static let null = Node("null", Tag(.null))
265 | 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
266 | }
267 |
/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:269: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
267 |
268 | private extension Tag {
269 | 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
270 | }
271 |
/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:273: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
271 |
272 | private extension Tag.Name {
273 | 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
274 | }
275 |
/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:135: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
133 |
134 | extension Node.Mapping: TagResolvable {
135 | 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
136 | }
137 |
/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:98: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
96 |
97 | extension Node.Scalar: TagResolvable {
98 | 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
99 | func resolveTag(using resolver: Resolver) -> Tag.Name {
100 | 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:180: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
178 |
179 | extension Node.Sequence: TagResolvable {
180 | 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
181 | }
182 |
/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:128: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
126 | /// This can be overridden by setting `YAMS_DEFAULT_ENCODING` to either `UTF8` or `UTF16`.
127 | /// This value is case insensitive.
128 | 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
129 | let key = "YAMS_DEFAULT_ENCODING"
130 | if let yamsEncoding = ProcessInfo.processInfo.environment[key],
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Representer.swift:13:13: warning: let 'cpow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
11 | #if os(iOS) || os(macOS) || os(watchOS) || os(tvOS)
12 | import Darwin
13 | private let cpow: (_: Double, _: Double) -> Double = Darwin.pow
| |- warning: let 'cpow' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cpow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | #elseif os(Windows)
15 | import ucrt
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:97: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 {
:
95 | extension Resolver {
96 | /// Resolver with no rules.
97 | 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
98 | /// Resolver with a default set of rules.
99 | public static let `default` = Resolver([.bool, .int, .float, .merge, .null, .timestamp, .value])
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:99: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 {
:
97 | public static let basic = Resolver()
98 | /// Resolver with a default set of rules.
99 | 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
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:108: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
:
106 |
107 | /// Default bool resolver rule.
108 | 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
109 | ^(?:yes|Yes|YES|no|No|NO\
110 | |true|True|TRUE|false|False|FALSE\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:115: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
:
113 |
114 | /// Default int resolver rule.
115 | 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
116 | ^(?:[-+]?0b[0-1_]+\
117 | |[-+]?0o?[0-7_]+\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:124: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
:
122 |
123 | /// Default float resolver rule.
124 | 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
125 | ^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?\
126 | |\\.[0-9_]+(?:[eE][-+][0-9]+)?\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:133: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
:
131 |
132 | /// Default merge resolver rule.
133 | 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
134 |
135 | /// Default null resolver rule.
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:136: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
:
134 |
135 | /// Default null resolver rule.
136 | 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
137 | ^(?:~\
138 | |null|Null|NULL\
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Resolver.swift:143: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
:
141 |
142 | /// Default timestamp resolver rule.
143 | 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
144 | ^(?:[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\
145 | |[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:152: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
:
150 |
151 | /// Default value resolver rule.
152 | 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
153 |
154 | // swiftlint:enable force_try
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:99: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
:
97 | // Special
98 | /// Tag should be resolved by value.
99 | 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
100 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
101 | public static let nonSpecific: Tag.Name = "!"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:101: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
:
99 | public static let implicit: Tag.Name = ""
100 | /// Tag should not be resolved by value, and be resolved as .str, .seq or .map.
101 | 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
102 |
103 | // Failsafe Schema
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:105: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
:
103 | // Failsafe Schema
104 | /// "tag:yaml.org,2002:str" <http://yaml.org/type/str.html>
105 | 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
106 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
107 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:107: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
:
105 | public static let str: Tag.Name = "tag:yaml.org,2002:str"
106 | /// "tag:yaml.org,2002:seq" <http://yaml.org/type/seq.html>
107 | 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
108 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
109 | public static let map: Tag.Name = "tag:yaml.org,2002:map"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:109: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
:
107 | public static let seq: Tag.Name = "tag:yaml.org,2002:seq"
108 | /// "tag:yaml.org,2002:map" <http://yaml.org/type/map.html>
109 | 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
110 | // JSON Schema
111 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:112: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
:
110 | // JSON Schema
111 | /// "tag:yaml.org,2002:bool" <http://yaml.org/type/bool.html>
112 | 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
113 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
114 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:114: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
:
112 | public static let bool: Tag.Name = "tag:yaml.org,2002:bool"
113 | /// "tag:yaml.org,2002:float" <http://yaml.org/type/float.html>
114 | 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
115 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
116 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:116: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
:
114 | public static let float: Tag.Name = "tag:yaml.org,2002:float"
115 | /// "tag:yaml.org,2002:null" <http://yaml.org/type/null.html>
116 | 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
117 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
118 | public static let int: Tag.Name = "tag:yaml.org,2002:int"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:118: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
:
116 | public static let null: Tag.Name = "tag:yaml.org,2002:null"
117 | /// "tag:yaml.org,2002:int" <http://yaml.org/type/int.html>
118 | 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
119 | // http://yaml.org/type/index.html
120 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:121: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
:
119 | // http://yaml.org/type/index.html
120 | /// "tag:yaml.org,2002:binary" <http://yaml.org/type/binary.html>
121 | 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
122 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
123 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:123: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
:
121 | public static let binary: Tag.Name = "tag:yaml.org,2002:binary"
122 | /// "tag:yaml.org,2002:merge" <http://yaml.org/type/merge.html>
123 | 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
124 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
125 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:125: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
:
123 | public static let merge: Tag.Name = "tag:yaml.org,2002:merge"
124 | /// "tag:yaml.org,2002:omap" <http://yaml.org/type/omap.html>
125 | 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
126 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
127 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:127: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
:
125 | public static let omap: Tag.Name = "tag:yaml.org,2002:omap"
126 | /// "tag:yaml.org,2002:pairs" <http://yaml.org/type/pairs.html>
127 | 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
128 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
129 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:129: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
:
127 | public static let pairs: Tag.Name = "tag:yaml.org,2002:pairs"
128 | /// "tag:yaml.org,2002:set". <http://yaml.org/type/set.html>
129 | 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
130 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
131 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:131: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
:
129 | public static let set: Tag.Name = "tag:yaml.org,2002:set"
130 | /// "tag:yaml.org,2002:timestamp" <http://yaml.org/type/timestamp.html>
131 | 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
132 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
133 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:133: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
:
131 | public static let timestamp: Tag.Name = "tag:yaml.org,2002:timestamp"
132 | /// "tag:yaml.org,2002:value" <http://yaml.org/type/value.html>
133 | 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
134 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
135 | public static let yaml: Tag.Name = "tag:yaml.org,2002:yaml"
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Tag.swift:135: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
:
133 | public static let value: Tag.Name = "tag:yaml.org,2002:value"
134 | /// "tag:yaml.org,2002:yaml" <http://yaml.org/type/yaml.html> We don't support this.
135 | 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:75:49: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
73 | ///
74 | /// - parameter encoding: The string encoding used to decode the string data.
75 | case dataCouldNotBeDecoded(encoding: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
76 |
77 | /// The error context.
Foundation.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:38: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
36 | /// - parameter mark: Problem position.
37 | /// - parameter yaml: YAML String which the problem occured while scanning.
38 | 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
39 |
40 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
:
76 |
77 | /// The error context.
78 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
79 | /// Context text.
80 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:38: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
36 | /// - parameter mark: Problem position.
37 | /// - parameter yaml: YAML String which the problem occured while scanning.
38 | 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
39 |
40 | /// `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:46: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
44 | /// - parameter mark: Problem position.
45 | /// - parameter yaml: YAML String which the problem occured while parsing.
46 | 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
47 |
48 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
:
76 |
77 | /// The error context.
78 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
79 | /// Context text.
80 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:46: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
44 | /// - parameter mark: Problem position.
45 | /// - parameter yaml: YAML String which the problem occured while parsing.
46 | 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
47 |
48 | /// `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:54: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
52 | /// - parameter mark: Problem position.
53 | /// - parameter yaml: YAML String which the problem occured while composing.
54 | 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
55 |
56 | // Used in `yaml_emitter_t`
:
76 |
77 | /// The error context.
78 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
79 | /// Context text.
80 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:54: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
52 | /// - parameter mark: Problem position.
53 | /// - parameter yaml: YAML String which the problem occured while composing.
54 | 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
55 |
56 | // 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
[22/24] Compiling Yams Constructor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:69: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?]
:
67 | extension Constructor {
68 | /// The default `Constructor` to be used with APIs where none is explicitly provided.
69 | 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
70 |
71 | /// 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:72: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
70 |
71 | /// The default `Tag.Name` to `Node.Scalar` map.
72 | 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
73 | // Failsafe Schema
74 | .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:86: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
84 |
85 | /// The default `Tag.Name` to `Node.Mapping` map.
86 | 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
87 | .map: [AnyHashable: Any].construct_mapping,
88 | // 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:95: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
93 |
94 | /// The default `Tag.Name` to `Node.Sequence` map.
95 | 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
96 | .seq: [Any].construct_seq,
97 | // 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
[23/24] Compiling Yams Decoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/Constructor.swift:69: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?]
:
67 | extension Constructor {
68 | /// The default `Constructor` to be used with APIs where none is explicitly provided.
69 | 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
70 |
71 | /// 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:72: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
70 |
71 | /// The default `Tag.Name` to `Node.Scalar` map.
72 | 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
73 | // Failsafe Schema
74 | .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:86: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
84 |
85 | /// The default `Tag.Name` to `Node.Mapping` map.
86 | 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
87 | .map: [AnyHashable: Any].construct_mapping,
88 | // 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:95: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
93 |
94 | /// The default `Tag.Name` to `Node.Sequence` map.
95 | 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
96 | .seq: [Any].construct_seq,
97 | // 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
[24/24] Compiling Yams YamlError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:75:49: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
73 | ///
74 | /// - parameter encoding: The string encoding used to decode the string data.
75 | case dataCouldNotBeDecoded(encoding: String.Encoding)
| `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
76 |
77 | /// The error context.
Foundation.String.Encoding:2:15: note: struct declared here
1 | struct String {
2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
| `- note: struct declared here
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:38: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
36 | /// - parameter mark: Problem position.
37 | /// - parameter yaml: YAML String which the problem occured while scanning.
38 | 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
39 |
40 | /// `YAML_PARSER_ERROR`. Cannot parse the input stream.
:
76 |
77 | /// The error context.
78 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
79 | /// Context text.
80 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:38: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
36 | /// - parameter mark: Problem position.
37 | /// - parameter yaml: YAML String which the problem occured while scanning.
38 | 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
39 |
40 | /// `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:46: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
44 | /// - parameter mark: Problem position.
45 | /// - parameter yaml: YAML String which the problem occured while parsing.
46 | 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
47 |
48 | /// `YAML_COMPOSER_ERROR`. Cannot compose a YAML document.
:
76 |
77 | /// The error context.
78 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
79 | /// Context text.
80 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:46: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
44 | /// - parameter mark: Problem position.
45 | /// - parameter yaml: YAML String which the problem occured while parsing.
46 | 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
47 |
48 | /// `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:54: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
52 | /// - parameter mark: Problem position.
53 | /// - parameter yaml: YAML String which the problem occured while composing.
54 | 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
55 |
56 | // Used in `yaml_emitter_t`
:
76 |
77 | /// The error context.
78 | public struct Context: CustomStringConvertible {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
79 | /// Context text.
80 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Yams/YamlError.swift:54: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
52 | /// - parameter mark: Problem position.
53 | /// - parameter yaml: YAML String which the problem occured while composing.
54 | 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
55 |
56 | // 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
Build complete! (5.21s)
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",
"sources" : [
"ConstructorTests.swift",
"EmitterTests.swift",
"EncoderTests.swift",
"MarkTests.swift",
"NodeTests.swift",
"PerformanceTests.swift",
"RepresenterTests.swift",
"ResolverTests.swift",
"SpecTests.swift",
"StringTests.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" : [
"Constructor.swift",
"Decoder.swift",
"Emitter.swift",
"Encoder.swift",
"Mark.swift",
"Node.Mapping.swift",
"Node.Scalar.swift",
"Node.Sequence.swift",
"Node.swift",
"Parser.swift",
"Representer.swift",
"Resolver.swift",
"String+Yams.swift",
"Tag.swift",
"YamlError.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.0"
}
Done.