Build Information
Successful build of XMLMapper, reference master (6218f3
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 22:10:15 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gcharita/XMLMapper.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gcharita/XMLMapper
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6218f33 Updated bundle gems
Cloned https://github.com/gcharita/XMLMapper.git
Revision (git rev-parse @):
6218f338c559f220c41d48828edce0b90f406a8d
SUCCESS checkout https://github.com/gcharita/XMLMapper.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "xmlmapper",
"name": "XMLMapper",
"url": "https://github.com/gcharita/XMLMapper.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLMapper",
"dependencies": [
]
}
]
}
Fetching https://github.com/gcharita/XMLMapper.git
[1/2235] Fetching xmlmapper
Fetched https://github.com/gcharita/XMLMapper.git from cache (1.11s)
Creating working copy for https://github.com/gcharita/XMLMapper.git
Working copy of https://github.com/gcharita/XMLMapper.git resolved at master (6218f33)
warning: '.resolve-product-dependencies': dependency 'xmlmapper' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gcharita/XMLMapper.git
https://github.com/gcharita/XMLMapper.git
{
"dependencies" : [
],
"manifest_display_name" : "XMLMapper",
"name" : "XMLMapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "watchos",
"version" : "2.0"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "XMLMapper",
"targets" : [
"XMLMapper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "XMLMapperTests",
"module_type" : "SwiftTarget",
"name" : "XMLMapperTests",
"path" : "XMLMapperTests/Tests",
"sources" : [
"BasicTypes.swift",
"BasicTypesTestsFromXML.swift",
"BasicTypesTestsToXML.swift",
"GenericObjectsTests.swift",
"XMLCustomTransformTests.swift",
"XMLDataTransformTests.swift",
"XMLDictionaryTransformTests.swift",
"XMLMappableExtensionsTests.swift",
"XMLMappableTypesWithTransformsTests.swift",
"XMLMapperTests.swift"
],
"target_dependencies" : [
"XMLMapper"
],
"type" : "test"
},
{
"c99name" : "XMLMapper",
"module_type" : "SwiftTarget",
"name" : "XMLMapper",
"path" : "XMLMapper/Classes",
"product_memberships" : [
"XMLMapper"
],
"sources" : [
"Array+cdataString.swift",
"Dictionary+XMLParser.swift",
"Dictionary+isEqual.swift",
"Dictionary+mapValues.swift",
"FromXML.swift",
"NSMutableDictionary+XMLParser.swift",
"Operators.swift",
"Sequence+compactMap.swift",
"String+XMLParser.swift",
"ToXML.swift",
"XMLCDATATransform.swift",
"XMLCustomDateFormatTransform.swift",
"XMLDataTransform.swift",
"XMLDateFormatterTransform.swift",
"XMLDateTransform.swift",
"XMLDictionaryTransform.swift",
"XMLEnumOperators.swift",
"XMLEnumTransform.swift",
"XMLHexColorTransform.swift",
"XMLMap.swift",
"XMLMappable.swift",
"XMLMapper.swift",
"XMLNSDecimalNumberTransform.swift",
"XMLObjectParser.swift",
"XMLParserConstant.swift",
"XMLParserHelper.swift",
"XMLRepresentable.swift",
"XMLSerialization+Error.swift",
"XMLSerialization+ReadingOptions.swift",
"XMLSerialization.swift",
"XMLStringConvertibleOperators.swift",
"XMLStringConvertibleTransform.swift",
"XMLTransformOf.swift",
"XMLTransformOperators.swift",
"XMLTransformType.swift",
"XMLURLTransform.swift"
],
"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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/36] Emitting module XMLMapper
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:18:27: warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
| |- warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collapseTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:19:27: warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
| |- warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stripEmptyNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:20:27: warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
| |- warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trimWhiteSpace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:21:27: warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
| |- warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysUseArrays' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:22:27: warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
| |- warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preserveComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:23:27: warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
| |- warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapRootNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:24:27: warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
| |- warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keepNodesOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:26:27: warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
| |- warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:27:27: warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
| |- warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unprefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:28:27: warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
| |- warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dictionaryAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:29:27: warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
| |- warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'discardAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:31:27: warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
| |- warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootOnlyNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:32:27: warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
| |- warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:33:27: warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
| |- warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neverNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:35:27: warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
| |- warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cdataAsString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:37:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
36 |
37 | public static let `default`: ReadingOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' 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
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
[4/39] Compiling XMLMapper XMLTransformOperators.swift
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[5/39] Compiling XMLMapper XMLTransformType.swift
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[6/39] Compiling XMLMapper XMLURLTransform.swift
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:318:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
316 |
317 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
318 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
319 | let (key, values) = arg
320 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:354:52: warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
352 | if let dictionary = map.currentValue as? [String : [Any]], map.mappingType == .fromXML && map.isKeyPresent {
353 |
354 | let transformedDictionary = dictionary.map { (arg: (key: String, values: [Any])) -> (String, [Transform.Object]) in
| `- warning: tuple conversion from '(key: String, value: [Any])' to '(key: String, values: [Any])' mismatches labels
355 | let (key, values) = arg
356 | if let XMLArray = fromXMLArrayWithTransform(values, transform: transform) {
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLTransformOperators.swift:375:47: warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
373 |
374 | if map.mappingType == .toXML {
375 | let transformedDictionary = left?.map { (arg: (key: String, values: [Transform.Object])) in
| `- warning: tuple conversion from '(key: String, value: [Transform.Object])' to '(key: String, values: [Transform.Object])' mismatches labels
376 | return (arg.key, toXMLArrayWithTransform(arg.values, transform: transform) ?? [])
377 | }
[7/39] Compiling XMLMapper XMLParserConstant.swift
[8/39] Compiling XMLMapper XMLParserHelper.swift
[9/39] Compiling XMLMapper XMLRepresentable.swift
[10/39] Compiling XMLMapper Array+cdataString.swift
[11/39] Compiling XMLMapper Dictionary+XMLParser.swift
[12/39] Compiling XMLMapper Dictionary+isEqual.swift
[13/39] Compiling XMLMapper Dictionary+mapValues.swift
[14/39] Compiling XMLMapper XMLStringConvertibleOperators.swift
[15/39] Compiling XMLMapper XMLStringConvertibleTransform.swift
[16/39] Compiling XMLMapper XMLTransformOf.swift
[17/39] Compiling XMLMapper String+XMLParser.swift
[18/39] Compiling XMLMapper ToXML.swift
[19/39] Compiling XMLMapper XMLCDATATransform.swift
[20/39] Compiling XMLMapper XMLCustomDateFormatTransform.swift
[21/39] Compiling XMLMapper XMLDataTransform.swift
[22/39] Compiling XMLMapper XMLDateFormatterTransform.swift
[23/39] Compiling XMLMapper XMLDateTransform.swift
[24/39] Compiling XMLMapper XMLDictionaryTransform.swift
[25/39] Compiling XMLMapper XMLMappable.swift
[26/39] Compiling XMLMapper XMLMapper.swift
[27/39] Compiling XMLMapper XMLNSDecimalNumberTransform.swift
[28/39] Compiling XMLMapper XMLObjectParser.swift
[29/39] Compiling XMLMapper XMLSerialization+Error.swift
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:18:27: warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
| |- warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collapseTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:19:27: warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
| |- warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stripEmptyNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:20:27: warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
| |- warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trimWhiteSpace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:21:27: warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
| |- warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysUseArrays' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:22:27: warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
| |- warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preserveComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:23:27: warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
| |- warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapRootNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:24:27: warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
| |- warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keepNodesOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:26:27: warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
| |- warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:27:27: warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
| |- warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unprefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:28:27: warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
| |- warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dictionaryAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:29:27: warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
| |- warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'discardAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:31:27: warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
| |- warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootOnlyNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:32:27: warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
| |- warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:33:27: warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
| |- warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neverNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:35:27: warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
| |- warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cdataAsString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:37:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
36 |
37 | public static let `default`: ReadingOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' 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
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
[30/39] Compiling XMLMapper XMLSerialization+ReadingOptions.swift
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:18:27: warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
| |- warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collapseTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:19:27: warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
| |- warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stripEmptyNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:20:27: warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
| |- warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trimWhiteSpace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:21:27: warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
| |- warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysUseArrays' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:22:27: warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
| |- warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preserveComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:23:27: warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
| |- warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapRootNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:24:27: warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
| |- warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keepNodesOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:26:27: warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
| |- warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:27:27: warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
| |- warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unprefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:28:27: warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
| |- warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dictionaryAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:29:27: warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
| |- warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'discardAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:31:27: warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
| |- warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootOnlyNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:32:27: warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
| |- warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:33:27: warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
| |- warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neverNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:35:27: warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
| |- warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cdataAsString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:37:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
36 |
37 | public static let `default`: ReadingOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' 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
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
[31/39] Compiling XMLMapper XMLSerialization.swift
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:18:27: warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | }
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
| |- warning: static property 'collapseTextNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'collapseTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:19:27: warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
17 |
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
| |- warning: static property 'stripEmptyNodes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stripEmptyNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:20:27: warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let collapseTextNodes = ReadingOptions(rawValue: 1 << 0)
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
| |- warning: static property 'trimWhiteSpace' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trimWhiteSpace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:21:27: warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
| |- warning: static property 'alwaysUseArrays' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysUseArrays' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:22:27: warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
| |- warning: static property 'preserveComments' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preserveComments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:23:27: warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
| |- warning: static property 'wrapRootNode' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wrapRootNode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:24:27: warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
| |- warning: static property 'keepNodesOrder' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keepNodesOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:26:27: warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
| |- warning: static property 'prefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:27:27: warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
| |- warning: static property 'unprefixedAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unprefixedAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:28:27: warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
| |- warning: static property 'dictionaryAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dictionaryAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:29:27: warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
| |- warning: static property 'discardAttributes' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'discardAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:31:27: warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
| |- warning: static property 'rootOnlyNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootOnlyNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:32:27: warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
| |- warning: static property 'alwaysNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:33:27: warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
| |- warning: static property 'neverNodeName' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neverNodeName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:35:27: warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
| |- warning: static property 'cdataAsString' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cdataAsString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/Users/admin/builder/spi-builder-workspace/XMLMapper/Classes/XMLSerialization+ReadingOptions.swift:37:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension XMLSerialization {
11 | public struct ReadingOptions: OptionSet {
| `- note: consider making struct 'ReadingOptions' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
36 |
37 | public static let `default`: ReadingOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XMLSerialization.ReadingOptions' 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
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
[32/39] Compiling XMLMapper XMLEnumOperators.swift
[33/39] Compiling XMLMapper XMLEnumTransform.swift
[34/39] Compiling XMLMapper XMLHexColorTransform.swift
[35/39] Compiling XMLMapper XMLMap.swift
[36/39] Compiling XMLMapper FromXML.swift
[37/39] Compiling XMLMapper NSMutableDictionary+XMLParser.swift
[38/39] Compiling XMLMapper Operators.swift
[39/39] Compiling XMLMapper Sequence+compactMap.swift
Build complete! (8.69s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "XMLMapper",
"name" : "XMLMapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "watchos",
"version" : "2.0"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "XMLMapper",
"targets" : [
"XMLMapper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "XMLMapperTests",
"module_type" : "SwiftTarget",
"name" : "XMLMapperTests",
"path" : "XMLMapperTests/Tests",
"sources" : [
"BasicTypes.swift",
"BasicTypesTestsFromXML.swift",
"BasicTypesTestsToXML.swift",
"GenericObjectsTests.swift",
"XMLCustomTransformTests.swift",
"XMLDataTransformTests.swift",
"XMLDictionaryTransformTests.swift",
"XMLMappableExtensionsTests.swift",
"XMLMappableTypesWithTransformsTests.swift",
"XMLMapperTests.swift"
],
"target_dependencies" : [
"XMLMapper"
],
"type" : "test"
},
{
"c99name" : "XMLMapper",
"module_type" : "SwiftTarget",
"name" : "XMLMapper",
"path" : "XMLMapper/Classes",
"product_memberships" : [
"XMLMapper"
],
"sources" : [
"Array+cdataString.swift",
"Dictionary+XMLParser.swift",
"Dictionary+isEqual.swift",
"Dictionary+mapValues.swift",
"FromXML.swift",
"NSMutableDictionary+XMLParser.swift",
"Operators.swift",
"Sequence+compactMap.swift",
"String+XMLParser.swift",
"ToXML.swift",
"XMLCDATATransform.swift",
"XMLCustomDateFormatTransform.swift",
"XMLDataTransform.swift",
"XMLDateFormatterTransform.swift",
"XMLDateTransform.swift",
"XMLDictionaryTransform.swift",
"XMLEnumOperators.swift",
"XMLEnumTransform.swift",
"XMLHexColorTransform.swift",
"XMLMap.swift",
"XMLMappable.swift",
"XMLMapper.swift",
"XMLNSDecimalNumberTransform.swift",
"XMLObjectParser.swift",
"XMLParserConstant.swift",
"XMLParserHelper.swift",
"XMLRepresentable.swift",
"XMLSerialization+Error.swift",
"XMLSerialization+ReadingOptions.swift",
"XMLSerialization.swift",
"XMLStringConvertibleOperators.swift",
"XMLStringConvertibleTransform.swift",
"XMLTransformOf.swift",
"XMLTransformOperators.swift",
"XMLTransformType.swift",
"XMLURLTransform.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.