Build Information
Successful build of Kanna, reference master (41c3d2
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 08:59:33 UTC.
Swift 6 data race errors: 49
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tid-kijyun/Kanna.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tid-kijyun/Kanna
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 41c3d28 Merge pull request #270 from tid-kijyun/fix/cocoapods
Cloned https://github.com/tid-kijyun/Kanna.git
Revision (git rev-parse @):
41c3d28ea0eac07e4551b28def9de1ede702e739
SUCCESS checkout https://github.com/tid-kijyun/Kanna.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "kanna",
"name": "Kanna",
"url": "https://github.com/tid-kijyun/Kanna.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kanna",
"dependencies": [
]
}
]
}
Fetching https://github.com/tid-kijyun/Kanna.git
[1/2281] Fetching kanna
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.92s)
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at master (41c3d28)
warning: '.resolve-product-dependencies': dependency 'kanna' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/tid-kijyun/Kanna.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/11] Compiling Kanna libxmlParserOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:42:23: warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
40 | public var rawValue: UInt { value }
41 |
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
| |- warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STRICT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:43:23: warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
41 |
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
| |- warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RECOVER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:44:23: warning: static property 'NODEFDTD' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
| |- warning: static property 'NODEFDTD' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NODEFDTD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:45:23: warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
| |- warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:46:23: warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
| |- warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOWARNING' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:47:23: warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
| |- warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PEDANTIC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:48:23: warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
| |- warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOBLANKS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:49:23: warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
| |- warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONET' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:50:23: warning: static property 'NOIMPLIED' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
| |- warning: static property 'NOIMPLIED' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOIMPLIED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
52 | public static let IGNORE_ENC = Libxml2HTMLParserOptions(HTML_PARSE_IGNORE_ENC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:51:23: warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
| |- warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COMPACT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let IGNORE_ENC = Libxml2HTMLParserOptions(HTML_PARSE_IGNORE_ENC)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:52:23: warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
52 | public static let IGNORE_ENC = Libxml2HTMLParserOptions(HTML_PARSE_IGNORE_ENC)
| |- warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IGNORE_ENC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:69:23: warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
67 | public var rawValue: UInt { value }
68 |
69 | public static let STRICT = Libxml2XMLParserOptions(0)
| |- warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STRICT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:70:23: warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
68 |
69 | public static let STRICT = Libxml2XMLParserOptions(0)
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
| |- warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RECOVER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:71:23: warning: static property 'NOENT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
69 | public static let STRICT = Libxml2XMLParserOptions(0)
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
| |- warning: static property 'NOENT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:72:23: warning: static property 'DTDLOAD' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
| |- warning: static property 'DTDLOAD' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DTDLOAD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:73:23: warning: static property 'DTDATTR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
| |- warning: static property 'DTDATTR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DTDATTR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:74:23: warning: static property 'DTDVALID' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
| |- warning: static property 'DTDVALID' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DTDVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:75:23: warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
| |- warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:76:23: warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
| |- warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOWARNING' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:77:23: warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
| |- warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PEDANTIC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:78:23: warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
| |- warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOBLANKS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:79:23: warning: static property 'SAX1' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
| |- warning: static property 'SAX1' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SAX1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:80:23: warning: static property 'XINCLUDE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
| |- warning: static property 'XINCLUDE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'XINCLUDE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:81:23: warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
| |- warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONET' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:82:23: warning: static property 'NODICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
| |- warning: static property 'NODICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NODICT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:83:23: warning: static property 'NSCLEAN' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
| |- warning: static property 'NSCLEAN' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NSCLEAN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:84:23: warning: static property 'NOCDATA' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
| |- warning: static property 'NOCDATA' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOCDATA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:85:23: warning: static property 'NOXINCNODE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
| |- warning: static property 'NOXINCNODE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOXINCNODE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:86:23: warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
| |- warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COMPACT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:87:23: warning: static property 'OLD10' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
| |- warning: static property 'OLD10' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OLD10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:88:23: warning: static property 'NOBASEFIX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
| |- warning: static property 'NOBASEFIX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOBASEFIX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:89:23: warning: static property 'HUGE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
| |- warning: static property 'HUGE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HUGE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:90:23: warning: static property 'OLDSAX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
| |- warning: static property 'OLDSAX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OLDSAX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
92 | public static let BIG_LINES = Libxml2XMLParserOptions(XML_PARSE_BIG_LINES)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:91:23: warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
| |- warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IGNORE_ENC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let BIG_LINES = Libxml2XMLParserOptions(XML_PARSE_BIG_LINES)
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:92:23: warning: static property 'BIG_LINES' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
92 | public static let BIG_LINES = Libxml2XMLParserOptions(XML_PARSE_BIG_LINES)
| |- warning: static property 'BIG_LINES' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BIG_LINES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[5/11] Compiling Kanna resource_bundle_accessor.swift
[6/11] Compiling Kanna libxmlHTMLNode.swift
[7/11] Compiling Kanna libxmlHTMLDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlHTMLDocument.swift:168:13: warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
166 | let size: UnsafeMutablePointer<Int32>? = nil
167 | defer {
168 | xmlFree(buf)
| `- warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | }
170 |
libxml2.xmlFree:1:12: note: var declared here
1 | public var xmlFree: xmlFreeFunc!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlHTMLDocument.swift:263:13: warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
261 | let size: UnsafeMutablePointer<Int32>? = nil
262 | defer {
263 | xmlFree(buf)
| `- warning: reference to var 'xmlFree' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
264 | }
265 |
libxml2.xmlFree:1:12: note: var declared here
1 | public var xmlFree: xmlFreeFunc!
| `- note: var declared here
[8/11] Compiling Kanna CSS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:107:13: warning: var 'regexDict' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 |
106 | private let lock = NSLock()
107 | private var regexDict: [String: AKRegularExpression] = [:]
| |- warning: var 'regexDict' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regexDict' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regexDict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | private func firstMatch(_ pattern: String) -> (String) -> AKTextCheckingResult? {
109 | return { str in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:153:13: warning: let 'matchElement' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
151 | private let escapePattern = "(?:\\\\([!\"#\\$%&\'\\(\\)\\*\\+,\\./:;<=>\\?@\\[\\\\\\]\\^`\\{\\|\\}~]))"
152 | private let escapeRepeatPattern = "\(escapePattern)*"
153 | private let matchElement = firstMatch("^((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)((\\|)((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+))?")
| |- warning: let 'matchElement' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchElement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:154:13: warning: let 'matchClassId' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
152 | private let escapeRepeatPattern = "\(escapePattern)*"
153 | private let matchElement = firstMatch("^((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)((\\|)((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+))?")
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
| |- warning: let 'matchClassId' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchClassId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:155:13: warning: let 'matchAttr1' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
153 | private let matchElement = firstMatch("^((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)((\\|)((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+))?")
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
| |- warning: let 'matchAttr1' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAttr1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:156:13: warning: let 'matchAttr2' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
| |- warning: let 'matchAttr2' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAttr2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:157:13: warning: let 'matchAttrN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
| |- warning: let 'matchAttrN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAttrN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:158:13: warning: let 'matchPseudo' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
| |- warning: let 'matchPseudo' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchPseudo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:159:13: warning: let 'matchCombinator' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
| |- warning: let 'matchCombinator' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchCombinator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:160:13: warning: let 'matchSubNthChild' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
| |- warning: let 'matchSubNthChild' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubNthChild' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:161:13: warning: let 'matchSubNthChildN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
| |- warning: let 'matchSubNthChildN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubNthChildN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
163 | private let matchSubContains = firstMatch("contains\\([\"\'](.*?)[\"\']\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:162:13: warning: let 'matchSubNthOfType' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
| |- warning: let 'matchSubNthOfType' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubNthOfType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | private let matchSubContains = firstMatch("contains\\([\"\'](.*?)[\"\']\\)")
164 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:163:13: warning: let 'matchSubContains' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
163 | private let matchSubContains = firstMatch("contains\\([\"\'](.*?)[\"\']\\)")
| |- warning: let 'matchSubContains' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubContains' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private func substringWithRangeAtIndex(_ result: AKTextCheckingResult, str: String, at: Int) -> String {
[9/11] Compiling Kanna Deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/Kanna.swift:37:12: warning: let 'kDefaultXmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ParseOption
30 | */
31 | public enum ParseOption {
| `- note: consider making enum 'ParseOption' conform to the 'Sendable' protocol
32 | // libxml2
33 | case xmlParseUseLibxml(Libxml2XMLParserOptions)
:
35 | }
36 |
37 | public let kDefaultXmlParseOption = ParseOption.xmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
| |- warning: let 'kDefaultXmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultXmlParseOption' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public let kDefaultHtmlParseOption = ParseOption.htmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
39 |
[10/11] Emitting module Kanna
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:107:13: warning: var 'regexDict' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
105 |
106 | private let lock = NSLock()
107 | private var regexDict: [String: AKRegularExpression] = [:]
| |- warning: var 'regexDict' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'regexDict' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'regexDict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | private func firstMatch(_ pattern: String) -> (String) -> AKTextCheckingResult? {
109 | return { str in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:153:13: warning: let 'matchElement' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
151 | private let escapePattern = "(?:\\\\([!\"#\\$%&\'\\(\\)\\*\\+,\\./:;<=>\\?@\\[\\\\\\]\\^`\\{\\|\\}~]))"
152 | private let escapeRepeatPattern = "\(escapePattern)*"
153 | private let matchElement = firstMatch("^((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)((\\|)((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+))?")
| |- warning: let 'matchElement' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchElement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:154:13: warning: let 'matchClassId' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
152 | private let escapeRepeatPattern = "\(escapePattern)*"
153 | private let matchElement = firstMatch("^((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)((\\|)((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+))?")
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
| |- warning: let 'matchClassId' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchClassId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:155:13: warning: let 'matchAttr1' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
153 | private let matchElement = firstMatch("^((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)((\\|)((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+))?")
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
| |- warning: let 'matchAttr1' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAttr1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:156:13: warning: let 'matchAttr2' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | private let matchClassId = firstMatch("^([#.])((?:[a-z0-9\\*_-]+\(escapeRepeatPattern))+)")
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
| |- warning: let 'matchAttr2' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAttr2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:157:13: warning: let 'matchAttrN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
155 | private let matchAttr1 = firstMatch("^\\[([^\\]]*)\\]")
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
| |- warning: let 'matchAttrN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchAttrN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:158:13: warning: let 'matchPseudo' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
156 | private let matchAttr2 = firstMatch("^\\[\\s*([^~\\|\\^\\$\\*=\\s]+)\\s*([~\\|\\^\\$\\*]?=)\\s*(.*)\\s*\\]")
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
| |- warning: let 'matchPseudo' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchPseudo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:159:13: warning: let 'matchCombinator' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
157 | private let matchAttrN = firstMatch("^:not\\((.*?\\)?)\\)")
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
| |- warning: let 'matchCombinator' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchCombinator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:160:13: warning: let 'matchSubNthChild' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
158 | private let matchPseudo = firstMatch("^:([\'\"()a-z0-9_+-]+)")
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
| |- warning: let 'matchSubNthChild' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubNthChild' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:161:13: warning: let 'matchSubNthChildN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
159 | private let matchCombinator = firstMatch("^\\s*([\\s>+~,])\\s*")
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
| |- warning: let 'matchSubNthChildN' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubNthChildN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
163 | private let matchSubContains = firstMatch("contains\\([\"\'](.*?)[\"\']\\)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:162:13: warning: let 'matchSubNthOfType' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
160 | private let matchSubNthChild = firstMatch("^(nth-child|nth-last-child)\\(\\s*(odd|even|\\d+)\\s*\\)")
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
| |- warning: let 'matchSubNthOfType' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubNthOfType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | private let matchSubContains = firstMatch("contains\\([\"\'](.*?)[\"\']\\)")
164 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/CSS.swift:163:13: warning: let 'matchSubContains' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
161 | private let matchSubNthChildN = firstMatch("^(nth-child|nth-last-child)\\(\\s*(-?\\d*)n(\\+\\d+)?\\s*\\)")
162 | private let matchSubNthOfType = firstMatch("nth-of-type\\((odd|even|\\d+)\\)")
163 | private let matchSubContains = firstMatch("contains\\([\"\'](.*?)[\"\']\\)")
| |- warning: let 'matchSubContains' is not concurrency-safe because non-'Sendable' type '(String) -> AKTextCheckingResult?' (aka '(String) -> Optional<NSTextCheckingResult>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchSubContains' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private func substringWithRangeAtIndex(_ result: AKTextCheckingResult, str: String, at: Int) -> String {
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/Kanna.swift:37:12: warning: let 'kDefaultXmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ParseOption
30 | */
31 | public enum ParseOption {
| `- note: consider making enum 'ParseOption' conform to the 'Sendable' protocol
32 | // libxml2
33 | case xmlParseUseLibxml(Libxml2XMLParserOptions)
:
35 | }
36 |
37 | public let kDefaultXmlParseOption = ParseOption.xmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
| |- warning: let 'kDefaultXmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultXmlParseOption' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public let kDefaultHtmlParseOption = ParseOption.htmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:70:23: warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
68 |
69 | public static let STRICT = Libxml2XMLParserOptions(0)
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
| |- warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RECOVER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:75:23: warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
| |- warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:76:23: warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
| |- warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOWARNING' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/Kanna.swift:38:12: warning: let 'kDefaultHtmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ParseOption
30 | */
31 | public enum ParseOption {
| `- note: consider making enum 'ParseOption' conform to the 'Sendable' protocol
32 | // libxml2
33 | case xmlParseUseLibxml(Libxml2XMLParserOptions)
:
36 |
37 | public let kDefaultXmlParseOption = ParseOption.xmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
38 | public let kDefaultHtmlParseOption = ParseOption.htmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
| |- warning: let 'kDefaultHtmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultHtmlParseOption' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public enum ParseError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:43:23: warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
41 |
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
| |- warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RECOVER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:45:23: warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
| |- warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:46:23: warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
| |- warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOWARNING' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:42:23: warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
40 | public var rawValue: UInt { value }
41 |
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
| |- warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STRICT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:44:23: warning: static property 'NODEFDTD' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
| |- warning: static property 'NODEFDTD' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NODEFDTD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:47:23: warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
| |- warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PEDANTIC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:48:23: warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
| |- warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOBLANKS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:49:23: warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
| |- warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONET' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:50:23: warning: static property 'NOIMPLIED' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
| |- warning: static property 'NOIMPLIED' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOIMPLIED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
52 | public static let IGNORE_ENC = Libxml2HTMLParserOptions(HTML_PARSE_IGNORE_ENC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:51:23: warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
49 | public static let NONET = Libxml2HTMLParserOptions(HTML_PARSE_NONET)
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
| |- warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COMPACT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let IGNORE_ENC = Libxml2HTMLParserOptions(HTML_PARSE_IGNORE_ENC)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:52:23: warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
50 | public static let NOIMPLIED = Libxml2HTMLParserOptions(HTML_PARSE_NOIMPLIED)
51 | public static let COMPACT = Libxml2HTMLParserOptions(HTML_PARSE_COMPACT)
52 | public static let IGNORE_ENC = Libxml2HTMLParserOptions(HTML_PARSE_IGNORE_ENC)
| |- warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IGNORE_ENC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:69:23: warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
67 | public var rawValue: UInt { value }
68 |
69 | public static let STRICT = Libxml2XMLParserOptions(0)
| |- warning: static property 'STRICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STRICT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:71:23: warning: static property 'NOENT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
69 | public static let STRICT = Libxml2XMLParserOptions(0)
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
| |- warning: static property 'NOENT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:72:23: warning: static property 'DTDLOAD' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
| |- warning: static property 'DTDLOAD' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DTDLOAD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:73:23: warning: static property 'DTDATTR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
| |- warning: static property 'DTDATTR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DTDATTR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:74:23: warning: static property 'DTDVALID' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
| |- warning: static property 'DTDVALID' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DTDVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:77:23: warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
| |- warning: static property 'PEDANTIC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PEDANTIC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:78:23: warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
| |- warning: static property 'NOBLANKS' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOBLANKS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:79:23: warning: static property 'SAX1' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
| |- warning: static property 'SAX1' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SAX1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:80:23: warning: static property 'XINCLUDE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
| |- warning: static property 'XINCLUDE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'XINCLUDE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:81:23: warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
79 | public static let SAX1 = Libxml2XMLParserOptions(XML_PARSE_SAX1)
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
| |- warning: static property 'NONET' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NONET' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:82:23: warning: static property 'NODICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
80 | public static let XINCLUDE = Libxml2XMLParserOptions(XML_PARSE_XINCLUDE)
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
| |- warning: static property 'NODICT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NODICT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:83:23: warning: static property 'NSCLEAN' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
81 | public static let NONET = Libxml2XMLParserOptions(XML_PARSE_NONET)
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
| |- warning: static property 'NSCLEAN' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NSCLEAN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:84:23: warning: static property 'NOCDATA' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
82 | public static let NODICT = Libxml2XMLParserOptions(XML_PARSE_NODICT)
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
| |- warning: static property 'NOCDATA' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOCDATA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:85:23: warning: static property 'NOXINCNODE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
83 | public static let NSCLEAN = Libxml2XMLParserOptions(XML_PARSE_NSCLEAN)
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
| |- warning: static property 'NOXINCNODE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOXINCNODE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:86:23: warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
84 | public static let NOCDATA = Libxml2XMLParserOptions(XML_PARSE_NOCDATA)
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
| |- warning: static property 'COMPACT' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COMPACT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:87:23: warning: static property 'OLD10' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
85 | public static let NOXINCNODE = Libxml2XMLParserOptions(XML_PARSE_NOXINCNODE)
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
| |- warning: static property 'OLD10' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OLD10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:88:23: warning: static property 'NOBASEFIX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
86 | public static let COMPACT = Libxml2XMLParserOptions(XML_PARSE_COMPACT)
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
| |- warning: static property 'NOBASEFIX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOBASEFIX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:89:23: warning: static property 'HUGE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
87 | public static let OLD10 = Libxml2XMLParserOptions(XML_PARSE_OLD10)
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
| |- warning: static property 'HUGE' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HUGE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:90:23: warning: static property 'OLDSAX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
88 | public static let NOBASEFIX = Libxml2XMLParserOptions(XML_PARSE_NOBASEFIX)
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
| |- warning: static property 'OLDSAX' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OLDSAX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
92 | public static let BIG_LINES = Libxml2XMLParserOptions(XML_PARSE_BIG_LINES)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:91:23: warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
89 | public static let HUGE = Libxml2XMLParserOptions(XML_PARSE_HUGE)
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
| |- warning: static property 'IGNORE_ENC' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IGNORE_ENC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let BIG_LINES = Libxml2XMLParserOptions(XML_PARSE_BIG_LINES)
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:92:23: warning: static property 'BIG_LINES' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
90 | public static let OLDSAX = Libxml2XMLParserOptions(XML_PARSE_OLDSAX)
91 | public static let IGNORE_ENC = Libxml2XMLParserOptions(XML_PARSE_IGNORE_ENC)
92 | public static let BIG_LINES = Libxml2XMLParserOptions(XML_PARSE_BIG_LINES)
| |- warning: static property 'BIG_LINES' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BIG_LINES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[11/11] Compiling Kanna Kanna.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/Kanna.swift:37:12: warning: let 'kDefaultXmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ParseOption
30 | */
31 | public enum ParseOption {
| `- note: consider making enum 'ParseOption' conform to the 'Sendable' protocol
32 | // libxml2
33 | case xmlParseUseLibxml(Libxml2XMLParserOptions)
:
35 | }
36 |
37 | public let kDefaultXmlParseOption = ParseOption.xmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
| |- warning: let 'kDefaultXmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultXmlParseOption' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public let kDefaultHtmlParseOption = ParseOption.htmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:70:23: warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
68 |
69 | public static let STRICT = Libxml2XMLParserOptions(0)
70 | public static let RECOVER = Libxml2XMLParserOptions(XML_PARSE_RECOVER)
| |- warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RECOVER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let NOENT = Libxml2XMLParserOptions(XML_PARSE_NOENT)
72 | public static let DTDLOAD = Libxml2XMLParserOptions(XML_PARSE_DTDLOAD)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:75:23: warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
73 | public static let DTDATTR = Libxml2XMLParserOptions(XML_PARSE_DTDATTR)
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
| |- warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:76:23: warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
56 | Libxml2XMLParserOptions
57 | */
58 | public struct Libxml2XMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2XMLParserOptions' conform to the 'Sendable' protocol
59 | public typealias RawValue = UInt
60 | private var value: UInt = 0
:
74 | public static let DTDVALID = Libxml2XMLParserOptions(XML_PARSE_DTDVALID)
75 | public static let NOERROR = Libxml2XMLParserOptions(XML_PARSE_NOERROR)
76 | public static let NOWARNING = Libxml2XMLParserOptions(XML_PARSE_NOWARNING)
| |- warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2XMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOWARNING' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let PEDANTIC = Libxml2XMLParserOptions(XML_PARSE_PEDANTIC)
78 | public static let NOBLANKS = Libxml2XMLParserOptions(XML_PARSE_NOBLANKS)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/Kanna.swift:38:12: warning: let 'kDefaultHtmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ParseOption
30 | */
31 | public enum ParseOption {
| `- note: consider making enum 'ParseOption' conform to the 'Sendable' protocol
32 | // libxml2
33 | case xmlParseUseLibxml(Libxml2XMLParserOptions)
:
36 |
37 | public let kDefaultXmlParseOption = ParseOption.xmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
38 | public let kDefaultHtmlParseOption = ParseOption.htmlParseUseLibxml([.RECOVER, .NOERROR, .NOWARNING])
| |- warning: let 'kDefaultHtmlParseOption' is not concurrency-safe because non-'Sendable' type 'ParseOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kDefaultHtmlParseOption' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public enum ParseError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:43:23: warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
41 |
42 | public static let STRICT = Libxml2HTMLParserOptions(0)
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
| |- warning: static property 'RECOVER' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RECOVER' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:45:23: warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
43 | public static let RECOVER = Libxml2HTMLParserOptions(HTML_PARSE_RECOVER)
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
| |- warning: static property 'NOERROR' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOERROR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
/Users/admin/builder/spi-builder-workspace/Sources/Kanna/libxmlParserOption.swift:46:23: warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 | Libxml2HTMLParserOptions
30 | */
31 | public struct Libxml2HTMLParserOptions: OptionSet {
| `- note: consider making struct 'Libxml2HTMLParserOptions' conform to the 'Sendable' protocol
32 | public typealias RawValue = UInt
33 | private var value: UInt = 0
:
44 | public static let NODEFDTD = Libxml2HTMLParserOptions(HTML_PARSE_NODEFDTD)
45 | public static let NOERROR = Libxml2HTMLParserOptions(HTML_PARSE_NOERROR)
46 | public static let NOWARNING = Libxml2HTMLParserOptions(HTML_PARSE_NOWARNING)
| |- warning: static property 'NOWARNING' is not concurrency-safe because non-'Sendable' type 'Libxml2HTMLParserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NOWARNING' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let PEDANTIC = Libxml2HTMLParserOptions(HTML_PARSE_PEDANTIC)
48 | public static let NOBLANKS = Libxml2HTMLParserOptions(HTML_PARSE_NOBLANKS)
Build complete! (10.23s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Kanna",
"name" : "Kanna",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Kanna",
"targets" : [
"Kanna"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "libxml2",
"module_type" : "SystemLibraryTarget",
"name" : "libxml2",
"path" : "Modules",
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "KannaTests",
"module_type" : "SwiftTarget",
"name" : "KannaTests",
"path" : "Tests/KannaTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/libraries.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/pptx-presentation.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/pptx-presentation.xml.rels",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/sample.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/test_HTML4.html",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/test_XML_ExcelWorkbook.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/KannaTests/Data/versions.xml",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Bundle+.swift",
"KannaCSSTests.swift",
"KannaHTMLModifyingTests.swift",
"KannaHTMLTests.swift",
"KannaTutorialsTest.swift",
"KannaXMLModifyingTests.swift",
"KannaXMLTests.swift"
],
"target_dependencies" : [
"Kanna"
],
"type" : "test"
},
{
"c99name" : "Kanna",
"module_type" : "SwiftTarget",
"name" : "Kanna",
"path" : "Sources",
"product_memberships" : [
"Kanna"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Kanna/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Kanna/CSS.swift",
"Kanna/Deprecated.swift",
"Kanna/Kanna.swift",
"Kanna/libxmlHTMLDocument.swift",
"Kanna/libxmlHTMLNode.swift",
"Kanna/libxmlParserOption.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.