Build Information
Successful build of SwiftSoup, reference 2.8.8 (aa85ee
), with Swift 6.1 for Linux on 11 Jun 2025 21:00:33 UTC.
Swift 6 data race errors: 75
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[51/63] Compiling SwiftSoup Entities.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[52/63] Compiling SwiftSoup Evaluator.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[53/63] Compiling SwiftSoup Exception.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[54/63] Compiling SwiftSoup FormElement.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[55/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/Element.swift:1176:13: warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1174 | public func classNames() throws -> OrderedSet<String> {
1175 | let utf8ClassName = try classNameUTF8()
1176 | var classNames = OrderedSet<String>()
| `- warning: variable 'classNames' was never mutated; consider changing to 'let' constant
1177 | var currentStartIndex: Int? = nil
1178 |
/host/spi-builder-workspace/Sources/Entities.swift:32:27: warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
| |- warning: static property 'xhtml' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xhtml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
/host/spi-builder-workspace/Sources/Entities.swift:34:27: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
32 | public static let xhtml: EscapeMode = EscapeMode(string: Entities.xhtml, size: 4, id: 0)
33 | /** Default HTML output entities. */
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
/host/spi-builder-workspace/Sources/Entities.swift:36:27: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
27 | private static let spaceString: [UInt8] = [0x20]
28 |
29 | public class EscapeMode: Equatable {
| `- note: class 'EscapeMode' does not conform to the 'Sendable' protocol
30 |
31 | /** Restricted entities suitable for XHTML output: lt, gt, amp, and quot only. */
:
34 | public static let base: EscapeMode = EscapeMode(string: Entities.base, size: 106, id: 1)
35 | /** Complete HTML entities. */
36 | public static let extended: EscapeMode = EscapeMode(string: Entities.full, size: 2125, id: 2)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Entities.EscapeMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'extended' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | fileprivate let value: Int
/host/spi-builder-workspace/Sources/Entities.swift:62:28: warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 |
62 | private static let codeDelims = ParsingStrings([",", ";"])
| |- warning: static property 'codeDelims' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'codeDelims' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | init(string: [UInt8], size: Int, id: Int) {
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/Entities.swift:149:24: warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | }
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
| |- warning: static property 'multipoints' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipoints' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | private static var multipointsLock = MutexLock()
151 |
/host/spi-builder-workspace/Sources/Entities.swift:150:24: warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |
149 | private static var multipoints: [ArraySlice<UInt8>: [UnicodeScalar]] = [:] // name -> multiple character references
150 | private static var multipointsLock = MutexLock()
| |- warning: static property 'multipointsLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'multipointsLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'multipointsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /**
/host/spi-builder-workspace/Sources/Exception.swift:20:10: warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum ExceptionType {
| `- note: consider making enum 'ExceptionType' conform to the 'Sendable' protocol
11 | case IllegalArgumentException
12 | case IOException
:
18 |
19 | public enum Exception: Error {
20 | case Error(type:ExceptionType, Message: String)
| `- warning: associated value 'Error(type:Message:)' of 'Sendable'-conforming enum 'Exception' has non-sendable type 'ExceptionType'; this is an error in the Swift 6 language mode
21 | }
22 |
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:17:20: warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
15 | private enum TagSets {
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
| |- warning: static property 'inScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:18:20: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
16 | // tag searches
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'list' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:19:20: warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let inScope = ParsingStrings(["applet", "caption", "html", "table", "td", "th", "marquee", "object"])
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
| |- warning: static property 'button' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'button' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:20:20: warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let list = ParsingStrings(["ol", "ul"])
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
| |- warning: static property 'tableScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:21:20: warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let button = ParsingStrings(["button"])
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
| |- warning: static property 'selectScope' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'selectScope' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:22:20: warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let tableScope = ParsingStrings(["html", "table"])
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
| |- warning: static property 'endTags' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'endTags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:23:20: warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let selectScope = ParsingStrings(["optgroup", "option"])
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
| |- warning: static property 'titleTextarea' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'titleTextarea' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:24:20: warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let endTags = ParsingStrings(["dd", "dt", "li", "option", "optgroup", "p", "rp", "rt"])
23 | static let titleTextarea = ParsingStrings(["title", "textarea"])
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
| |- warning: static property 'frames' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'frames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
/host/spi-builder-workspace/Sources/HtmlTreeBuilder.swift:26:20: warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
24 | static let frames = ParsingStrings(["iframe", "noembed", "noframes", "style", "xmp"])
25 |
26 | static let special = ParsingStrings(["address", "applet", "area", "article", "aside", "base", "basefont", "bgsound",
| |- warning: static property 'special' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'special' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | "blockquote", "body", "br", "button", "caption", "center", "col", "colgroup", "command", "dd",
28 | "details", "dir", "div", "dl", "dt", "embed", "fieldset", "figcaption", "figure", "footer", "form",
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[56/63] Compiling SwiftSoup ArrayExt.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[57/63] Compiling SwiftSoup Attribute.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[58/63] Compiling SwiftSoup Attributes.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[59/63] Compiling SwiftSoup BinarySearch.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[60/63] Compiling SwiftSoup BooleanAttribute.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[61/63] Compiling SwiftSoup CharacterExt.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[62/63] Compiling SwiftSoup CharacterReader.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
[63/63] Compiling SwiftSoup Cleaner.swift
/host/spi-builder-workspace/Sources/Attribute.swift:14:16: warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// key-value pair.
13 |
14 | static let booleanAttributes = ParsingStrings([
| |- warning: static property 'booleanAttributes' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'booleanAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "allowfullscreen", "async", "autofocus", "checked", "compact", "controls", "declare", "default", "defer",
16 | "disabled", "formnovalidate", "hidden", "inert", "ismap", "itemscope", "multiple", "muted", "nohref",
/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/Attributes.swift:24:23: warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | */
23 | open class Attributes: NSCopying {
24 | public static var dataPrefix: [UInt8] = "data-".utf8Array
| |- warning: static property 'dataPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dataPrefix' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dataPrefix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // Stored by lowercased key, but key case is checked against the copy inside
/host/spi-builder-workspace/Sources/CharacterReader.swift:14:24: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public let end: [UInt8].Index
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
16 |
/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/CharacterReader.swift:15:24: warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let letters = ParsingStrings("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".map { String($0) })
15 | private static let digits = ParsingStrings(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
| |- warning: static property 'digits' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(_ input: [UInt8]) {
/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/CharacterReader.swift:597:23: warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
595 | }
596 |
597 | public static let dataTerminators = ParsingStrings([.Ampersand, .LessThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'dataTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dataTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
598 |
599 | @inlinable
/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/CharacterReader.swift:604:23: warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
602 | }
603 |
604 | public static let tagNameTerminators = ParsingStrings([.BackslashT, .BackslashN, .BackslashR, .BackslashF, .Space, .Slash, .GreaterThan, TokeniserStateVars.nullScalr])
| |- warning: static property 'tagNameTerminators' is not concurrency-safe because non-'Sendable' type 'ParsingStrings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tagNameTerminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 |
606 | @inlinable
/host/spi-builder-workspace/Sources/ParsingStrings.swift:37:15: note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct ParsingStrings: Hashable, Equatable {
| `- note: consider making struct 'ParsingStrings' conform to the 'Sendable' protocol
38 | let multiByteChars: [[UInt8]]
39 | let multiByteCharLengths: [Int]
Build complete! (15.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSoup",
"name" : "SwiftSoup",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftSoup",
"targets" : [
"SwiftSoup"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSoupTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSoupTests",
"path" : "Tests/SwiftSoupTests",
"sources" : [
"AttributeParseTest.swift",
"AttributeTest.swift",
"AttributesTest.swift",
"BuildEntities.swift",
"CharacterReaderTest.swift",
"CleanerTest.swift",
"CssTest.swift",
"DocumentTest.swift",
"DocumentTypeTest.swift",
"ElementTest.swift",
"ElementsTest.swift",
"EntitiesTest.swift",
"FormElementTest.swift",
"HtmlParserTest.swift",
"NodeTest.swift",
"NodeTraversorTest.swift",
"ParseSettingsTest.swift",
"QueryParserTest.swift",
"SelectorTest.swift",
"StringUtilTest.swift",
"TagTest.swift",
"TextNodeTest.swift",
"TextUtil.swift",
"TokenQueueTest.swift",
"XmlTreeBuilderTest.swift"
],
"target_dependencies" : [
"SwiftSoup"
],
"type" : "test"
},
{
"c99name" : "SwiftSoup",
"module_type" : "SwiftTarget",
"name" : "SwiftSoup",
"path" : "Sources",
"product_memberships" : [
"SwiftSoup"
],
"sources" : [
"ArrayExt.swift",
"Attribute.swift",
"Attributes.swift",
"BinarySearch.swift",
"BooleanAttribute.swift",
"CharacterExt.swift",
"CharacterReader.swift",
"Cleaner.swift",
"Collector.swift",
"CombiningEvaluator.swift",
"Comment.swift",
"Connection.swift",
"CssSelector.swift",
"DataNode.swift",
"DataUtil.swift",
"Document.swift",
"DocumentType.swift",
"Element.swift",
"Elements.swift",
"Entities.swift",
"Evaluator.swift",
"Exception.swift",
"FormElement.swift",
"HtmlTreeBuilder.swift",
"HtmlTreeBuilderState.swift",
"HttpStatusException.swift",
"Mutex.swift",
"Node.swift",
"NodeTraversor.swift",
"NodeVisitor.swift",
"OrderedSet.swift",
"ParseError.swift",
"ParseErrorList.swift",
"ParseSettings.swift",
"Parser.swift",
"ParsingStrings.swift",
"Pattern.swift",
"QueryParser.swift",
"SerializationException.swift",
"SimpleDictionary.swift",
"StreamReader.swift",
"String.swift",
"StringBuilder.swift",
"StringUtil.swift",
"StructuralEvaluator.swift",
"SwiftSoup.swift",
"Tag.swift",
"TextNode.swift",
"Token.swift",
"TokenQueue.swift",
"Tokeniser.swift",
"TokeniserState.swift",
"TreeBuilder.swift",
"UTF8Arrays.swift",
"UnfairLock.swift",
"UnicodeScalar.swift",
"Validate.swift",
"Whitelist.swift",
"XmlDeclaration.swift",
"XmlTreeBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.