Build Information
Successful build of SwiftSoup, reference 2.8.7 (bba848
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 22:43:24 UTC.
Swift 6 data race errors: 75
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
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 '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
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | 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:24: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
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/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:25: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
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | 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:27: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
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "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]
[24/63] Compiling SwiftSoup Evaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:33: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:35: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:37: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:63: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
61 | }
62 |
63 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | 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:150: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
148 | }
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:151: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
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
151 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:21: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
9 | import Foundation
10 |
11 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
12 | case IllegalArgumentException
13 | case IOException
:
19 |
20 | public enum Exception: Error {
21 | 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18: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
16 | private enum TagSets {
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | 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:19: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
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | 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:20: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
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | 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:21: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
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | 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:22: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
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | 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:23: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
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | 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:24: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
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/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:25: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
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | 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:27: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
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "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]
[25/63] Compiling SwiftSoup Exception.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:33: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:35: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:37: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:63: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
61 | }
62 |
63 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | 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:150: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
148 | }
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:151: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
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
151 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:21: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
9 | import Foundation
10 |
11 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
12 | case IllegalArgumentException
13 | case IOException
:
19 |
20 | public enum Exception: Error {
21 | 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18: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
16 | private enum TagSets {
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | 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:19: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
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | 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:20: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
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | 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:21: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
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | 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:22: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
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | 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:23: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
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | 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:24: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
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/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:25: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
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | 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:27: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
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "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]
[26/63] Compiling SwiftSoup FormElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:33: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:35: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:37: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:63: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
61 | }
62 |
63 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | 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:150: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
148 | }
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:151: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
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
151 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:21: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
9 | import Foundation
10 |
11 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
12 | case IllegalArgumentException
13 | case IOException
:
19 |
20 | public enum Exception: Error {
21 | 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18: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
16 | private enum TagSets {
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | 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:19: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
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | 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:20: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
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | 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:21: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
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | 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:22: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
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | 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:23: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
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | 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:24: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
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/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:25: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
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | 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:27: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
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "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]
[27/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:33: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:35: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
33 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:37: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
28 | private static let spaceString: [UInt8] = [0x20]
29 |
30 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
31 |
32 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:63: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
61 | }
62 |
63 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | 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:150: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
148 | }
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/Users/admin/builder/spi-builder-workspace/Sources/Entities.swift:151: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
149 |
150 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
151 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:21: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
9 | import Foundation
10 |
11 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
12 | case IllegalArgumentException
13 | case IOException
:
19 |
20 | public enum Exception: Error {
21 | 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18: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
16 | private enum TagSets {
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | 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:19: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
17 | // tag searches
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | 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:20: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
18 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | 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:21: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
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | 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:22: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
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | 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:23: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
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | 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:24: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
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/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:25: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
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | 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:27: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
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "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]
[28/63] Compiling SwiftSoup StringBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tag.swift:13:16: warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | open class Tag: Hashable {
12 | // map of known tags
13 | static var tags: Dictionary<[UInt8], Tag> = {
| |- warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | do {
15 | return try Tag.initializeMaps()
[29/63] Compiling SwiftSoup StringUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tag.swift:13:16: warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | open class Tag: Hashable {
12 | // map of known tags
13 | static var tags: Dictionary<[UInt8], Tag> = {
| |- warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | do {
15 | return try Tag.initializeMaps()
[30/63] Compiling SwiftSoup StructuralEvaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tag.swift:13:16: warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | open class Tag: Hashable {
12 | // map of known tags
13 | static var tags: Dictionary<[UInt8], Tag> = {
| |- warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | do {
15 | return try Tag.initializeMaps()
[31/63] Compiling SwiftSoup SwiftSoup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tag.swift:13:16: warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | open class Tag: Hashable {
12 | // map of known tags
13 | static var tags: Dictionary<[UInt8], Tag> = {
| |- warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | do {
15 | return try Tag.initializeMaps()
[32/63] Compiling SwiftSoup Tag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tag.swift:13:16: warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | open class Tag: Hashable {
12 | // map of known tags
13 | static var tags: Dictionary<[UInt8], Tag> = {
| |- warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | do {
15 | return try Tag.initializeMaps()
[33/63] Compiling SwiftSoup TextNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tag.swift:13:16: warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | open class Tag: Hashable {
12 | // map of known tags
13 | static var tags: Dictionary<[UInt8], Tag> = {
| |- warning: static property 'tags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | do {
15 | return try Tag.initializeMaps()
[34/63] Compiling SwiftSoup CssSelector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Element.swift:1177:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1175 | public func classNames() throws -> OrderedSet<String> {
1176 | let utf8ClassName = try classNameUTF8()
1177 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1178 | var currentStartIndex: Int? = nil
1179 |
[35/63] Compiling SwiftSoup DataNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Element.swift:1177:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1175 | public func classNames() throws -> OrderedSet<String> {
1176 | let utf8ClassName = try classNameUTF8()
1177 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1178 | var currentStartIndex: Int? = nil
1179 |
[36/63] Compiling SwiftSoup DataUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/Element.swift:1177:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1175 | public func classNames() throws -> OrderedSet<String> {
1176 | let utf8ClassName = try classNameUTF8()
1177 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1178 | var currentStartIndex: Int? = nil
1179 |
[37/63] Compiling SwiftSoup Document.swift
/Users/admin/builder/spi-builder-workspace/Sources/Element.swift:1177:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1175 | public func classNames() throws -> OrderedSet<String> {
1176 | let utf8ClassName = try classNameUTF8()
1177 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1178 | var currentStartIndex: Int? = nil
1179 |
[38/63] Compiling SwiftSoup DocumentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Element.swift:1177:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1175 | public func classNames() throws -> OrderedSet<String> {
1176 | let utf8ClassName = try classNameUTF8()
1177 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1178 | var currentStartIndex: Int? = nil
1179 |
[39/63] Compiling SwiftSoup Element.swift
/Users/admin/builder/spi-builder-workspace/Sources/Element.swift:1177:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1175 | public func classNames() throws -> OrderedSet<String> {
1176 | let utf8ClassName = try classNameUTF8()
1177 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1178 | var currentStartIndex: Int? = nil
1179 |
[40/63] Compiling SwiftSoup CharacterReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/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]
[41/63] Compiling SwiftSoup Cleaner.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/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]
[42/63] Compiling SwiftSoup Collector.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/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]
[43/63] Compiling SwiftSoup CombiningEvaluator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/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]
[44/63] Compiling SwiftSoup Comment.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/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]
[45/63] Compiling SwiftSoup Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/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]
[46/63] Compiling SwiftSoup ArrayExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Attribute.swift:15:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// key-value pair.
14 |
15 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
17 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:25:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | */
24 | open class Attributes: NSCopying {
25 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // Stored by lowercased key, but key case is checked against the copy inside
[47/63] Compiling SwiftSoup Attribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Attribute.swift:15:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// key-value pair.
14 |
15 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
17 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:25:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | */
24 | open class Attributes: NSCopying {
25 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // Stored by lowercased key, but key case is checked against the copy inside
[48/63] Compiling SwiftSoup Attributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Attribute.swift:15:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// key-value pair.
14 |
15 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
17 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:25:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | */
24 | open class Attributes: NSCopying {
25 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // Stored by lowercased key, but key case is checked against the copy inside
[49/63] Compiling SwiftSoup BinarySearch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Attribute.swift:15:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// key-value pair.
14 |
15 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
17 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:25:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | */
24 | open class Attributes: NSCopying {
25 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // Stored by lowercased key, but key case is checked against the copy inside
[50/63] Compiling SwiftSoup BooleanAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Attribute.swift:15:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// key-value pair.
14 |
15 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
17 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:25:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | */
24 | open class Attributes: NSCopying {
25 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // Stored by lowercased key, but key case is checked against the copy inside
[51/63] Compiling SwiftSoup CharacterExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Attribute.swift:15:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// key-value pair.
14 |
15 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
17 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:25:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | */
24 | open class Attributes: NSCopying {
25 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // Stored by lowercased key, but key case is checked against the copy inside
[52/63] Compiling SwiftSoup Pattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_AB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
235 |
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:234:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:50:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
48 | // TODO: Use @retroactive once supported on Ubuntu (?)
49 | //extension Array: @retroactive Comparable where Element == UInt8 {
50 | extension Array: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
51 | @inline(__always)
52 | public func lowercased() -> [UInt8] {
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:168:1: warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | // TODO: Use @retroactive once supported on Ubuntu (?)
167 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
168 | extension ArraySlice: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
170 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[53/63] Compiling SwiftSoup QueryParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_AB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
235 |
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:234:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:50:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
48 | // TODO: Use @retroactive once supported on Ubuntu (?)
49 | //extension Array: @retroactive Comparable where Element == UInt8 {
50 | extension Array: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
51 | @inline(__always)
52 | public func lowercased() -> [UInt8] {
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:168:1: warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | // TODO: Use @retroactive once supported on Ubuntu (?)
167 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
168 | extension ArraySlice: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
170 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[54/63] Compiling SwiftSoup SerializationException.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_AB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
235 |
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:234:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:50:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
48 | // TODO: Use @retroactive once supported on Ubuntu (?)
49 | //extension Array: @retroactive Comparable where Element == UInt8 {
50 | extension Array: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
51 | @inline(__always)
52 | public func lowercased() -> [UInt8] {
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:168:1: warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | // TODO: Use @retroactive once supported on Ubuntu (?)
167 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
168 | extension ArraySlice: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
170 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[55/63] Compiling SwiftSoup SimpleDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_AB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
235 |
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:234:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:50:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
48 | // TODO: Use @retroactive once supported on Ubuntu (?)
49 | //extension Array: @retroactive Comparable where Element == UInt8 {
50 | extension Array: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
51 | @inline(__always)
52 | public func lowercased() -> [UInt8] {
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:168:1: warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | // TODO: Use @retroactive once supported on Ubuntu (?)
167 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
168 | extension ArraySlice: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
170 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[56/63] Compiling SwiftSoup StreamReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_AB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
235 |
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:234:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:50:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
48 | // TODO: Use @retroactive once supported on Ubuntu (?)
49 | //extension Array: @retroactive Comparable where Element == UInt8 {
50 | extension Array: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
51 | @inline(__always)
52 | public func lowercased() -> [UInt8] {
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:168:1: warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | // TODO: Use @retroactive once supported on Ubuntu (?)
167 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
168 | extension ArraySlice: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
170 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[57/63] Compiling SwiftSoup String.swift
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 |
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_AB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
235 |
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/QueryParser.swift:234:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
232 | //pseudo selectors :first-child, :last-child, :nth-child, ...
233 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
234 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NTH_B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/Users/admin/builder/spi-builder-workspace/Sources/Pattern.swift:11:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
12 | public static let CASE_INSENSITIVE: Int = 0x02
13 | let pattern: String
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:50:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
48 | // TODO: Use @retroactive once supported on Ubuntu (?)
49 | //extension Array: @retroactive Comparable where Element == UInt8 {
50 | extension Array: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
51 | @inline(__always)
52 | public func lowercased() -> [UInt8] {
/Users/admin/builder/spi-builder-workspace/Sources/String.swift:168:1: warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
166 | // TODO: Use @retroactive once supported on Ubuntu (?)
167 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
168 | extension ArraySlice: Comparable where Element == UInt8 {
| |- warning: extension declares a conformance of imported type 'ArraySlice' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
169 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
170 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[58/63] Compiling SwiftSoup OrderedSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:15: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
14 | */
15 | 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: add '@MainActor' to make static property 'htmlDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:19: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
17 | * Preserve both tag and attribute case.
18 | */
19 | 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: add '@MainActor' to make static property 'preserveCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[59/63] Compiling SwiftSoup ParseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:15: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
14 | */
15 | 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: add '@MainActor' to make static property 'htmlDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:19: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
17 | * Preserve both tag and attribute case.
18 | */
19 | 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: add '@MainActor' to make static property 'preserveCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[60/63] Compiling SwiftSoup ParseErrorList.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:15: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
14 | */
15 | 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: add '@MainActor' to make static property 'htmlDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:19: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
17 | * Preserve both tag and attribute case.
18 | */
19 | 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: add '@MainActor' to make static property 'preserveCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[61/63] Compiling SwiftSoup ParseSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:15: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
14 | */
15 | 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: add '@MainActor' to make static property 'htmlDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:19: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
17 | * Preserve both tag and attribute case.
18 | */
19 | 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: add '@MainActor' to make static property 'preserveCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[62/63] Compiling SwiftSoup Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:15: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
14 | */
15 | 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: add '@MainActor' to make static property 'htmlDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:19: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
17 | * Preserve both tag and attribute case.
18 | */
19 | 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: add '@MainActor' to make static property 'preserveCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[63/63] Compiling SwiftSoup ParsingStrings.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:15: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
14 | */
15 | 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: add '@MainActor' to make static property 'htmlDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
/Users/admin/builder/spi-builder-workspace/Sources/ParseSettings.swift:19: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
9 | import Foundation
10 |
11 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
12 | /**
13 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
17 | * Preserve both tag and attribute case.
18 | */
19 | 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: add '@MainActor' to make static property 'preserveCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
Build complete! (6.37s)
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.