Build Information
Failed to build XMLMapper, reference 2.0.0 (f3b024
), with Swift 6.0 for Linux on 28 Nov 2024 14:35:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
| `- 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: annotate 'discardAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/host/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: annotate 'rootOnlyNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/host/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: annotate 'alwaysNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/host/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: annotate 'neverNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/host/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: annotate 'cdataAsString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
[7/39] Compiling XMLMapper XMLStringConvertibleTransform.swift
/host/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: annotate 'collapseTextNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/host/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: annotate 'stripEmptyNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/host/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: annotate 'trimWhiteSpace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/host/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: annotate 'alwaysUseArrays' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/host/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: annotate 'preserveComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/host/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: annotate 'wrapRootNode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/host/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: annotate 'keepNodesOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/host/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: annotate 'prefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/host/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: annotate 'unprefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/host/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: annotate 'dictionaryAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/host/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: annotate 'discardAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/host/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: annotate 'rootOnlyNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/host/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: annotate 'alwaysNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/host/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: annotate 'neverNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/host/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: annotate 'cdataAsString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
[8/39] Compiling XMLMapper XMLMappable.swift
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
153 | endText()
154 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
218 | endText()
219 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
260 | addText(string)
261 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
288 | print(parseError)
289 | error = parseError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/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: annotate 'collapseTextNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/host/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: annotate 'stripEmptyNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/host/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: annotate 'trimWhiteSpace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/host/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: annotate 'alwaysUseArrays' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/host/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: annotate 'preserveComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/host/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: annotate 'wrapRootNode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/host/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: annotate 'cdataAsString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/host/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: annotate 'keepNodesOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/host/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: annotate 'prefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/host/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: annotate 'unprefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/host/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: annotate 'dictionaryAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/host/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: annotate 'discardAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/host/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: annotate 'alwaysNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/host/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: annotate 'rootOnlyNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/host/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: annotate 'neverNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[9/39] Compiling XMLMapper XMLMapper.swift
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
153 | endText()
154 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
218 | endText()
219 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
260 | addText(string)
261 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
288 | print(parseError)
289 | error = parseError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/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: annotate 'collapseTextNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/host/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: annotate 'stripEmptyNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/host/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: annotate 'trimWhiteSpace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/host/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: annotate 'alwaysUseArrays' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/host/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: annotate 'preserveComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/host/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: annotate 'wrapRootNode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/host/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: annotate 'cdataAsString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/host/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: annotate 'keepNodesOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/host/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: annotate 'prefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/host/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: annotate 'unprefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/host/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: annotate 'dictionaryAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/host/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: annotate 'discardAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/host/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: annotate 'alwaysNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/host/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: annotate 'rootOnlyNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/host/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: annotate 'neverNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[10/39] Compiling XMLMapper XMLNSDecimalNumberTransform.swift
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
153 | endText()
154 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
218 | endText()
219 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
260 | addText(string)
261 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
288 | print(parseError)
289 | error = parseError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/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: annotate 'collapseTextNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/host/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: annotate 'stripEmptyNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/host/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: annotate 'trimWhiteSpace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/host/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: annotate 'alwaysUseArrays' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/host/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: annotate 'preserveComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/host/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: annotate 'wrapRootNode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/host/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: annotate 'cdataAsString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/host/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: annotate 'keepNodesOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/host/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: annotate 'prefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/host/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: annotate 'unprefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/host/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: annotate 'dictionaryAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/host/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: annotate 'discardAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/host/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: annotate 'alwaysNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/host/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: annotate 'rootOnlyNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/host/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: annotate 'neverNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[11/39] Compiling XMLMapper XMLObjectParser.swift
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | .collapseTextNodes,
39 | .trimWhiteSpace,
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:151:28: error: cannot find type 'XMLParserDelegate' in scope
149 | // MARK: - XMLParserDelegate
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
153 | endText()
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:152:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
150 |
151 | extension XMLObjectParser: XMLParserDelegate {
152 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
153 | endText()
154 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:217:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
215 | }
216 |
217 | func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
218 | endText()
219 | endData()
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:259:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
257 | }
258 |
259 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
260 | addText(string)
261 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:263:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
261 | }
262 |
263 | func parser(_ parser: XMLParser, foundCDATA CDATABlock: Data) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
264 | if cdataAsString {
265 | guard let string = String(data: CDATABlock, encoding: .utf8) else {
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:274:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
272 | }
273 |
274 | func parser(_ parser: XMLParser, foundComment comment: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
275 | if preserveComments {
276 | let top = stack?.last
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:287:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
285 | }
286 |
287 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
288 | print(parseError)
289 | error = parseError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:293:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
291 | }
292 |
293 | func parser(_ parser: XMLParser, validationErrorOccurred validationError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
294 | print(validationError)
295 | error = validationError
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:62:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
60 | let xmlObjectParser = XMLObjectParser()
61 | xmlObjectParser.applyOptions(options)
62 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
63 | parser.delegate = xmlObjectParser
64 | parser.parse()
/host/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: annotate 'collapseTextNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let stripEmptyNodes = ReadingOptions(rawValue: 1 << 1)
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
/host/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: annotate 'stripEmptyNodes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let trimWhiteSpace = ReadingOptions(rawValue: 1 << 2)
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
/host/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: annotate 'trimWhiteSpace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let alwaysUseArrays = ReadingOptions(rawValue: 1 << 3)
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
/host/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: annotate 'alwaysUseArrays' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let preserveComments = ReadingOptions(rawValue: 1 << 4)
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
/host/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: annotate 'preserveComments' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let wrapRootNode = ReadingOptions(rawValue: 1 << 5)
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
/host/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: annotate 'wrapRootNode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let keepNodesOrder = ReadingOptions(rawValue: 1 << 6)
25 |
/host/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: annotate 'cdataAsString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static let `default`: ReadingOptions = [
/host/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: annotate 'keepNodesOrder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let prefixedAttributes = ReadingOptions(rawValue: 1 << 7)
/host/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: annotate 'prefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let unprefixedAttributes = ReadingOptions(rawValue: 1 << 8)
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
/host/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: annotate 'unprefixedAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let dictionaryAttributes = ReadingOptions(rawValue: 1 << 9)
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
/host/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: annotate 'dictionaryAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let discardAttributes = ReadingOptions(rawValue: 1 << 10)
30 |
/host/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: annotate 'discardAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public static let rootOnlyNodeName = ReadingOptions(rawValue: 1 << 11)
/host/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: annotate 'alwaysNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
34 |
/host/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: annotate 'rootOnlyNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let alwaysNodeName = ReadingOptions(rawValue: 1 << 12)
33 | public static let neverNodeName = ReadingOptions(rawValue: 1 << 13)
/host/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: annotate 'neverNodeName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | public static let cdataAsString = ReadingOptions(rawValue: 1 << 14)
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:290:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
288 | print(parseError)
289 | error = parseError
290 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
291 | }
292 |
/host/spi-builder-workspace/XMLMapper/Classes/XMLObjectParser.swift:296:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
294 | print(validationError)
295 | error = validationError
296 | parser.abortParsing()
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
297 | }
298 | }
[12/39] Compiling XMLMapper XMLParserConstant.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[13/39] Compiling XMLMapper XMLParserHelper.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[14/39] Compiling XMLMapper XMLRepresentable.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[15/39] Compiling XMLMapper XMLSerialization+Error.swift
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:17: error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: cannot convert value of type 'NSDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/XMLRepresentable.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 | extension NSDictionary: XMLRepresentable {
27 | var xmlString: String {
28 | return (self as Dictionary).xmlString
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[16/39] Compiling XMLMapper XMLCDATATransform.swift
[17/39] Compiling XMLMapper XMLCustomDateFormatTransform.swift
[18/39] Compiling XMLMapper XMLDataTransform.swift
[19/39] Compiling XMLMapper XMLDateFormatterTransform.swift
[20/39] Compiling XMLMapper XMLDateTransform.swift
[21/39] Compiling XMLMapper XMLDictionaryTransform.swift
[22/39] Compiling XMLMapper XMLEnumOperators.swift
[23/39] Compiling XMLMapper XMLEnumTransform.swift
[24/39] Compiling XMLMapper XMLHexColorTransform.swift
[25/39] Compiling XMLMapper XMLMap.swift
[26/39] Compiling XMLMapper Array+cdataString.swift
[27/39] Compiling XMLMapper Dictionary+XMLParser.swift
[28/39] Compiling XMLMapper Dictionary+isEqual.swift
[29/39] Compiling XMLMapper Dictionary+mapValues.swift
[30/39] Compiling XMLMapper FromXML.swift
[31/39] Compiling XMLMapper NSMutableDictionary+XMLParser.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[32/39] Compiling XMLMapper Operators.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[33/39] Compiling XMLMapper Sequence+compactMap.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[34/39] Compiling XMLMapper String+XMLParser.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[35/39] Compiling XMLMapper ToXML.swift
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:12:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
10 | extension NSMutableDictionary {
11 | var attributes: [String: String]? {
12 | return (self as Dictionary).attributes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
13 | }
14 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:16:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
14 |
15 | var childNodes: [String: Any]? {
16 | return (self as Dictionary).childNodes
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
17 | }
18 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:20:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
18 |
19 | var comments: [String]? {
20 | return (self as Dictionary).comments
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
21 | }
22 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:24:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
22 |
23 | var innerText: String? {
24 | return (self as Dictionary).innerText
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
25 | }
26 |
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:17: error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: cannot convert value of type 'NSMutableDictionary' to type 'Dictionary<Key, Value>' in coercion
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| `- error: generic parameter 'Key' could not be inferred in cast to 'Dictionary'
29 | }
30 | }
/host/spi-builder-workspace/XMLMapper/Classes/NSMutableDictionary+XMLParser.swift:28:25: error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
26 |
27 | var innerCDATA: [Data]? {
28 | return (self as Dictionary).innerCDATA
| |- error: generic parameter 'Value' could not be inferred in cast to 'Dictionary'
| `- note: explicitly specify the generic arguments to fix this issue
29 | }
30 | }
[36/39] Compiling XMLMapper XMLTransformOf.swift
/host/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) {
/host/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) {
/host/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 | }
[37/39] Compiling XMLMapper XMLTransformOperators.swift
/host/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) {
/host/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) {
/host/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 | }
[38/39] Compiling XMLMapper XMLTransformType.swift
/host/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) {
/host/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) {
/host/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 | }
[39/39] Compiling XMLMapper XMLURLTransform.swift
/host/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) {
/host/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) {
/host/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 | }
BUILD FAILURE 6.0 linux