Build Information
Successful build of SwiftRichString, reference 4.0.0-alpha-6 (a9f74e
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:35:02 UTC.
Swift 6 data race errors: 29
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/malcommac/SwiftRichString.git
Reference: 4.0.0-alpha-6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftRichString
* tag 4.0.0-alpha-6 -> FETCH_HEAD
HEAD is now at a9f74e9 fix applying base style to xml string
Cloned https://github.com/malcommac/SwiftRichString.git
Revision (git rev-parse @):
a9f74e9728a51f9caf12f85d252dba2759fde6c5
SUCCESS checkout https://github.com/malcommac/SwiftRichString.git at 4.0.0-alpha-6
========================================
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": "swiftrichstring",
"name": "SwiftRichString",
"url": "https://github.com/malcommac/SwiftRichString.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRichString",
"dependencies": [
]
}
]
}
Fetching https://github.com/malcommac/SwiftRichString.git
[1/2762] Fetching swiftrichstring
Fetched https://github.com/malcommac/SwiftRichString.git from cache (1.17s)
Creating working copy for https://github.com/malcommac/SwiftRichString.git
Working copy of https://github.com/malcommac/SwiftRichString.git resolved at 4.0.0-alpha-6 (a9f74e9)
warning: '.resolve-product-dependencies': dependency 'swiftrichstring' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/malcommac/SwiftRichString.git
https://github.com/malcommac/SwiftRichString.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftRichString",
"name" : "SwiftRichString",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftRichString",
"targets" : [
"SwiftRichString"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftRichStringTests",
"module_type" : "SwiftTarget",
"name" : "SwiftRichStringTests",
"path" : "Tests/SwiftRichStringTests",
"sources" : [
"SwiftRichStringTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftRichString"
],
"type" : "test"
},
{
"c99name" : "SwiftRichString",
"module_type" : "SwiftTarget",
"name" : "SwiftRichString",
"path" : "Sources/SwiftRichString",
"product_memberships" : [
"SwiftRichString"
],
"sources" : [
"Attributes/ColorConvertible.swift",
"Attributes/CommonsAttributes.swift",
"Attributes/DynamicText.swift",
"Attributes/FontConvertible.swift",
"Attributes/FontInfoAttribute.swift",
"Attributes/FontStyle.swift",
"Attributes/TextTransform.swift",
"Attributes/URLRepresentable.swift",
"Extensions/AttributedString+Attachments.swift",
"Extensions/AttributedString+Extension.swift",
"Extensions/AttributedString+FunctionBuilder.swift",
"Extensions/String+Extension.swift",
"Extensions/String+Subscript.swift",
"Extensions/SystemFonts.swift",
"Extensions/UIKit+Extras.swift",
"Style/StyleDecorator.swift",
"Style/Styles/Style.swift",
"Style/Styles/StyleProtocol.swift",
"Style/Styles/StyleRegEx.swift",
"Style/Styles/StyleXML.swift",
"Style/StylesManager.swift",
"Support/AssociatedValues.swift",
"Support/AsyncTextAttachment.swift",
"Support/Compatibility.swift",
"Support/Extensions.swift",
"Support/OrderedDictionary.swift",
"Support/XMLDynamicAttributesResolver.swift",
"Support/XMLStringBuilder.swift",
"XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift",
"XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift",
"XMLParser/HTMLSAXParser/HTMLSAXParser.swift"
],
"target_dependencies" : [
"CHTMLSAXParser"
],
"type" : "library"
},
{
"c99name" : "CHTMLSAXParser",
"module_type" : "ClangTarget",
"name" : "CHTMLSAXParser",
"path" : "Sources/CHTMLSAXParser",
"product_memberships" : [
"SwiftRichString"
],
"sources" : [
"CHTMLSAXParser.c"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Compiling CHTMLSAXParser CHTMLSAXParser.c
[4/32] Emitting module SwiftRichString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:135:20: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
134 | /// The font typestyle is italic
135 | public static let italic = TraitVariant(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// The font typestyle is boldface
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:138:20: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
136 |
137 | /// The font typestyle is boldface
138 | public static let bold = TraitVariant(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:141:20: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
141 | public static let expanded = TraitVariant(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'expanded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:144:20: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
144 | public static let condensed = TraitVariant(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'condensed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// The font uses vertical glyph variants and metrics.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:147:20: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
145 |
146 | /// The font uses vertical glyph variants and metrics.
147 | public static let vertical = TraitVariant(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:150:20: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
150 | public static let uiOptimized = TraitVariant(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uiOptimized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// The font use a tigher line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:153:20: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
151 |
152 | /// The font use a tigher line spacing variant.
153 | public static let tightLineSpacing = TraitVariant(rawValue: 1 << 6)
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// The font use a loose line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:156:20: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
154 |
155 | /// The font use a loose line spacing variant.
156 | public static let looseLineSpacing = TraitVariant(rawValue: 1 << 7)
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'looseLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | return featureSettings.map {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
| `- note: struct declared here
55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontStyle.swift:42:21: warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public struct FontStyle {
41 |
42 | private static var DefaultFont = Font.systemFont(ofSize: 12.0)
| |- warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'DefaultFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Font object
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:28:12: warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Shortcut to singleton of the `StylesManager`
28 | public let Styles: StylesManager = StylesManager.shared
| |- warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Styles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:35:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
35 | public static let shared: StylesManager = StylesManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// You can defeer the creation of a style to the first time its required.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Support/XMLStringBuilder.swift:48:23: warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // MARK: - XMLParsingOptions
36 |
37 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
38 | public let rawValue: Int
39 |
:
46 | /// For example if your string contains '&' character parser will break the style.
47 | /// This option is active by default.
48 | public static let escapeString = XMLParsingOptions(rawValue: 2)
| |- warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapeString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:28:24: warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| `- warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | // swiftlint:disable:next identifier_name
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/libxml2/libxml/parser.h:721:8: note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
719 |
720 |
721 | struct _xmlSAXHandler {
| `- note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
722 | internalSubsetSAXFunc internalSubset;
723 | isStandaloneSAXFunc isStandalone;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
21 | import Foundation
22 | #if canImport(CHTMLSAXParser)
23 | import CHTMLSAXParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
24 | #endif
25 |
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| |- note: add '@MainActor' to make static property 'libxmlSAXHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | // swiftlint:disable:next identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:371:9: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
369 | private static let globalErrorHandler: HTMLParserWrappedErrorSAXFunc = {
370 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
371 | htmlparser_global_error_sax_func = {context, message in
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
372 | guard let context = context else {
373 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:385:16: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
383 | handlerContext.handler(handlerContext, .error(message: messageString))
384 | }
385 | return htmlparser_global_error_sax_func
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
386 | }()
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:389:9: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
388 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
389 | htmlparser_global_warning_sax_func = { context, message in
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
390 | guard let context = context else {
391 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:403:16: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
401 | handlerContext.handler(handlerContext, .warning(message: messageString))
402 | }
403 | return htmlparser_global_warning_sax_func
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
404 | }()
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:61:27: warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
59 | }
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
| |- warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recover' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:62:27: warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
| |- warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noDefaultDTD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:63:27: warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
| |- warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:64:27: warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
| |- warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noWarning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:65:27: warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
| |- warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pedantic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:66:27: warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
| |- warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBlanks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:67:27: warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
| |- warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noNetwork' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:68:27: warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
| |- warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noImpliedElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:69:27: warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
| |- warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'compactTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:70:27: warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
| |- warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreEncodingHint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /// Default set of parse options.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:73:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
71 |
72 | /// Default set of parse options.
73 | public static let `default`: ParseOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | .recover,
75 | .noBlanks,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:131:14: warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
82 | public let line: Int
83 | public let column: Int
:
129 |
130 | /// An error occurred during the parsing process.
131 | case parsingFailure(location: Location, message: String)
| `- warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
132 | }
133 |
[5/35] Compiling SwiftRichString SystemFonts.swift
[6/35] Compiling SwiftRichString UIKit+Extras.swift
[7/35] Compiling SwiftRichString StyleDecorator.swift
[8/35] Compiling SwiftRichString EscapeSpecialCharacters.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift:53:21: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
51 | _ loop: inout Bool,
52 | _ bufferGrowthFactor: Double) -> Data? {
53 | return self.withUnsafeBytes { (inputBytes: UnsafePointer<UInt8>) -> Data? in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
54 | let outputBufferCapacity = outputLength
55 | let outputBuffer = UnsafeMutablePointer<UInt8>.allocate(capacity: outputBufferCapacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:28:24: warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| `- warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | // swiftlint:disable:next identifier_name
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/libxml2/libxml/parser.h:721:8: note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
719 |
720 |
721 | struct _xmlSAXHandler {
| `- note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
722 | internalSubsetSAXFunc internalSubset;
723 | isStandaloneSAXFunc isStandalone;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
21 | import Foundation
22 | #if canImport(CHTMLSAXParser)
23 | import CHTMLSAXParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
24 | #endif
25 |
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| |- note: add '@MainActor' to make static property 'libxmlSAXHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | // swiftlint:disable:next identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:371:9: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
369 | private static let globalErrorHandler: HTMLParserWrappedErrorSAXFunc = {
370 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
371 | htmlparser_global_error_sax_func = {context, message in
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
372 | guard let context = context else {
373 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:385:16: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
383 | handlerContext.handler(handlerContext, .error(message: messageString))
384 | }
385 | return htmlparser_global_error_sax_func
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
386 | }()
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:389:9: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
388 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
389 | htmlparser_global_warning_sax_func = { context, message in
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
390 | guard let context = context else {
391 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:403:16: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
401 | handlerContext.handler(handlerContext, .warning(message: messageString))
402 | }
403 | return htmlparser_global_warning_sax_func
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
404 | }()
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:38:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
36 | charEncoding = convert(from: encoding)
37 | } else {
38 | data.withUnsafeBytes { (dataBytes: UnsafePointer<UInt8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
39 | charEncoding = xmlDetectCharEncoding(dataBytes, Int32(dataLength))
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:47:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
45 | }
46 |
47 | try data.withUnsafeBytes { (dataBytes: UnsafePointer<Int8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
48 | let handlerContext = HandlerContext(handler: handler)
49 | let handlerContextPtr = Unmanaged<HandlerContext>.passUnretained(handlerContext).toOpaque()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:61:27: warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
59 | }
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
| |- warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recover' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:62:27: warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
| |- warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noDefaultDTD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:63:27: warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
| |- warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:64:27: warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
| |- warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noWarning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:65:27: warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
| |- warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pedantic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:66:27: warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
| |- warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBlanks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:67:27: warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
| |- warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noNetwork' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:68:27: warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
| |- warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noImpliedElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:69:27: warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
| |- warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'compactTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:70:27: warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
| |- warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreEncodingHint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /// Default set of parse options.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:73:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
71 |
72 | /// Default set of parse options.
73 | public static let `default`: ParseOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | .recover,
75 | .noBlanks,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:131:14: warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
82 | public let line: Int
83 | public let column: Int
:
129 |
130 | /// An error occurred during the parsing process.
131 | case parsingFailure(location: Location, message: String)
| `- warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
132 | }
133 |
[9/35] Compiling SwiftRichString HTMLSAXParser+libxml2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift:53:21: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
51 | _ loop: inout Bool,
52 | _ bufferGrowthFactor: Double) -> Data? {
53 | return self.withUnsafeBytes { (inputBytes: UnsafePointer<UInt8>) -> Data? in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
54 | let outputBufferCapacity = outputLength
55 | let outputBuffer = UnsafeMutablePointer<UInt8>.allocate(capacity: outputBufferCapacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:28:24: warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| `- warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | // swiftlint:disable:next identifier_name
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/libxml2/libxml/parser.h:721:8: note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
719 |
720 |
721 | struct _xmlSAXHandler {
| `- note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
722 | internalSubsetSAXFunc internalSubset;
723 | isStandaloneSAXFunc isStandalone;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
21 | import Foundation
22 | #if canImport(CHTMLSAXParser)
23 | import CHTMLSAXParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
24 | #endif
25 |
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| |- note: add '@MainActor' to make static property 'libxmlSAXHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | // swiftlint:disable:next identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:371:9: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
369 | private static let globalErrorHandler: HTMLParserWrappedErrorSAXFunc = {
370 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
371 | htmlparser_global_error_sax_func = {context, message in
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
372 | guard let context = context else {
373 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:385:16: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
383 | handlerContext.handler(handlerContext, .error(message: messageString))
384 | }
385 | return htmlparser_global_error_sax_func
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
386 | }()
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:389:9: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
388 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
389 | htmlparser_global_warning_sax_func = { context, message in
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
390 | guard let context = context else {
391 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:403:16: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
401 | handlerContext.handler(handlerContext, .warning(message: messageString))
402 | }
403 | return htmlparser_global_warning_sax_func
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
404 | }()
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:38:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
36 | charEncoding = convert(from: encoding)
37 | } else {
38 | data.withUnsafeBytes { (dataBytes: UnsafePointer<UInt8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
39 | charEncoding = xmlDetectCharEncoding(dataBytes, Int32(dataLength))
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:47:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
45 | }
46 |
47 | try data.withUnsafeBytes { (dataBytes: UnsafePointer<Int8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
48 | let handlerContext = HandlerContext(handler: handler)
49 | let handlerContextPtr = Unmanaged<HandlerContext>.passUnretained(handlerContext).toOpaque()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:61:27: warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
59 | }
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
| |- warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recover' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:62:27: warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
| |- warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noDefaultDTD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:63:27: warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
| |- warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:64:27: warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
| |- warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noWarning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:65:27: warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
| |- warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pedantic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:66:27: warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
| |- warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBlanks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:67:27: warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
| |- warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noNetwork' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:68:27: warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
| |- warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noImpliedElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:69:27: warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
| |- warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'compactTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:70:27: warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
| |- warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreEncodingHint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /// Default set of parse options.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:73:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
71 |
72 | /// Default set of parse options.
73 | public static let `default`: ParseOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | .recover,
75 | .noBlanks,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:131:14: warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
82 | public let line: Int
83 | public let column: Int
:
129 |
130 | /// An error occurred during the parsing process.
131 | case parsingFailure(location: Location, message: String)
| `- warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
132 | }
133 |
[10/35] Compiling SwiftRichString HTMLSAXParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift:53:21: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
51 | _ loop: inout Bool,
52 | _ bufferGrowthFactor: Double) -> Data? {
53 | return self.withUnsafeBytes { (inputBytes: UnsafePointer<UInt8>) -> Data? in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
54 | let outputBufferCapacity = outputLength
55 | let outputBuffer = UnsafeMutablePointer<UInt8>.allocate(capacity: outputBufferCapacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:28:24: warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| `- warning: static property 'libxmlSAXHandler' is not concurrency-safe because non-'Sendable' type 'htmlSAXHandler' (aka '_xmlSAXHandler') may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | // swiftlint:disable:next identifier_name
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/libxml2/libxml/parser.h:721:8: note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
719 |
720 |
721 | struct _xmlSAXHandler {
| `- note: struct '_xmlSAXHandler' does not conform to the 'Sendable' protocol
722 | internalSubsetSAXFunc internalSubset;
723 | isStandaloneSAXFunc isStandalone;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
21 | import Foundation
22 | #if canImport(CHTMLSAXParser)
23 | import CHTMLSAXParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'libxml2'
24 | #endif
25 |
26 | internal extension HTMLSAXParser {
27 |
28 | private static let libxmlSAXHandler: htmlSAXHandler = createSAXHandler()
| |- note: add '@MainActor' to make static property 'libxmlSAXHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | // swiftlint:disable:next identifier_name
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:371:9: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
369 | private static let globalErrorHandler: HTMLParserWrappedErrorSAXFunc = {
370 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
371 | htmlparser_global_error_sax_func = {context, message in
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
372 | guard let context = context else {
373 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:385:16: warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
383 | handlerContext.handler(handlerContext, .error(message: messageString))
384 | }
385 | return htmlparser_global_error_sax_func
| `- warning: reference to var 'htmlparser_global_error_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
386 | }()
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:40:38: note: var declared here
38 | This global is only intended to ever be set once and before any parsing has been initiated.
39 | */
40 | extern HTMLParserWrappedErrorSAXFunc htmlparser_global_error_sax_func;
| `- note: var declared here
41 |
42 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:389:9: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
387 | private static let globalWarningHandler: HTMLParserWrappedWarningSAXFunc = {
388 | // We only want to set this global once ever. Regardless of the number of instances of parsers.
389 | htmlparser_global_warning_sax_func = { context, message in
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
390 | guard let context = context else {
391 | return
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:403:16: warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
401 | handlerContext.handler(handlerContext, .warning(message: messageString))
402 | }
403 | return htmlparser_global_warning_sax_func
| `- warning: reference to var 'htmlparser_global_warning_sax_func' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
404 | }()
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/CHTMLSAXParser/include/CHTMLSAXParser.h:51:40: note: var declared here
49 | This global is only intended to ever be set once and before any parsing has been initiated.
50 | */
51 | extern HTMLParserWrappedWarningSAXFunc htmlparser_global_warning_sax_func;
| `- note: var declared here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:38:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
36 | charEncoding = convert(from: encoding)
37 | } else {
38 | data.withUnsafeBytes { (dataBytes: UnsafePointer<UInt8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
39 | charEncoding = xmlDetectCharEncoding(dataBytes, Int32(dataLength))
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift:47:18: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
45 | }
46 |
47 | try data.withUnsafeBytes { (dataBytes: UnsafePointer<Int8>) -> Void in
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
48 | let handlerContext = HandlerContext(handler: handler)
49 | let handlerContextPtr = Unmanaged<HandlerContext>.passUnretained(handlerContext).toOpaque()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:61:27: warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
59 | }
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
| |- warning: static property 'recover' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recover' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:62:27: warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
60 |
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
| |- warning: static property 'noDefaultDTD' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noDefaultDTD' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:63:27: warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
61 | public static let recover = ParseOptions(rawValue: Int(HTML_PARSE_RECOVER.rawValue))
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
| |- warning: static property 'noError' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:64:27: warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
62 | public static let noDefaultDTD = ParseOptions(rawValue: Int(HTML_PARSE_NODEFDTD.rawValue))
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
| |- warning: static property 'noWarning' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noWarning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:65:27: warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
63 | public static let noError = ParseOptions(rawValue: Int(HTML_PARSE_NOERROR.rawValue))
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
| |- warning: static property 'pedantic' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pedantic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:66:27: warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
64 | public static let noWarning = ParseOptions(rawValue: Int(HTML_PARSE_NOWARNING.rawValue))
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
| |- warning: static property 'noBlanks' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBlanks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:67:27: warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
65 | public static let pedantic = ParseOptions(rawValue: Int(HTML_PARSE_PEDANTIC.rawValue))
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
| |- warning: static property 'noNetwork' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noNetwork' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:68:27: warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
66 | public static let noBlanks = ParseOptions(rawValue: Int(HTML_PARSE_NOBLANKS.rawValue))
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
| |- warning: static property 'noImpliedElements' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noImpliedElements' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:69:27: warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
67 | public static let noNetwork = ParseOptions(rawValue: Int(HTML_PARSE_NONET.rawValue))
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
| |- warning: static property 'compactTextNodes' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'compactTextNodes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
71 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:70:27: warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
68 | public static let noImpliedElements = ParseOptions(rawValue: Int(HTML_PARSE_NOIMPLIED.rawValue))
69 | public static let compactTextNodes = ParseOptions(rawValue: Int(HTML_PARSE_COMPACT.rawValue))
70 | public static let ignoreEncodingHint = ParseOptions(rawValue: Int(HTML_PARSE_IGNORE_ENC.rawValue))
| |- warning: static property 'ignoreEncodingHint' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreEncodingHint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /// Default set of parse options.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:73:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
52 | open class HTMLSAXParser {
53 |
54 | public struct ParseOptions: OptionSet {
| `- note: consider making struct 'ParseOptions' conform to the 'Sendable' protocol
55 | public let rawValue: Int
56 |
:
71 |
72 | /// Default set of parse options.
73 | public static let `default`: ParseOptions = [
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLSAXParser.ParseOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | .recover,
75 | .noBlanks,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/XMLParser/HTMLSAXParser/HTMLSAXParser.swift:131:14: warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct Location {
| `- note: consider making struct 'Location' conform to the 'Sendable' protocol
82 | public let line: Int
83 | public let column: Int
:
129 |
130 | /// An error occurred during the parsing process.
131 | case parsingFailure(location: Location, message: String)
| `- warning: associated value 'parsingFailure(location:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTMLSAXParser.Location'; this is an error in the Swift 6 language mode
132 | }
133 |
[11/35] Compiling SwiftRichString AttributedString+FunctionBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
[12/35] Compiling SwiftRichString String+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
[13/35] Compiling SwiftRichString String+Subscript.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Extensions/AttributedString+FunctionBuilder.swift:27:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
25 | import Foundation
26 |
27 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 | public class AttributedStringBuilder {
29 |
[14/35] Compiling SwiftRichString StyleXML.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:28:12: warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Shortcut to singleton of the `StylesManager`
28 | public let Styles: StylesManager = StylesManager.shared
| |- warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Styles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:35:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
35 | public static let shared: StylesManager = StylesManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// You can defeer the creation of a style to the first time its required.
[15/35] Compiling SwiftRichString StylesManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:28:12: warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Shortcut to singleton of the `StylesManager`
28 | public let Styles: StylesManager = StylesManager.shared
| |- warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Styles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:35:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
35 | public static let shared: StylesManager = StylesManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// You can defeer the creation of a style to the first time its required.
[16/35] Compiling SwiftRichString AssociatedValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:28:12: warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Shortcut to singleton of the `StylesManager`
28 | public let Styles: StylesManager = StylesManager.shared
| |- warning: let 'Styles' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Styles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Style/StylesManager.swift:35:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// StylesManager act as a central repository where you can register your own style and use
31 | /// globally in your app.
32 | public class StylesManager {
| `- note: class 'StylesManager' does not conform to the 'Sendable' protocol
33 |
34 | /// Singleton instance.
35 | public static let shared: StylesManager = StylesManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'StylesManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// You can defeer the creation of a style to the first time its required.
[17/35] Compiling SwiftRichString AsyncTextAttachment.swift
[18/35] Compiling SwiftRichString Compatibility.swift
[19/35] Compiling SwiftRichString Extensions.swift
[20/35] Compiling SwiftRichString OrderedDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Support/XMLStringBuilder.swift:48:23: warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // MARK: - XMLParsingOptions
36 |
37 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
38 | public let rawValue: Int
39 |
:
46 | /// For example if your string contains '&' character parser will break the style.
47 | /// This option is active by default.
48 | public static let escapeString = XMLParsingOptions(rawValue: 2)
| |- warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapeString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | }
[21/35] Compiling SwiftRichString XMLDynamicAttributesResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Support/XMLStringBuilder.swift:48:23: warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // MARK: - XMLParsingOptions
36 |
37 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
38 | public let rawValue: Int
39 |
:
46 | /// For example if your string contains '&' character parser will break the style.
47 | /// This option is active by default.
48 | public static let escapeString = XMLParsingOptions(rawValue: 2)
| |- warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapeString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | }
[22/35] Compiling SwiftRichString XMLStringBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Support/XMLStringBuilder.swift:48:23: warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
35 | // MARK: - XMLParsingOptions
36 |
37 | public struct XMLParsingOptions: OptionSet {
| `- note: consider making struct 'XMLParsingOptions' conform to the 'Sendable' protocol
38 | public let rawValue: Int
39 |
:
46 | /// For example if your string contains '&' character parser will break the style.
47 | /// This option is active by default.
48 | public static let escapeString = XMLParsingOptions(rawValue: 2)
| |- warning: static property 'escapeString' is not concurrency-safe because non-'Sendable' type 'XMLParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapeString' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | }
[23/35] Compiling SwiftRichString Style.swift
[24/35] Compiling SwiftRichString StyleProtocol.swift
[25/35] Compiling SwiftRichString StyleRegEx.swift
[26/35] Compiling SwiftRichString ColorConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:135:20: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
134 | /// The font typestyle is italic
135 | public static let italic = TraitVariant(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// The font typestyle is boldface
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:138:20: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
136 |
137 | /// The font typestyle is boldface
138 | public static let bold = TraitVariant(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:141:20: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
141 | public static let expanded = TraitVariant(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'expanded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:144:20: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
144 | public static let condensed = TraitVariant(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'condensed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// The font uses vertical glyph variants and metrics.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:147:20: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
145 |
146 | /// The font uses vertical glyph variants and metrics.
147 | public static let vertical = TraitVariant(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:150:20: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
150 | public static let uiOptimized = TraitVariant(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uiOptimized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// The font use a tigher line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:153:20: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
151 |
152 | /// The font use a tigher line spacing variant.
153 | public static let tightLineSpacing = TraitVariant(rawValue: 1 << 6)
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// The font use a loose line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:156:20: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
154 |
155 | /// The font use a loose line spacing variant.
156 | public static let looseLineSpacing = TraitVariant(rawValue: 1 << 7)
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'looseLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public init(rawValue: Int) {
[27/35] Compiling SwiftRichString CommonsAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:135:20: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
134 | /// The font typestyle is italic
135 | public static let italic = TraitVariant(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// The font typestyle is boldface
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:138:20: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
136 |
137 | /// The font typestyle is boldface
138 | public static let bold = TraitVariant(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:141:20: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
141 | public static let expanded = TraitVariant(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'expanded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:144:20: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
144 | public static let condensed = TraitVariant(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'condensed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// The font uses vertical glyph variants and metrics.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:147:20: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
145 |
146 | /// The font uses vertical glyph variants and metrics.
147 | public static let vertical = TraitVariant(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:150:20: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
150 | public static let uiOptimized = TraitVariant(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uiOptimized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// The font use a tigher line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:153:20: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
151 |
152 | /// The font use a tigher line spacing variant.
153 | public static let tightLineSpacing = TraitVariant(rawValue: 1 << 6)
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// The font use a loose line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:156:20: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
154 |
155 | /// The font use a loose line spacing variant.
156 | public static let looseLineSpacing = TraitVariant(rawValue: 1 << 7)
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'looseLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public init(rawValue: Int) {
[28/35] Compiling SwiftRichString DynamicText.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:135:20: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
134 | /// The font typestyle is italic
135 | public static let italic = TraitVariant(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// The font typestyle is boldface
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:138:20: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
136 |
137 | /// The font typestyle is boldface
138 | public static let bold = TraitVariant(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:141:20: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
141 | public static let expanded = TraitVariant(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'expanded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:144:20: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
144 | public static let condensed = TraitVariant(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'condensed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// The font uses vertical glyph variants and metrics.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:147:20: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
145 |
146 | /// The font uses vertical glyph variants and metrics.
147 | public static let vertical = TraitVariant(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:150:20: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
150 | public static let uiOptimized = TraitVariant(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uiOptimized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// The font use a tigher line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:153:20: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
151 |
152 | /// The font use a tigher line spacing variant.
153 | public static let tightLineSpacing = TraitVariant(rawValue: 1 << 6)
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// The font use a loose line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:156:20: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
154 |
155 | /// The font use a loose line spacing variant.
156 | public static let looseLineSpacing = TraitVariant(rawValue: 1 << 7)
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'looseLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public init(rawValue: Int) {
[29/35] Compiling SwiftRichString FontConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:135:20: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
134 | /// The font typestyle is italic
135 | public static let italic = TraitVariant(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// The font typestyle is boldface
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:138:20: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
136 |
137 | /// The font typestyle is boldface
138 | public static let bold = TraitVariant(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:141:20: warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
139 |
140 | // The font typestyle is expanded. Expanded and condensed traits are mutually exclusive.
141 | public static let expanded = TraitVariant(rawValue: 1 << 2)
| |- warning: static property 'expanded' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'expanded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:144:20: warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
142 |
143 | /// The font typestyle is condensed. Expanded and condensed traits are mutually exclusive
144 | public static let condensed = TraitVariant(rawValue: 1 << 3)
| |- warning: static property 'condensed' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'condensed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// The font uses vertical glyph variants and metrics.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:147:20: warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
145 |
146 | /// The font uses vertical glyph variants and metrics.
147 | public static let vertical = TraitVariant(rawValue: 1 << 4)
| |- warning: static property 'vertical' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:150:20: warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
148 |
149 | /// The font synthesizes appropriate attributes for user interface rendering, such as control titles, if necessary.
150 | public static let uiOptimized = TraitVariant(rawValue: 1 << 5)
| |- warning: static property 'uiOptimized' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uiOptimized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// The font use a tigher line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:153:20: warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
151 |
152 | /// The font use a tigher line spacing variant.
153 | public static let tightLineSpacing = TraitVariant(rawValue: 1 << 6)
| |- warning: static property 'tightLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// The font use a loose line spacing variant.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/CommonsAttributes.swift:156:20: warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | /// Describe a trait variant for font
131 | public struct TraitVariant: OptionSet {
| `- note: consider making struct 'TraitVariant' conform to the 'Sendable' protocol
132 | public var rawValue: Int
133 |
:
154 |
155 | /// The font use a loose line spacing variant.
156 | public static let looseLineSpacing = TraitVariant(rawValue: 1 << 7)
| |- warning: static property 'looseLineSpacing' is not concurrency-safe because non-'Sendable' type 'TraitVariant' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'looseLineSpacing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public init(rawValue: Int) {
[30/35] Compiling SwiftRichString URLRepresentable.swift
[31/35] Compiling SwiftRichString AttributedString+Attachments.swift
[32/35] Compiling SwiftRichString AttributedString+Extension.swift
[33/35] Compiling SwiftRichString FontInfoAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | return featureSettings.map {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
| `- note: struct declared here
55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontStyle.swift:42:21: warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public struct FontStyle {
41 |
42 | private static var DefaultFont = Font.systemFont(ofSize: 12.0)
| |- warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'DefaultFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Font object
[34/35] Compiling SwiftRichString FontStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | return featureSettings.map {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
| `- note: struct declared here
55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontStyle.swift:42:21: warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public struct FontStyle {
41 |
42 | private static var DefaultFont = Font.systemFont(ofSize: 12.0)
| |- warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'DefaultFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Font object
[35/35] Compiling SwiftRichString TextTransform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontInfoAttribute.swift:42:40: warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
40 | public extension FontInfoAttribute {
41 |
42 | func attributes() -> [[FontDescriptor.FeatureKey: Any]] {
| `- warning: cannot use struct 'FeatureKey' here; 'AppKit' was not imported by this file
43 | let featureSettings = self.featureSettings()
44 | return featureSettings.map {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontDescriptor.h:54:20: note: struct declared here
52 | typedef NSString * NSFontDescriptorTraitKey NS_TYPED_ENUM;
53 | typedef NSString * NSFontDescriptorVariationKey NS_TYPED_ENUM;
54 | typedef NSString * NSFontDescriptorFeatureKey NS_TYPED_EXTENSIBLE_ENUM;
| `- note: struct declared here
55 | typedef CGFloat NSFontWeight NS_TYPED_EXTENSIBLE_ENUM;
56 | typedef CGFloat NSFontWidth NS_TYPED_EXTENSIBLE_ENUM;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRichString/Attributes/FontStyle.swift:42:21: warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public struct FontStyle {
41 |
42 | private static var DefaultFont = Font.systemFont(ofSize: 12.0)
| |- warning: static property 'DefaultFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'DefaultFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'DefaultFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Font object
Build complete! (7.96s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftRichString",
"name" : "SwiftRichString",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftRichString",
"targets" : [
"SwiftRichString"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftRichStringTests",
"module_type" : "SwiftTarget",
"name" : "SwiftRichStringTests",
"path" : "Tests/SwiftRichStringTests",
"sources" : [
"SwiftRichStringTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftRichString"
],
"type" : "test"
},
{
"c99name" : "SwiftRichString",
"module_type" : "SwiftTarget",
"name" : "SwiftRichString",
"path" : "Sources/SwiftRichString",
"product_memberships" : [
"SwiftRichString"
],
"sources" : [
"Attributes/ColorConvertible.swift",
"Attributes/CommonsAttributes.swift",
"Attributes/DynamicText.swift",
"Attributes/FontConvertible.swift",
"Attributes/FontInfoAttribute.swift",
"Attributes/FontStyle.swift",
"Attributes/TextTransform.swift",
"Attributes/URLRepresentable.swift",
"Extensions/AttributedString+Attachments.swift",
"Extensions/AttributedString+Extension.swift",
"Extensions/AttributedString+FunctionBuilder.swift",
"Extensions/String+Extension.swift",
"Extensions/String+Subscript.swift",
"Extensions/SystemFonts.swift",
"Extensions/UIKit+Extras.swift",
"Style/StyleDecorator.swift",
"Style/Styles/Style.swift",
"Style/Styles/StyleProtocol.swift",
"Style/Styles/StyleRegEx.swift",
"Style/Styles/StyleXML.swift",
"Style/StylesManager.swift",
"Support/AssociatedValues.swift",
"Support/AsyncTextAttachment.swift",
"Support/Compatibility.swift",
"Support/Extensions.swift",
"Support/OrderedDictionary.swift",
"Support/XMLDynamicAttributesResolver.swift",
"Support/XMLStringBuilder.swift",
"XMLParser/HTMLSAXParser/EscapeSpecialCharacters.swift",
"XMLParser/HTMLSAXParser/HTMLSAXParser+libxml2.swift",
"XMLParser/HTMLSAXParser/HTMLSAXParser.swift"
],
"target_dependencies" : [
"CHTMLSAXParser"
],
"type" : "library"
},
{
"c99name" : "CHTMLSAXParser",
"module_type" : "ClangTarget",
"name" : "CHTMLSAXParser",
"path" : "Sources/CHTMLSAXParser",
"product_memberships" : [
"SwiftRichString"
],
"sources" : [
"CHTMLSAXParser.c"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.