Build Information
Successful build of ReactantUI, reference master (71d610
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:18:21 UTC.
Swift 6 data race errors: 57
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: convert 'allValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | public static var xsdType: XSDType {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Logger.swift:12:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | final class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
12 | static let instance = Logger()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' 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
13 |
14 | var errorCode: Int
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[305/325] Compiling Tokenizer TextParser.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[306/325] Compiling Tokenizer Lexer.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[307/325] Compiling Tokenizer ParseError.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[308/325] Compiling Tokenizer StringUtils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[309/325] Compiling Tokenizer Swift+Compatibility.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[310/325] Compiling Tokenizer TokenizationError.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[311/325] Compiling Tokenizer SWXMLHash+TypeConversion.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[312/325] Compiling Tokenizer SWXMLHash.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[313/325] Compiling Tokenizer ComponentDefinition+Serialization.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[314/325] Compiling Tokenizer Layout+Serialization.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[315/325] Compiling Tokenizer Style+Serialization.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[316/325] Compiling Tokenizer XMLAttributeBuilder.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[317/325] Compiling Tokenizer XMLAttributeSerializable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[318/325] Compiling Tokenizer XMLElementSerializable.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[319/325] Compiling Tokenizer XMLSerializableAttribute.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[320/325] Compiling Tokenizer XMLSerializableElement.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[321/325] Compiling Tokenizer XMLSerializer.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[322/325] Compiling Tokenizer XMLElement+Utils.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:60:16: warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
58 | extension Lexer {
59 | typealias TokenGenerator = (String) -> Token?
60 | static let tokenList: [(String, TokenGenerator)] = [
| |- warning: static property 'tokenList' is not concurrency-safe because non-'Sendable' type '[(String, Lexer.TokenGenerator)]' (aka 'Array<(String, (String) -> Optional<Lexer.Token>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tokenList' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | ("[ \t\n]", { .whitespace($0) }),
62 | ("[a-zA-Z][a-zA-Z0-9]*", { .identifier($0) }),
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:111:13: warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | }
110 |
111 | private var expressions = [String: NSRegularExpression]()
| |- warning: var 'expressions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'expressions' 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
112 | fileprivate extension String {
113 | func match(regex: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:23: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/Util/Parsing/Lexer.swift:44:45: warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
16 | case parensClose
17 | case assignment
18 | case equals(value: Bool, original: String)
| `- note: 'equals(value:original:)' declared here
19 | case colon
20 | case semicolon
:
42 | (.bracketsOpen, .bracketsOpen), (.bracketsClose, .bracketsClose):
43 | return true
44 | case (.equals(let lhsBool), .equals(let rhsBool)):
| `- warning: enum case 'equals' has 2 associated values; matching them as a tuple is deprecated
45 | return lhsBool == rhsBool
46 | case (.other(let lhsOther), .other(let rhsOther)):
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:431:10: warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
429 | public enum XMLDeserializationError: Error, CustomStringConvertible {
430 | case ImplementationIsMissing(method: String)
431 | case NodeIsInvalid(node: XMLIndexer)
| `- warning: associated value 'NodeIsInvalid(node:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLIndexer'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:456:13: note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
454 |
455 | /// Returned from SWXMLHash, allows easy element lookup into XML data.
456 | public enum XMLIndexer: Sequence {
| `- note: consider making enum 'XMLIndexer' conform to the 'Sendable' protocol
457 | case element(XMLElement)
458 | case List([XMLElement])
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:433:10: warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
431 | case NodeIsInvalid(node: XMLIndexer)
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
| `- warning: associated value 'TypeConversionFailed(type:element:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:434:10: warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
432 | case NodeHasNoValue
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
| `- warning: associated value 'AttributeDoesNotExist(element:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLElement'; this is an error in the Swift 6 language mode
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
436 |
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:738:14: note: class 'XMLElement' does not conform to the 'Sendable' protocol
736 |
737 | /// Models an XML element, including name, text and attributes
738 | public class XMLElement: XMLContent {
| `- note: class 'XMLElement' does not conform to the 'Sendable' protocol
739 | /// The name of the element
740 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash+TypeConversion.swift:435:10: warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
433 | case TypeConversionFailed(type: String, element: XMLElement)
434 | case AttributeDoesNotExist(element: XMLElement, attribute: String)
435 | case AttributeDeserializationFailed(type: String, attribute: XMLAttribute)
| `- warning: associated value 'AttributeDeserializationFailed(type:attribute:)' of 'Sendable'-conforming enum 'XMLDeserializationError' has non-sendable type 'XMLAttribute'; this is an error in the Swift 6 language mode
436 |
437 | /// The text description for the error thrown
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:728:15: note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
726 | }
727 |
728 | public struct XMLAttribute {
| `- note: consider making struct 'XMLAttribute' conform to the 'Sendable' protocol
729 | public let name: String
730 | public let text: String
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer/XML/Deserialization/SWXMLHash.swift:451:10: warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
449 | case Key(key: String)
450 | case Index(idx: Int)
451 | case Init(instance: AnyObject)
| `- warning: associated value 'Init(instance:)' of 'Sendable'-conforming enum 'IndexingError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
452 | case Error
453 | }
[323/329] Compiling Generator StyleGenerator.swift
[324/329] Emitting module Generator
[325/329] Compiling Generator Generator.swift
[326/329] Compiling Generator UIGenerator.swift
<unknown>:0: note: 'targeted(target:targetAnchor:multiplier:constant:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/Generator/UIGenerator.swift:314:24: warning: enum case 'targeted' has 4 associated values; matching them as a tuple is deprecated
312 |
313 | switch constraint.type {
314 | case .targeted(let targetDefinition):
| `- warning: enum case 'targeted' has 4 associated values; matching them as a tuple is deprecated
315 | let target: String
316 | switch targetDefinition.target {
<unknown>:0: note: 'targeted(target:targetAnchor:multiplier:constant:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/Generator/UIGenerator.swift:344:27: warning: enum case 'targeted' has 4 associated values; matching them as a tuple is deprecated
342 | constraintLine += ")"
343 |
344 | if case .targeted(let targetDefinition) = constraint.type {
| `- warning: enum case 'targeted' has 4 associated values; matching them as a tuple is deprecated
345 | if targetDefinition.constant != 0 {
346 | constraintLine += ".offset(\(targetDefinition.constant))"
[327/343] Compiling reactant_ui XSDSimpleType.swift
[328/343] Compiling reactant_ui XSDCommand.swift
[329/344] Compiling reactant_ui XSDResolver.swift
[330/344] Compiling reactant_ui XSDElement.swift
[331/344] Compiling reactant_ui XSDFile.swift
[332/344] Compiling reactant_ui XSDComplexType.swift
[333/344] Compiling reactant_ui XSDComponentRootElement.swift
[334/344] Compiling reactant_ui XSDGroup.swift
[335/344] Compiling reactant_ui XSDSerializer.swift
[336/344] Compiling reactant_ui XSDAttribute.swift
[337/344] Compiling reactant_ui XSDAttributeGroup.swift
[338/344] Compiling reactant_ui main.swift
[339/344] Compiling reactant_ui GenerateCommand.swift
[340/344] Compiling reactant_ui Array+Variations.swift
[341/344] Emitting module reactant_ui
[341/344] Write Objects.LinkFileList
[342/344] Linking reactant-ui
[343/344] Applying reactant-ui
Build complete! (33.64s)
Build complete.
{
"dependencies" : [
{
"identity" : "aexml",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tadija/AEXML.git"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/XcodeProj.git"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "5.3.3",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI"
}
],
"manifest_display_name" : "ReactantUI",
"name" : "ReactantUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "reactant-ui",
"targets" : [
"reactant-ui"
],
"type" : {
"executable" : null
}
},
{
"name" : "Common",
"targets" : [
"Common"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Tokenizer",
"targets" : [
"Tokenizer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Generator",
"targets" : [
"Generator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "reactant_ui",
"module_type" : "SwiftTarget",
"name" : "reactant-ui",
"path" : "Sources/reactant-ui",
"product_memberships" : [
"reactant-ui"
],
"sources" : [
"GenerateCommand.swift",
"XSD/Array+Variations.swift",
"XSD/XSDAttribute.swift",
"XSD/XSDAttributeGroup.swift",
"XSD/XSDComplexType.swift",
"XSD/XSDComponentRootElement.swift",
"XSD/XSDElement.swift",
"XSD/XSDFile.swift",
"XSD/XSDGroup.swift",
"XSD/XSDResolver.swift",
"XSD/XSDSerializer.swift",
"XSD/XSDSimpleType.swift",
"XSDCommand.swift",
"main.swift"
],
"target_dependencies" : [
"Tokenizer",
"Generator"
],
"type" : "executable"
},
{
"c99name" : "Tokenizer",
"module_type" : "SwiftTarget",
"name" : "Tokenizer",
"path" : "Sources/Tokenizer",
"product_memberships" : [
"reactant-ui",
"Tokenizer",
"Generator"
],
"sources" : [
"Contexts/ComponentContext.swift",
"Contexts/DataContext.swift",
"Contexts/ElementContext.swift",
"Contexts/GlobalContext.swift",
"Contexts/PropertyContext.swift",
"Contexts/StyleGroupContext.swift",
"Contexts/SupportedPropertyTypeContext.swift",
"Elements/ComponentDefinition.swift",
"Elements/Element+Mapping.swift",
"Elements/Implementation/ActivityIndicatorElement.swift",
"Elements/Implementation/AttributedText.swift",
"Elements/Implementation/Button.swift",
"Elements/Implementation/ComponentReference.swift",
"Elements/Implementation/Container.swift",
"Elements/Implementation/DatePicker.swift",
"Elements/Implementation/ImageView.swift",
"Elements/Implementation/Label.swift",
"Elements/Implementation/MapView.swift",
"Elements/Implementation/NavigationBar.swift",
"Elements/Implementation/PageControl.swift",
"Elements/Implementation/PickerView.swift",
"Elements/Implementation/ProgressView.swift",
"Elements/Implementation/ScrollView.swift",
"Elements/Implementation/SearchBar.swift",
"Elements/Implementation/SegmentedControl.swift",
"Elements/Implementation/Slider.swift",
"Elements/Implementation/StackView.swift",
"Elements/Implementation/Stepper.swift",
"Elements/Implementation/Switch.swift",
"Elements/Implementation/TabBar.swift",
"Elements/Implementation/TableView/FooterTableView.swift",
"Elements/Implementation/TableView/HeaderTableView.swift",
"Elements/Implementation/TableView/PlainTableView.swift",
"Elements/Implementation/TableView/SimpleTableView.swift",
"Elements/Implementation/TableView/SimulatedSeparatorTableView.swift",
"Elements/Implementation/TableView/TableView.swift",
"Elements/Implementation/TextField.swift",
"Elements/Implementation/TextView.swift",
"Elements/Implementation/Toolbar.swift",
"Elements/Implementation/View.swift",
"Elements/Implementation/VisualEffectView.swift",
"Elements/Implementation/WebView.swift",
"Elements/UIContainer.swift",
"Elements/UIElement.swift",
"Layout/Constraints/Condition.swift",
"Layout/Constraints/ConditionStatement.swift",
"Layout/Constraints/Constraint.swift",
"Layout/Constraints/ConstraintModifier.swift",
"Layout/Constraints/ConstraintPriority.swift",
"Layout/Constraints/ConstraintRelation.swift",
"Layout/Constraints/ConstraintTarget.swift",
"Layout/Constraints/ConstraintType.swift",
"Layout/Constraints/InterfaceState/DimensionType.swift",
"Layout/Constraints/InterfaceState/InterfaceIdiom.swift",
"Layout/Constraints/InterfaceState/InterfaceSizeClass.swift",
"Layout/Constraints/InterfaceState/InterfaceState.swift",
"Layout/Constraints/InterfaceState/SizeClassType.swift",
"Layout/Layout.swift",
"Layout/LayoutAnchor.swift",
"Layout/LayoutAttribute.swift",
"Properties/AssignableProperty.swift",
"Properties/ControlStateProperty.swift",
"Properties/Descriptions/AssignablePropertyDesciption.swift",
"Properties/Descriptions/ControlStatePropertyDescription.swift",
"Properties/Descriptions/ElementAssignablePropertyDescription.swift",
"Properties/Descriptions/ElementControlStatePropertyDescription.swift",
"Properties/Descriptions/MultipleAttributeAssignablePropertyDescription.swift",
"Properties/Descriptions/PropertyDescription.swift",
"Properties/Descriptions/ValuePropertyDescription.swift",
"Properties/ElementAssignableProperty.swift",
"Properties/ElementControlStateProperty.swift",
"Properties/LayerProperties.swift",
"Properties/MultipleAttributeAssignableProperty.swift",
"Properties/ParagraphStyleProperties.swift",
"Properties/Properties.swift",
"Properties/Property.swift",
"Properties/PropertyContainer.swift",
"Properties/PropertyHelper.swift",
"Properties/PropertyMaterializationError.swift",
"Properties/Types/EnumPropertyType.swift",
"Properties/Types/Implementation/Array.swift",
"Properties/Types/Implementation/Bool.swift",
"Properties/Types/Implementation/CGColorPropertyType.swift",
"Properties/Types/Implementation/Color+Names.swift",
"Properties/Types/Implementation/Color.swift",
"Properties/Types/Implementation/ContentMode.swift",
"Properties/Types/Implementation/ControlState.swift",
"Properties/Types/Implementation/Double.swift",
"Properties/Types/Implementation/EdgeInsets.swift",
"Properties/Types/Implementation/Float.swift",
"Properties/Types/Implementation/Font.swift",
"Properties/Types/Implementation/Image.swift",
"Properties/Types/Implementation/Int.swift",
"Properties/Types/Implementation/OptionSetValue.swift",
"Properties/Types/Implementation/ParagraphStyle.swift",
"Properties/Types/Implementation/Point.swift",
"Properties/Types/Implementation/Rect.swift",
"Properties/Types/Implementation/RectEdge.swift",
"Properties/Types/Implementation/Shadow.swift",
"Properties/Types/Implementation/Size.swift",
"Properties/Types/Implementation/SystemFontWeight.swift",
"Properties/Types/Implementation/TextTab.swift",
"Properties/Types/Implementation/Transformations/AffineTransformation.swift",
"Properties/Types/Implementation/Transformations/TransformationModifier.swift",
"Properties/Types/Implementation/Transformations/TransformationParser.swift",
"Properties/Types/Implementation/TransformedText.swift",
"Properties/Types/Implementation/UIColorPropertyType.swift",
"Properties/Types/Implementation/URL.swift",
"Properties/Types/Implementation/UnderlineStyle.swift",
"Properties/Types/Implementation/ViewCollapseAxis.swift",
"Properties/Types/Implementation/ViewSpecific/ActivityIndicatorStyle.swift",
"Properties/Types/Implementation/ViewSpecific/AutocapitalizationType.swift",
"Properties/Types/Implementation/ViewSpecific/AutocorrectionType.swift",
"Properties/Types/Implementation/ViewSpecific/BarStyle.swift",
"Properties/Types/Implementation/ViewSpecific/ControlContentHorizontalAlignment.swift",
"Properties/Types/Implementation/ViewSpecific/ControlContentVerticalAlignment.swift",
"Properties/Types/Implementation/ViewSpecific/DatePickerMode.swift",
"Properties/Types/Implementation/ViewSpecific/KeyboardAppearance.swift",
"Properties/Types/Implementation/ViewSpecific/KeyboardType.swift",
"Properties/Types/Implementation/ViewSpecific/LayoutAlignment.swift",
"Properties/Types/Implementation/ViewSpecific/LayoutAxis.swift",
"Properties/Types/Implementation/ViewSpecific/LayoutDistribution.swift",
"Properties/Types/Implementation/ViewSpecific/LineBreakMode.swift",
"Properties/Types/Implementation/ViewSpecific/MapType.swift",
"Properties/Types/Implementation/ViewSpecific/ProgressViewStyle.swift",
"Properties/Types/Implementation/ViewSpecific/ReturnKeyType.swift",
"Properties/Types/Implementation/ViewSpecific/ScrollViewIndicatorStyle.swift",
"Properties/Types/Implementation/ViewSpecific/SearchBarStyle.swift",
"Properties/Types/Implementation/ViewSpecific/SmartDashesType.swift",
"Properties/Types/Implementation/ViewSpecific/SmartInsertDeleteType.swift",
"Properties/Types/Implementation/ViewSpecific/SmartQuotesType.swift",
"Properties/Types/Implementation/ViewSpecific/SpellCheckingType.swift",
"Properties/Types/Implementation/ViewSpecific/TableViewCellSeparatorInsetReference.swift",
"Properties/Types/Implementation/ViewSpecific/TableViewCellSeparatorStyle.swift",
"Properties/Types/Implementation/ViewSpecific/TextAlignment.swift",
"Properties/Types/Implementation/ViewSpecific/TextBorderStyle.swift",
"Properties/Types/Implementation/ViewSpecific/TextContentType.swift",
"Properties/Types/Implementation/ViewSpecific/TextFieldViewMode.swift",
"Properties/Types/Implementation/ViewSpecific/VisualEffect.swift",
"Properties/Types/Implementation/ViewVisibility.swift",
"Properties/Types/Implementation/WritingDirection.swift",
"Properties/Types/SupportedPropertyType.swift",
"Properties/Types/XSD/BuiltinXSDType.swift",
"Properties/Types/XSD/EnumerationXSDType.swift",
"Properties/Types/XSD/PatternXSDType.swift",
"Properties/Types/XSD/UnionXSDType.swift",
"Properties/Types/XSD/XSDType.swift",
"Properties/ValueProperty.swift",
"Styles/Style.swift",
"Styles/StyleContainer.swift",
"Styles/StyleGroup.swift",
"Templates/Template.swift",
"Themes/ApplicationDescription.swift",
"Util/Array+distinctLast.swift",
"Util/CellWrapper.swift",
"Util/Collection+groupBy.swift",
"Util/ComponentPath.swift",
"Util/Dictionary+Merge.swift",
"Util/Float+CGFloat.swift",
"Util/Logger.swift",
"Util/Parsing/BaseParser.swift",
"Util/Parsing/Implementation/ConditionParser.swift",
"Util/Parsing/Implementation/ConstraintParser.swift",
"Util/Parsing/Implementation/DimensionParser.swift",
"Util/Parsing/Implementation/FontParser.swift",
"Util/Parsing/Implementation/SimpleProcedure.swift",
"Util/Parsing/Implementation/TextParser.swift",
"Util/Parsing/Lexer.swift",
"Util/Parsing/ParseError.swift",
"Util/StringUtils.swift",
"Util/Swift+Compatibility.swift",
"Util/TokenizationError.swift",
"XML/Deserialization/SWXMLHash+TypeConversion.swift",
"XML/Deserialization/SWXMLHash.swift",
"XML/Serialization/Implementation/ComponentDefinition+Serialization.swift",
"XML/Serialization/Implementation/Layout+Serialization.swift",
"XML/Serialization/Implementation/Style+Serialization.swift",
"XML/Serialization/XMLAttributeBuilder.swift",
"XML/Serialization/XMLAttributeSerializable.swift",
"XML/Serialization/XMLElementSerializable.swift",
"XML/Serialization/XMLSerializableAttribute.swift",
"XML/Serialization/XMLSerializableElement.swift",
"XML/Serialization/XMLSerializer.swift",
"XMLElement+Utils.swift"
],
"target_dependencies" : [
"Common"
],
"type" : "library"
},
{
"c99name" : "Generator",
"module_type" : "SwiftTarget",
"name" : "Generator",
"path" : "Sources/Generator",
"product_dependencies" : [
"XcodeProj",
"SwiftCLI",
"AEXML"
],
"product_memberships" : [
"reactant-ui",
"Generator"
],
"sources" : [
"Generator.swift",
"StyleGenerator.swift",
"UIGenerator.swift"
],
"target_dependencies" : [
"Tokenizer"
],
"type" : "library"
},
{
"c99name" : "Common",
"module_type" : "SwiftTarget",
"name" : "Common",
"path" : "Sources/Common",
"product_memberships" : [
"reactant-ui",
"Common",
"Tokenizer",
"Generator"
],
"sources" : [
"UITraitHelper.swift",
"ViewOrientation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.