Build Information
Successful build of SwiftSoup, reference master (6510a1
), with Swift 6.0 for macOS (SPM) on 26 Mar 2025 22:04:17 UTC.
Swift 6 data race errors: 75
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
39 | let multiByteCharLengths: [Int]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:48:20: warning: static property 'table' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let baseEtc3 = ParsingStrings(["base", "basefont", "bgsound", "link", "meta", "noframes", "script", "style", "title"])
47 | static let headNoscript = ParsingStrings(["head", "noscript"])
48 | static let table = ParsingStrings(["table", "tbody", "tfoot", "thead", "tr"])
| |- warning: static property 'table' 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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | static let tableSections = ParsingStrings(["tbody", "tfoot", "thead"])
50 | static let tableMix = ParsingStrings(["body", "caption", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:49:20: warning: static property 'tableSections' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
47 | static let headNoscript = ParsingStrings(["head", "noscript"])
48 | static let table = ParsingStrings(["table", "tbody", "tfoot", "thead", "tr"])
49 | static let tableSections = ParsingStrings(["tbody", "tfoot", "thead"])
| |- warning: static property 'tableSections' 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: annotate 'tableSections' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | static let tableMix = ParsingStrings(["body", "caption", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
51 | static let tableMix2 = ParsingStrings(["body", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:50:20: warning: static property 'tableMix' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
48 | static let table = ParsingStrings(["table", "tbody", "tfoot", "thead", "tr"])
49 | static let tableSections = ParsingStrings(["tbody", "tfoot", "thead"])
50 | static let tableMix = ParsingStrings(["body", "caption", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
| |- warning: static property 'tableMix' 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: annotate 'tableMix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let tableMix2 = ParsingStrings(["body", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
52 | static let tableMix3 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:51:20: warning: static property 'tableMix2' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
49 | static let tableSections = ParsingStrings(["tbody", "tfoot", "thead"])
50 | static let tableMix = ParsingStrings(["body", "caption", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
51 | static let tableMix2 = ParsingStrings(["body", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
| |- warning: static property 'tableMix2' 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: annotate 'tableMix2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let tableMix3 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead"])
53 | static let tableMix4 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th", "tr"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:52:20: warning: static property 'tableMix3' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
50 | static let tableMix = ParsingStrings(["body", "caption", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
51 | static let tableMix2 = ParsingStrings(["body", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
52 | static let tableMix3 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead"])
| |- warning: static property 'tableMix3' 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: annotate 'tableMix3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let tableMix4 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th", "tr"])
54 | static let tableMix5 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead", "tr"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:53:20: warning: static property 'tableMix4' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let tableMix2 = ParsingStrings(["body", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr"])
52 | static let tableMix3 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead"])
53 | static let tableMix4 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th", "tr"])
| |- warning: static property 'tableMix4' 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: annotate 'tableMix4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let tableMix5 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead", "tr"])
55 | static let tableMix6 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:54:20: warning: static property 'tableMix5' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
52 | static let tableMix3 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead"])
53 | static let tableMix4 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th", "tr"])
54 | static let tableMix5 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead", "tr"])
| |- warning: static property 'tableMix5' 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: annotate 'tableMix5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let tableMix6 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th"])
56 | static let tableMix7 = ParsingStrings(["body", "caption", "col", "colgroup", "html"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:55:20: warning: static property 'tableMix6' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
53 | static let tableMix4 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th", "tr"])
54 | static let tableMix5 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead", "tr"])
55 | static let tableMix6 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th"])
| |- warning: static property 'tableMix6' 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: annotate 'tableMix6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let tableMix7 = ParsingStrings(["body", "caption", "col", "colgroup", "html"])
57 | static let tableMix8 = ParsingStrings(["caption", "table", "tbody", "tfoot", "thead", "tr", "td", "th"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:56:20: warning: static property 'tableMix7' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
54 | static let tableMix5 = ParsingStrings(["caption", "col", "colgroup", "tbody", "tfoot", "thead", "tr"])
55 | static let tableMix6 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th"])
56 | static let tableMix7 = ParsingStrings(["body", "caption", "col", "colgroup", "html"])
| |- warning: static property 'tableMix7' 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: annotate 'tableMix7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let tableMix8 = ParsingStrings(["caption", "table", "tbody", "tfoot", "thead", "tr", "td", "th"])
58 | static let tableRowsAndCols = ParsingStrings(["caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:57:20: warning: static property 'tableMix8' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
55 | static let tableMix6 = ParsingStrings(["body", "caption", "col", "colgroup", "html", "td", "th"])
56 | static let tableMix7 = ParsingStrings(["body", "caption", "col", "colgroup", "html"])
57 | static let tableMix8 = ParsingStrings(["caption", "table", "tbody", "tfoot", "thead", "tr", "td", "th"])
| |- warning: static property 'tableMix8' 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: annotate 'tableMix8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let tableRowsAndCols = ParsingStrings(["caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr"])
59 | static let thTd = ParsingStrings(["th", "td"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:58:20: warning: static property 'tableRowsAndCols' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
56 | static let tableMix7 = ParsingStrings(["body", "caption", "col", "colgroup", "html"])
57 | static let tableMix8 = ParsingStrings(["caption", "table", "tbody", "tfoot", "thead", "tr", "td", "th"])
58 | static let tableRowsAndCols = ParsingStrings(["caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr"])
| |- warning: static property 'tableRowsAndCols' 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: annotate 'tableRowsAndCols' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let thTd = ParsingStrings(["th", "td"])
60 | static let inputKeygenTextarea = ParsingStrings(["input", "keygen", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:59:20: warning: static property 'thTd' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
57 | static let tableMix8 = ParsingStrings(["caption", "table", "tbody", "tfoot", "thead", "tr", "td", "th"])
58 | static let tableRowsAndCols = ParsingStrings(["caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr"])
59 | static let thTd = ParsingStrings(["th", "td"])
| |- warning: static property 'thTd' 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: annotate 'thTd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let inputKeygenTextarea = ParsingStrings(["input", "keygen", "textarea"])
61 | }
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:60:20: warning: static property 'inputKeygenTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
58 | static let tableRowsAndCols = ParsingStrings(["caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr"])
59 | static let thTd = ParsingStrings(["th", "td"])
60 | static let inputKeygenTextarea = ParsingStrings(["input", "keygen", "textarea"])
| |- warning: static property 'inputKeygenTextarea' 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: annotate 'inputKeygenTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | }
62 |
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1547:32: warning: static property 'InBodyStartToHead' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1545 | // was contributing around 10% of parse GC load.
1546 | fileprivate final class Constants {
1547 | fileprivate static let InBodyStartToHead = ParsingStrings(["base", "basefont", "bgsound", "command", "link", "meta", "noframes", "script", "style", "title"])
| |- warning: static property 'InBodyStartToHead' 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: annotate 'InBodyStartToHead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1548 | fileprivate static let InBodyStartPClosers = ParsingStrings(["address", "article", "aside", "blockquote", "center", "details", "dir", "div", "dl",
1549 | "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "menu", "nav", "ol",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1548:32: warning: static property 'InBodyStartPClosers' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1546 | fileprivate final class Constants {
1547 | fileprivate static let InBodyStartToHead = ParsingStrings(["base", "basefont", "bgsound", "command", "link", "meta", "noframes", "script", "style", "title"])
1548 | fileprivate static let InBodyStartPClosers = ParsingStrings(["address", "article", "aside", "blockquote", "center", "details", "dir", "div", "dl",
| |- warning: static property 'InBodyStartPClosers' 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: annotate 'InBodyStartPClosers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1549 | "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "menu", "nav", "ol",
1550 | "p", "section", "summary", "ul"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1551:32: warning: static property 'Headings' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1549 | "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "menu", "nav", "ol",
1550 | "p", "section", "summary", "ul"])
1551 | fileprivate static let Headings = ParsingStrings(["h1", "h2", "h3", "h4", "h5", "h6"])
| |- warning: static property 'Headings' 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: annotate 'Headings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1552 | fileprivate static let InBodyStartPreListing = ParsingStrings(["pre", "listing"])
1553 | fileprivate static let InBodyStartLiBreakers = ParsingStrings(["address", "div", "p"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1552:32: warning: static property 'InBodyStartPreListing' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1550 | "p", "section", "summary", "ul"])
1551 | fileprivate static let Headings = ParsingStrings(["h1", "h2", "h3", "h4", "h5", "h6"])
1552 | fileprivate static let InBodyStartPreListing = ParsingStrings(["pre", "listing"])
| |- warning: static property 'InBodyStartPreListing' 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: annotate 'InBodyStartPreListing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1553 | fileprivate static let InBodyStartLiBreakers = ParsingStrings(["address", "div", "p"])
1554 | fileprivate static let DdDt = ParsingStrings(["dd", "dt"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1553:32: warning: static property 'InBodyStartLiBreakers' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1551 | fileprivate static let Headings = ParsingStrings(["h1", "h2", "h3", "h4", "h5", "h6"])
1552 | fileprivate static let InBodyStartPreListing = ParsingStrings(["pre", "listing"])
1553 | fileprivate static let InBodyStartLiBreakers = ParsingStrings(["address", "div", "p"])
| |- warning: static property 'InBodyStartLiBreakers' 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: annotate 'InBodyStartLiBreakers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1554 | fileprivate static let DdDt = ParsingStrings(["dd", "dt"])
1555 | fileprivate static let Formatters = ParsingStrings(["b", "big", "code", "em", "font", "i", "s", "small", "strike", "strong", "tt", "u"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1554:32: warning: static property 'DdDt' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1552 | fileprivate static let InBodyStartPreListing = ParsingStrings(["pre", "listing"])
1553 | fileprivate static let InBodyStartLiBreakers = ParsingStrings(["address", "div", "p"])
1554 | fileprivate static let DdDt = ParsingStrings(["dd", "dt"])
| |- warning: static property 'DdDt' 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: annotate 'DdDt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1555:32: warning: static property 'Formatters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1553 | fileprivate static let InBodyStartLiBreakers = ParsingStrings(["address", "div", "p"])
1554 | fileprivate static let DdDt = ParsingStrings(["dd", "dt"])
1555 | fileprivate static let Formatters = ParsingStrings(["b", "big", "code", "em", "font", "i", "s", "small", "strike", "strong", "tt", "u"])
| |- warning: static property 'Formatters' 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: annotate 'Formatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1556 | fileprivate static let InBodyStartApplets = ParsingStrings(["applet", "marquee", "object"])
1557 | fileprivate static let InBodyStartEmptyFormatters = ParsingStrings(["area", "br", "embed", "img", "keygen", "wbr"])
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilderState.swift:1556:32: warning: static property 'InBodyStartApplets' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
1554 | fileprivate static let DdDt = ParsingStrings(["dd", "dt"])
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"])
| |- warning: static property 'InBodyStartApplets' 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: annotate 'InBodyStartApplets' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1557 | fileprivate static let InBodyStartEmptyFormatters = ParsingStrings(["area", "br", "embed", "img", "keygen", "wbr"])
1558 | fileprivate static let InBodyStartMedia = ParsingStrings(["param", "source", "track"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyStartEmptyFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1558 | fileprivate static let InBodyStartMedia = ParsingStrings(["param", "source", "track"])
1559 | fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyStartMedia' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1559 | fileprivate static let InBodyStartInputAttribs = ParsingStrings(["name", "action", "prompt"])
1560 | fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyStartInputAttribs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1560 | fileprivate static let InBodyStartOptions = ParsingStrings(["optgroup", "option"])
1561 | fileprivate static let InBodyStartRuby = ParsingStrings(["rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyStartOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyStartRuby' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyStartDrop' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyEndClosers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1564 | "dl", "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "menu",
1565 | "nav", "ol", "pre", "section", "summary", "ul"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyEndAdoptionFormatters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1567 | fileprivate static let InBodyEndTableFosters = ParsingStrings(["table", "tbody", "tfoot", "thead", "tr"])
1568 | }
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'InBodyEndTableFosters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1568 | }
1569 | }
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/Users/admin/builder/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: annotate 'EMPTY_NODES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | /**
[58/63] Compiling SwiftSoup Elements.swift
/Users/admin/builder/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/Users/admin/builder/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/Users/admin/builder/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[59/63] Compiling SwiftSoup Entities.swift
/Users/admin/builder/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/Users/admin/builder/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/Users/admin/builder/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[60/63] Compiling SwiftSoup Evaluator.swift
/Users/admin/builder/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/Users/admin/builder/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/Users/admin/builder/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[61/63] Compiling SwiftSoup Exception.swift
/Users/admin/builder/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/Users/admin/builder/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/Users/admin/builder/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[62/63] Compiling SwiftSoup FormElement.swift
/Users/admin/builder/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/Users/admin/builder/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/Users/admin/builder/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[63/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/Users/admin/builder/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/Users/admin/builder/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/Users/admin/builder/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/Users/admin/builder/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]
/Users/admin/builder/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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
Build complete! (20.71s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSoup",
"name" : "SwiftSoup",
"path" : "/Users/admin/builder/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"
}
Done.