Build Information
Successful build of SwiftSoup, reference 2.8.7 (bba848
), with Swift 6.0 for Linux on 13 Mar 2025 13:17:03 UTC.
Swift 6 data race errors: 75
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[43/63] Compiling SwiftSoup Element.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[44/63] Compiling SwiftSoup Elements.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[45/63] Compiling SwiftSoup Entities.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[46/63] Compiling SwiftSoup Evaluator.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[47/63] Compiling SwiftSoup Exception.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[48/63] Compiling SwiftSoup FormElement.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[49/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
/host/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 |
/host/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: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** Default HTML output entities. */
35 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/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: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** Complete HTML entities. */
37 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/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: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | fileprivate let value: Int
/host/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: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift: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: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | private static var multipointsLock = MutexLock()
152 |
/host/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: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /**
/host/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 |
/host/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: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let list = ParsingStrings(["ol", "ul"])
20 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let button = ParsingStrings(["button"])
21 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let tableScope = ParsingStrings(["html", "table"])
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let selectScope = ParsingStrings(["optgroup", "option"])
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let titleTextarea = ParsingStrings(["title", "textarea"])
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
26 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift: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: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
29 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/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: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /**
17 | * Preserve both tag and attribute case.
[50/63] Compiling SwiftSoup SimpleDictionary.swift
/host/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] {
/host/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 {
[51/63] Compiling SwiftSoup StreamReader.swift
/host/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] {
/host/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 {
[52/63] Compiling SwiftSoup String.swift
/host/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] {
/host/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 StringBuilder.swift
/host/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] {
/host/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 StringUtil.swift
/host/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] {
/host/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 StructuralEvaluator.swift
/host/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] {
/host/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 SwiftSoup.swift
/host/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] {
/host/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 UTF8Arrays.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[58/63] Compiling SwiftSoup UnfairLock.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[59/63] Compiling SwiftSoup UnicodeScalar.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[60/63] Compiling SwiftSoup Validate.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[61/63] Compiling SwiftSoup Whitelist.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[62/63] Compiling SwiftSoup XmlDeclaration.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
[63/63] Compiling SwiftSoup XmlTreeBuilder.swift
/host/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: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | private let preserveTagCase: Bool
Build complete! (20.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSoup",
"name" : "SwiftSoup",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftSoup",
"targets" : [
"SwiftSoup"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSoupTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSoupTests",
"path" : "Tests/SwiftSoupTests",
"sources" : [
"AttributeParseTest.swift",
"AttributeTest.swift",
"AttributesTest.swift",
"BuildEntities.swift",
"CharacterReaderTest.swift",
"CleanerTest.swift",
"CssTest.swift",
"DocumentTest.swift",
"DocumentTypeTest.swift",
"ElementTest.swift",
"ElementsTest.swift",
"EntitiesTest.swift",
"FormElementTest.swift",
"HtmlParserTest.swift",
"NodeTest.swift",
"NodeTraversorTest.swift",
"ParseSettingsTest.swift",
"QueryParserTest.swift",
"SelectorTest.swift",
"StringUtilTest.swift",
"TagTest.swift",
"TextNodeTest.swift",
"TextUtil.swift",
"TokenQueueTest.swift",
"XmlTreeBuilderTest.swift"
],
"target_dependencies" : [
"SwiftSoup"
],
"type" : "test"
},
{
"c99name" : "SwiftSoup",
"module_type" : "SwiftTarget",
"name" : "SwiftSoup",
"path" : "Sources",
"product_memberships" : [
"SwiftSoup"
],
"sources" : [
"ArrayExt.swift",
"Attribute.swift",
"Attributes.swift",
"BinarySearch.swift",
"BooleanAttribute.swift",
"CharacterExt.swift",
"CharacterReader.swift",
"Cleaner.swift",
"Collector.swift",
"CombiningEvaluator.swift",
"Comment.swift",
"Connection.swift",
"CssSelector.swift",
"DataNode.swift",
"DataUtil.swift",
"Document.swift",
"DocumentType.swift",
"Element.swift",
"Elements.swift",
"Entities.swift",
"Evaluator.swift",
"Exception.swift",
"FormElement.swift",
"HtmlTreeBuilder.swift",
"HtmlTreeBuilderState.swift",
"HttpStatusException.swift",
"Mutex.swift",
"Node.swift",
"NodeTraversor.swift",
"NodeVisitor.swift",
"OrderedSet.swift",
"ParseError.swift",
"ParseErrorList.swift",
"ParseSettings.swift",
"Parser.swift",
"ParsingStrings.swift",
"Pattern.swift",
"QueryParser.swift",
"SerializationException.swift",
"SimpleDictionary.swift",
"StreamReader.swift",
"String.swift",
"StringBuilder.swift",
"StringUtil.swift",
"StructuralEvaluator.swift",
"SwiftSoup.swift",
"Tag.swift",
"TextNode.swift",
"Token.swift",
"TokenQueue.swift",
"Tokeniser.swift",
"TokeniserState.swift",
"TreeBuilder.swift",
"UTF8Arrays.swift",
"UnfairLock.swift",
"UnicodeScalar.swift",
"Validate.swift",
"Whitelist.swift",
"XmlDeclaration.swift",
"XmlTreeBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.