The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftSoup, reference master (aa85ee), with Swift 6.1 for Linux on 11 Jun 2025 21:01:15 UTC.

Swift 6 data race errors: 75

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1557:32: warning: static property 'InBodyStartEmptyFormatters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1555 |         fileprivate static let Formatters = ParsingStrings(["b", "big", "code", "em", "font", "i", "s", "small", "strike", "strong", "tt", "u"])
1556 |         fileprivate static let InBodyStartApplets = ParsingStrings(["applet", "marquee", "object"])
1557 |         fileprivate static let InBodyStartEmptyFormatters = ParsingStrings(["area", "br", "embed", "img", "keygen", "wbr"])
     |                                |- warning: static property 'InBodyStartEmptyFormatters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyStartEmptyFormatters' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1558 |         fileprivate static let InBodyStartMedia = ParsingStrings(["param", "source", "track"])
1559 |         fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1558:32: warning: static property 'InBodyStartMedia' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1556 |         fileprivate static let InBodyStartApplets = ParsingStrings(["applet", "marquee", "object"])
1557 |         fileprivate static let InBodyStartEmptyFormatters = ParsingStrings(["area", "br", "embed", "img", "keygen", "wbr"])
1558 |         fileprivate static let InBodyStartMedia = ParsingStrings(["param", "source", "track"])
     |                                |- warning: static property 'InBodyStartMedia' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyStartMedia' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1559 |         fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
1560 |         fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1559:32: warning: static property 'InBodyStartInputAttribs' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1557 |         fileprivate static let InBodyStartEmptyFormatters = ParsingStrings(["area", "br", "embed", "img", "keygen", "wbr"])
1558 |         fileprivate static let InBodyStartMedia = ParsingStrings(["param", "source", "track"])
1559 |         fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
     |                                |- warning: static property 'InBodyStartInputAttribs' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyStartInputAttribs' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1560 |         fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
