Build Information
Successful build of SwiftSoup, reference master (6510a1
), with Swift 6.0 for Linux on 26 Mar 2025 22:03:01 UTC.
Swift 6 data race errors: 75
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.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
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/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:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[38/63] Compiling SwiftSoup Entities.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/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:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[39/63] Compiling SwiftSoup Evaluator.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/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:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[40/63] Compiling SwiftSoup Exception.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/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:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[41/63] Compiling SwiftSoup FormElement.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/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:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[42/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xhtml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeDelims' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'multipointsLock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endTags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'titleTextarea' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'special' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/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:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
[43/63] Compiling SwiftSoup UTF8Arrays.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[44/63] Compiling SwiftSoup UnfairLock.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[45/63] Compiling SwiftSoup UnicodeScalar.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[46/63] Compiling SwiftSoup Validate.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[47/63] Compiling SwiftSoup Whitelist.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[48/63] Compiling SwiftSoup XmlDeclaration.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[49/63] Compiling SwiftSoup XmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
[50/63] Compiling SwiftSoup ParseErrorList.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[51/63] Compiling SwiftSoup ParseSettings.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[52/63] Compiling SwiftSoup Parser.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[53/63] Compiling SwiftSoup ParsingStrings.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[54/63] Compiling SwiftSoup Pattern.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[55/63] Compiling SwiftSoup QueryParser.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[56/63] Compiling SwiftSoup SerializationException.swift
/host/spi-builder-workspace/Sources/ParseSettings.swift:14:23: warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
13 | */
14 | public static let htmlDefault: ParseSettings = ParseSettings(false, false)
| |- warning: static property 'htmlDefault' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /**
16 | * Preserve both tag and attribute case.
/host/spi-builder-workspace/Sources/ParseSettings.swift:18:23: warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | open class ParseSettings {
| `- note: class 'ParseSettings' does not conform to the 'Sendable' protocol
11 | /**
12 | * HTML default settings: both tag and attribute names are lower-cased during parsing.
:
16 | * Preserve both tag and attribute case.
17 | */
18 | public static let preserveCase: ParseSettings = ParseSettings(true, true)
| |- warning: static property 'preserveCase' is not concurrency-safe because non-'Sendable' type 'ParseSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'preserveCase' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private let preserveTagCase: Bool
/host/spi-builder-workspace/Sources/QueryParser.swift:232:24: warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
| |- warning: static property 'NTH_AB' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_AB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
234 |
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
/host/spi-builder-workspace/Sources/QueryParser.swift:233:24: warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
231 | //pseudo selectors :first-child, :last-child, :nth-child, ...
232 | private static let NTH_AB: Pattern = Pattern.compile("((\\+|-)?(\\d+)?)n(\\s*(\\+|-)?\\s*\\d+)?", Pattern.CASE_INSENSITIVE)
233 | private static let NTH_B: Pattern = Pattern.compile("(\\+|-)?(\\d+)")
| |- warning: static property 'NTH_B' is not concurrency-safe because non-'Sendable' type 'Pattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NTH_B' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | private func cssNthChild(_ backwards: Bool, _ ofType: Bool)throws {
/host/spi-builder-workspace/Sources/Pattern.swift:10:15: note: consider making struct 'Pattern' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Pattern {
| `- note: consider making struct 'Pattern' conform to the 'Sendable' protocol
11 | public static let CASE_INSENSITIVE: Int = 0x02
12 | let pattern: String
[57/63] Compiling SwiftSoup SimpleDictionary.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[58/63] Compiling SwiftSoup StreamReader.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[59/63] Compiling SwiftSoup String.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[60/63] Compiling SwiftSoup StringBuilder.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[61/63] Compiling SwiftSoup StringUtil.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[62/63] Compiling SwiftSoup StructuralEvaluator.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
[63/63] Compiling SwiftSoup SwiftSoup.swift
/host/spi-builder-workspace/Sources/String.swift:49: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
47 | // TODO: Use @retroactive once supported on Ubuntu (?)
48 | //extension Array: @retroactive Comparable where Element == UInt8 {
49 | 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
50 | @inline(__always)
51 | public func lowercased() -> [UInt8] {
/host/spi-builder-workspace/Sources/String.swift:167: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
165 | // TODO: Use @retroactive once supported on Ubuntu (?)
166 | //extension ArraySlice: @retroactive Comparable where Element == UInt8 {
167 | 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
168 | public static func < (lhs: ArraySlice<UInt8>, rhs: ArraySlice<UInt8>) -> Bool {
169 | // public static func < (lhs: [UInt8], rhs: [UInt8]) -> Bool {
Build complete! (12.32s)
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.