1561 |         fileprivate static let InBodyStartRuby = ParsingStrings(["rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1560:32: warning: static property 'InBodyStartOptions' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1558 |         fileprivate static let InBodyStartMedia = ParsingStrings(["param", "source", "track"])
1559 |         fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
1560 |         fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
     |                                |- warning: static property 'InBodyStartOptions' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyStartOptions' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1561 |         fileprivate static let InBodyStartRuby = ParsingStrings(["rp", "rt"])
1562 |         fileprivate static let InBodyStartDrop = ParsingStrings(["caption", "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th", "thead", "tr"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1561:32: warning: static property 'InBodyStartRuby' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1559 |         fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
1560 |         fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
1561 |         fileprivate static let InBodyStartRuby = ParsingStrings(["rp", "rt"])
     |                                |- warning: static property 'InBodyStartRuby' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyStartRuby' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1562 |         fileprivate static let InBodyStartDrop = ParsingStrings(["caption", "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th", "thead", "tr"])
1563 |         fileprivate static let InBodyEndClosers = ParsingStrings(["address", "article", "aside", "blockquote", "button", "center", "details", "dir", "div",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1562:32: warning: static property 'InBodyStartDrop' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1560 |         fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
1561 |         fileprivate static let InBodyStartRuby = ParsingStrings(["rp", "rt"])
1562 |         fileprivate static let InBodyStartDrop = ParsingStrings(["caption", "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th", "thead", "tr"])
     |                                |- warning: static property 'InBodyStartDrop' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyStartDrop' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1563 |         fileprivate static let InBodyEndClosers = ParsingStrings(["address", "article", "aside", "blockquote", "button", "center", "details", "dir", "div",
1564 |                                                              "dl", "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "menu",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1563:32: warning: static property 'InBodyEndClosers' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1561 |         fileprivate static let InBodyStartRuby = ParsingStrings(["rp", "rt"])
1562 |         fileprivate static let InBodyStartDrop = ParsingStrings(["caption", "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th", "thead", "tr"])
1563 |         fileprivate static let InBodyEndClosers = ParsingStrings(["address", "article", "aside", "blockquote", "button", "center", "details", "dir", "div",
     |                                |- warning: static property 'InBodyEndClosers' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyEndClosers' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1564 |                                                              "dl", "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "menu",
1565 |                                                              "nav", "ol", "pre", "section", "summary", "ul"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1566:32: warning: static property 'InBodyEndAdoptionFormatters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1564 |                                                              "dl", "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "menu",
1565 |                                                              "nav", "ol", "pre", "section", "summary", "ul"])
1566 |         fileprivate static let InBodyEndAdoptionFormatters = ParsingStrings(["a", "b", "big", "code", "em", "font", "i", "nobr", "s", "small", "strike", "strong", "tt", "u"])
     |                                |- warning: static property 'InBodyEndAdoptionFormatters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyEndAdoptionFormatters' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1567 |         fileprivate static let InBodyEndTableFosters = ParsingStrings(["table", "tbody", "tfoot", "thead", "tr"])
1568 |     }
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1567:32: warning: static property 'InBodyEndTableFosters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1565 |                                                              "nav", "ol", "pre", "section", "summary", "ul"])
1566 |         fileprivate static let InBodyEndAdoptionFormatters = ParsingStrings(["a", "b", "big", "code", "em", "font", "i", "nobr", "s", "small", "strike", "strong", "tt", "u"])
1567 |         fileprivate static let InBodyEndTableFosters = ParsingStrings(["table", "tbody", "tfoot", "thead", "tr"])
     |                                |- warning: static property 'InBodyEndTableFosters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: add '@MainActor' to make static property 'InBodyEndTableFosters' part of global actor 'MainActor'
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1568 |     }
1569 | }
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Node.swift:55:24: warning: static property 'EMPTY_NODES' is not concurrency-safe because non-'Sendable' type 'Array<Node>' may have shared mutable state; this is an error in the Swift 6 language mode
 21 | }
 22 |
 23 | open class Node: Equatable, Hashable {
    |            `- note: class 'Node' does not conform to the 'Sendable' protocol
 24 |     var baseUri: [UInt8]?
 25 |     var attributes: Attributes?
    :
 53 |     private static let absCount = abs.count
 54 |     fileprivate static let empty = "".utf8Array
 55 |     private static let EMPTY_NODES: Array<Node> = Array<Node>()
    |                        |- warning: static property 'EMPTY_NODES' is not concurrency-safe because non-'Sendable' type 'Array<Node>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'EMPTY_NODES' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |
 57 |     /**
[56/63] Compiling SwiftSoup DocumentType.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[57/63] Compiling SwiftSoup Element.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[58/63] Compiling SwiftSoup Elements.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[59/63] Compiling SwiftSoup Entities.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[60/63] Compiling SwiftSoup Evaluator.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[61/63] Compiling SwiftSoup Exception.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[62/63] Compiling SwiftSoup FormElement.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
[63/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 |     public func classNames() throws -> OrderedSet<String> {
1175 |         let utf8ClassName = try classNameUTF8()
1176 |         var classNames = OrderedSet<String>()
     |             `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 |         var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
    |                           |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
 32 |         public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
 33 |         /** Default HTML output entities. */
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
    |                           |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
 27 |     private static let spaceString: [UInt8] = [0x20]
 28 |
 29 |     public class EscapeMode: Equatable {
    |                  `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
 30 |
 31 |         /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
    :
 34 |         public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
 35 |         /** Complete HTML entities. */
 36 |         public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
    |                           |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |
 38 |         fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 60 |         }
 61 |
 62 |         private static let codeDelims = ParsingStrings([",", ";"])
    |                            |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |         init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
    |                        |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |     private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 |     private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 |     private static var multipointsLock = MutexLock()
    |                        |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ExceptionType {
   |             `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 |     case IllegalArgumentException
12 |     case IOException
   :
18 |
19 | public enum Exception: Error {
20 |     case Error(type:ExceptionType, Message: String)
   |          `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     private enum TagSets {
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
    |                    |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |         // tag searches
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
    |                    |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |         static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
    |                    |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |         static let list = ParsingStrings(["ol", "ul"])
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
    |                    |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |         static let button = ParsingStrings(["button"])
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
    |                    |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 20 |         static let tableScope = ParsingStrings(["html", "table"])
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
    |                    |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         static let selectScope = ParsingStrings(["optgroup", "option"])
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
    |                    |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |         static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
 23 |         static let titleTextarea = ParsingStrings(["title", "textarea"])
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
    |                    |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |         static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
 25 |
 26 |         static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
    |                    |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |                               "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
 28 |                               "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 35 | }
 36 |
 37 | public struct ParsingStrings: Hashable, Equatable {
    |               `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
 38 |     let multiByteChars: [[UInt8]]
 39 |     let multiByteCharLengths: [Int]
Build complete! (7.77s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftSoup",
  "name" : "SwiftSoup",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSoup",
      "targets" : [
        "SwiftSoup"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSoupTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSoupTests",
      "path" : "Tests/SwiftSoupTests",
      "sources" : [
        "AttributeParseTest.swift",
        "AttributeTest.swift",
        "AttributesTest.swift",
        "BuildEntities.swift",
        "CharacterReaderTest.swift",
        "CleanerTest.swift",
        "CssTest.swift",
        "DocumentTest.swift",
        "DocumentTypeTest.swift",
        "ElementTest.swift",
        "ElementsTest.swift",
        "EntitiesTest.swift",
        "FormElementTest.swift",
        "HtmlParserTest.swift",
        "NodeTest.swift",
        "NodeTraversorTest.swift",
        "ParseSettingsTest.swift",
        "QueryParserTest.swift",
        "SelectorTest.swift",
        "StringUtilTest.swift",
        "TagTest.swift",
        "TextNodeTest.swift",
        "TextUtil.swift",
        "TokenQueueTest.swift",
        "XmlTreeBuilderTest.swift"
      ],
      "target_dependencies" : [
        "SwiftSoup"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSoup",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSoup",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftSoup"
      ],
      "sources" : [
        "ArrayExt.swift",
        "Attribute.swift",
        "Attributes.swift",
        "BinarySearch.swift",
        "BooleanAttribute.swift",
        "CharacterExt.swift",
        "CharacterReader.swift",
        "Cleaner.swift",
        "Collector.swift",
        "CombiningEvaluator.swift",
        "Comment.swift",
        "Connection.swift",
        "CssSelector.swift",
        "DataNode.swift",
        "DataUtil.swift",
        "Document.swift",
        "DocumentType.swift",
        "Element.swift",
        "Elements.swift",
        "Entities.swift",
        "Evaluator.swift",
        "Exception.swift",
        "FormElement.swift",
        "HtmlTreeBuilder.swift",
        "HtmlTreeBuilderState.swift",
        "HttpStatusException.swift",
        "Mutex.swift",
        "Node.swift",
        "NodeTraversor.swift",
        "NodeVisitor.swift",
        "OrderedSet.swift",
        "ParseError.swift",
        "ParseErrorList.swift",
        "ParseSettings.swift",
        "Parser.swift",
        "ParsingStrings.swift",
        "Pattern.swift",
        "QueryParser.swift",
        "SerializationException.swift",
        "SimpleDictionary.swift",
        "StreamReader.swift",
        "String.swift",
        "StringBuilder.swift",
        "StringUtil.swift",
        "StructuralEvaluator.swift",
        "SwiftSoup.swift",
        "Tag.swift",
        "TextNode.swift",
        "Token.swift",
        "TokenQueue.swift",
        "Tokeniser.swift",
        "TokeniserState.swift",
        "TreeBuilder.swift",
        "UTF8Arrays.swift",
        "UnfairLock.swift",
        "UnicodeScalar.swift",
        "Validate.swift",
        "Whitelist.swift",
        "XmlDeclaration.swift",
        "XmlTreeBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.