Build Information
Successful build of ZMarkupParser, reference v2.0.2 (904c70), with Swift 6.1 for macOS (SPM) on 25 Jun 2026 07:36:36 UTC.
Swift 6 data race errors: 17
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 InferSendableFromCapturesBuild Log
| |- note: add '@MainActor' to make static property 'h1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:18:16: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:19:16: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:20:16: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:21:16: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:22:16: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:23:16: warning: static property 'blockQuote' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
| |- warning: static property 'blockQuote' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockQuote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:24:16: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'code' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
[81/125] Compiling ZMarkupParser MarkupStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupComponent/MarkupComponent.swift:31:44: warning: conditional cast from 'Self.Element.T' to 'Self.Element.T' always succeeds
29 | dict.reserveCapacity(underestimatedCount)
30 | for component in self {
31 | if let value = component.value as? Element.T {
| `- warning: conditional cast from 'Self.Element.T' to 'Self.Element.T' always succeeds
32 | dict[ObjectIdentifier(component.markup)] = value
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension MarkupStyle {
11 | static let `default` = MarkupStyle(font: MarkupStyleFont(size: 12))
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' 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
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:12:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension MarkupStyle {
11 | static let `default` = MarkupStyle(font: MarkupStyleFont(size: 12))
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' 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
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:13:16: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | static let `default` = MarkupStyle(font: MarkupStyleFont(size: 12))
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'link' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
15 | static let underline = MarkupStyle(underlineStyle: .single)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:14:16: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' 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
15 | static let underline = MarkupStyle(underlineStyle: .single)
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:15:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
15 | static let underline = MarkupStyle(underlineStyle: .single)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:16:16: warning: static property 'deleteline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
15 | static let underline = MarkupStyle(underlineStyle: .single)
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
| |- warning: static property 'deleteline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deleteline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:17:16: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let underline = MarkupStyle(underlineStyle: .single)
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:18:16: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:19:16: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:20:16: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:21:16: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:22:16: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:23:16: warning: static property 'blockQuote' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
| |- warning: static property 'blockQuote' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockQuote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:24:16: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'code' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
[82/125] Compiling ZMarkupParser MarkupStyleColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupComponent/MarkupComponent.swift:31:44: warning: conditional cast from 'Self.Element.T' to 'Self.Element.T' always succeeds
29 | dict.reserveCapacity(underestimatedCount)
30 | for component in self {
31 | if let value = component.value as? Element.T {
| `- warning: conditional cast from 'Self.Element.T' to 'Self.Element.T' always succeeds
32 | dict[ObjectIdentifier(component.markup)] = value
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public extension MarkupStyle {
11 | static let `default` = MarkupStyle(font: MarkupStyleFont(size: 12))
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' 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
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:12:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension MarkupStyle {
11 | static let `default` = MarkupStyle(font: MarkupStyleFont(size: 12))
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' 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
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:13:16: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | static let `default` = MarkupStyle(font: MarkupStyleFont(size: 12))
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'link' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
15 | static let underline = MarkupStyle(underlineStyle: .single)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:14:16: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let bold = MarkupStyle(font: MarkupStyleFont(weight: .style(.semibold)))
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' 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
15 | static let underline = MarkupStyle(underlineStyle: .single)
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:15:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
13 | static let link = MarkupStyle(foregroundColor: MarkupStyleColor(color: .systemBlue), underlineStyle: .single)
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
15 | static let underline = MarkupStyle(underlineStyle: .single)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:16:16: warning: static property 'deleteline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let italic = MarkupStyle(font: MarkupStyleFont(italic: true))
15 | static let underline = MarkupStyle(underlineStyle: .single)
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
| |- warning: static property 'deleteline' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deleteline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:17:16: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let underline = MarkupStyle(underlineStyle: .single)
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:18:16: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let deleteline = MarkupStyle(strikethroughStyle: .single)
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:19:16: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let h1 = MarkupStyle(font: MarkupStyleFont(size: 24))
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:20:16: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let h2 = MarkupStyle(font: MarkupStyleFont(size: 22))
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:21:16: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
19 | static let h3 = MarkupStyle(font: MarkupStyleFont(size: 20))
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:22:16: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
20 | static let h4 = MarkupStyle(font: MarkupStyleFont(size: 18))
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'h6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:23:16: warning: static property 'blockQuote' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let h5 = MarkupStyle(font: MarkupStyleFont(size: 16))
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
| |- warning: static property 'blockQuote' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blockQuote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift:24:16: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
22 | static let h6 = MarkupStyle(font: MarkupStyleFont(size: 14))
23 | static let blockQuote = MarkupStyle(paragraphStyle: .init(headIndent: 10, firstLineHeadIndent: 10))
24 | static let code = MarkupStyle(paragraphStyle: .init(lineSpacing: 0, headIndent: 10, firstLineHeadIndent: 10), backgroundColor: .init(color: .lightGray))
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'MarkupStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'code' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift:206:15: note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
204 |
205 | #elseif canImport(AppKit)
206 | public struct MarkupStyle {
| `- note: consider making struct 'MarkupStyle' conform to the 'Sendable' protocol
207 | public var nativeFont:NSFont? = nil
208 | public var font:MarkupStyleFont
[83/125] Compiling ZMarkupParser NSTextCheckingResult+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[84/125] Compiling ZMarkupParser ParserProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[85/125] Compiling ZMarkupParser ParserRegexr.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[86/125] Compiling ZMarkupParser HTMLTag.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[87/125] Compiling ZMarkupParser HTMLTagClassAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[88/125] Compiling ZMarkupParser HTMLTagIdAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[89/125] Compiling ZMarkupParser HTMLTagName.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[90/125] Compiling ZMarkupParser HTMLTagNameVisitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[91/125] Compiling ZMarkupParser A_HTMLTagName.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[92/125] Compiling ZMarkupParser BLOCKQUOTE_HTMLTagName.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[93/125] Compiling ZMarkupParser BR_HTMLTagName.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/Core/Processor/ParserRegexr.swift:24:24: warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private static let expressionCacheLock = NSLock()
24 | private static var expressionCache: [String: NSRegularExpression] = [:]
| |- warning: static property 'expressionCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'expressionCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'expressionCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | static func cachedExpression(pattern: String, options: NSRegularExpression.Options) -> NSRegularExpression? {
[94/125] Compiling ZMarkupParser MarkupStyleColorName.swift
[95/125] Compiling ZMarkupParser MarkupStyleFont.swift
[96/125] Compiling ZMarkupParser MarkupStyleList.swift
[97/125] Compiling ZMarkupParser MarkupStyleParagraphStyle.swift
[98/125] Compiling ZMarkupParser MarkupStyleSponsorColor.swift
[99/125] Compiling ZMarkupParser MarkupStyleVendorColor.swift
[100/125] Compiling ZMarkupParser HTMLScanner.swift
[101/125] Compiling ZMarkupParser Token.swift
[102/125] Compiling ZMarkupParser MarkupNSAttributedStringVisitor.swift
[103/125] Compiling ZMarkupParser MarkupRenderProcessor.swift
[104/125] Compiling ZMarkupParser MarkupStripperProcessor.swift
[105/125] Compiling ZMarkupParser ExtendHTMLTagStyleAttribute.swift
[106/125] Compiling ZMarkupParser FontFamilyHTMLTagStyleAttribute.swift
[107/125] Compiling ZMarkupParser FontSizeHTMLTagStyleAttribute.swift
[108/125] Compiling ZMarkupParser FontWeightHTMLTagStyleAttribute.swift
[109/125] Compiling ZMarkupParser LineHeightHTMLTagStyleAttribute.swift
[110/125] Compiling ZMarkupParser ListStyleTypeHTMLTagStyleAttribute.swift
[111/125] Compiling ZMarkupParser TextAlignHTMLTagStyleAttribute.swift
[112/125] Compiling ZMarkupParser WordSpacingHTMLTagStyleAttribute.swift
[113/125] Compiling ZMarkupParser WC3HTMLTagName.swift
[114/125] Compiling ZMarkupParser HTMLElementMarkupComponentMarkupStyleVisitor.swift
[115/125] Compiling ZMarkupParser HTMLElementWithMarkupToMarkupStyleProcessor.swift
[116/125] Compiling ZMarkupParser HTMLParsedResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[117/125] Compiling ZMarkupParser HTMLParsedResultFormatterProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[118/125] Compiling ZMarkupParser HTMLParsedResultToHTMLElementWithRootMarkupProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[119/125] Compiling ZMarkupParser HTMLSelector.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[120/125] Compiling ZMarkupParser HTMLStringToParsedResultProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[121/125] Compiling ZMarkupParser HTMLTagAttributeToMarkupStyleVisitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[122/125] Compiling ZMarkupParser HTMLTagNameToHTMLMarkupVisitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[123/125] Compiling ZMarkupParser ZHTMLParser+UIExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[124/125] Compiling ZMarkupParser ZHTMLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
[125/125] Compiling ZMarkupParser ZHTMLParserBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:28: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:123:42: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
121 | public func selector(_ attributedString: NSAttributedString, completionHandler: @escaping (HTMLSelector) -> Void) {
122 | ZHTMLParser.dispatchQueue.async {
123 | let selector = self.selector(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:125:17: warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
123 | let selector = self.selector(attributedString)
124 | DispatchQueue.main.async {
125 | completionHandler(selector)
| |- warning: capture of 'completionHandler' with non-sendable type '(HTMLSelector) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:132:48: warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
130 | public func render(_ selector: HTMLSelector, completionHandler: @escaping (NSAttributedString) -> Void) {
131 | ZHTMLParser.dispatchQueue.async {
132 | let attributedString = self.render(selector)
| `- warning: capture of 'selector' with non-sendable type 'HTMLSelector' in a '@Sendable' closure
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/Processor/HTMLSelector.swift:10:14: note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public class HTMLSelector: CustomStringConvertible {
| `- note: class 'HTMLSelector' does not conform to the 'Sendable' protocol
11 |
12 | let markup: Markup
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:134:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
132 | let attributedString = self.render(selector)
133 | DispatchQueue.main.async {
134 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
135 | }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:145:48: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
143 | public func render(_ attributedString: NSAttributedString, forceDecodeHTMLEntities: Bool = true, completionHandler: @escaping (NSAttributedString) -> Void) {
144 | ZHTMLParser.dispatchQueue.async {
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:147:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
145 | let attributedString = self.render(attributedString, forceDecodeHTMLEntities: forceDecodeHTMLEntities)
146 | DispatchQueue.main.async {
147 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:36: warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
8 | import Foundation
9 |
10 | public final class ZHTMLParser {
| `- note: class 'ZHTMLParser' does not conform to the 'Sendable' protocol
11 | let htmlTags: [HTMLTag]
12 | let styleAttributes: [HTMLTagStyleAttribute]
:
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'self' with non-sendable type 'ZHTMLParser' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:160:50: warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
158 | public func stripper(_ attributedString: NSAttributedString, completionHandler: @escaping (NSAttributedString) -> Void) {
159 | ZHTMLParser.dispatchQueue.async {
160 | let attributedString = self.stripper(attributedString)
| `- warning: capture of 'attributedString' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
27 |
28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
30 |
31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/ZMarkupParser/HTML/ZHTMLParser.swift:162:17: warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
160 | let attributedString = self.stripper(attributedString)
161 | DispatchQueue.main.async {
162 | completionHandler(attributedString)
| |- warning: capture of 'completionHandler' with non-sendable type '(NSAttributedString) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
163 | }
164 | }
Build complete! (14.32s)
Fetching https://github.com/ZhgChgLi/ZNSTextAttachment
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
[1/311] Fetching znstextattachment
Fetched https://github.com/ZhgChgLi/ZNSTextAttachment from cache (1.90s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.93s)
Computing version for https://github.com/ZhgChgLi/ZNSTextAttachment
Computed https://github.com/ZhgChgLi/ZNSTextAttachment at 1.2.0 (2.51s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.56s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.12.0
Creating working copy for https://github.com/ZhgChgLi/ZNSTextAttachment
Working copy of https://github.com/ZhgChgLi/ZNSTextAttachment resolved at 1.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"exact" : [
"1.12.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "znstextattachment",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ZhgChgLi/ZNSTextAttachment"
}
],
"manifest_display_name" : "ZMarkupParser",
"name" : "ZMarkupParser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "ZMarkupParser",
"targets" : [
"ZMarkupParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ZMarkupParserTests",
"module_type" : "SwiftTarget",
"name" : "ZMarkupParserTests",
"path" : "Tests/ZMarkupParserTests",
"sources" : [
"Core/HTMLScannerTests.swift",
"Core/HTMLStringTests.swift",
"Core/MarkupComponentLookupTests.swift",
"Core/MarkupNSAttributedStringVisitorTests.swift",
"Core/MarkupStyleColorTests.swift",
"Core/MarkupStyleFontTests.swift",
"Core/MarkupStyleTests.swift",
"Core/MarkupTests.swift",
"Core/MemoryLeakTests.swift",
"Core/NSTextCheckingResultTests.swift",
"Core/ParserRegexrTests.swift",
"HTML/AllMarkupsHasAddToBuilderDefaultListTests.swift",
"HTML/AllTagStyleAttributesHasAddToBuilderDefaultListTests.swift",
"HTML/HTMLElementMarkupComponentMarkupStyleVisitorTests.swift",
"HTML/HTMLParsedResultFormatterProcessorTests.swift",
"HTML/HTMLParsedResultToHTMLElementWithRootMarkupProcessorTests.swift",
"HTML/HTMLSelectorTests.swift",
"HTML/HTMLStringToParsedResultProcessorTests.swift",
"HTML/HTMLTagStyleAttributeToMarkupStyleVisitorTests.swift",
"HTML/ZHTMLParserBuilderTests.swift",
"HTML/ZHTMLParserTests.swift"
],
"target_dependencies" : [
"ZMarkupParser"
],
"type" : "test"
},
{
"c99name" : "ZMarkupParserSnapshotTests",
"module_type" : "SwiftTarget",
"name" : "ZMarkupParserSnapshotTests",
"path" : "Tests/ZMarkupParserSnapshotTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"ZMarkupParserSnapshotTests.swift"
],
"target_dependencies" : [
"ZMarkupParser"
],
"type" : "test"
},
{
"c99name" : "ZMarkupParser",
"module_type" : "SwiftTarget",
"name" : "ZMarkupParser",
"path" : "Sources",
"product_dependencies" : [
"ZNSTextAttachment"
],
"product_memberships" : [
"ZMarkupParser"
],
"sources" : [
"HTMLString/HTMLString.swift",
"HTMLString/Mappings.swift",
"ZMarkupParser/Core/Markup/ListIndexLookup.swift",
"ZMarkupParser/Core/Markup/Markup.swift",
"ZMarkupParser/Core/Markup/MarkupVisitor.swift",
"ZMarkupParser/Core/Markup/Markups/BlockQuoteMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/BoldMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/BreakLineMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/CodeMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ColorMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/DeletelineMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ExtendMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/HeadMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/HorizontalLineMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ImageMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/InlineMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ItalicMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/LinkMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ListItemMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ListMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/ParagraphMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/RawStringMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/RootMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/TableColumnMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/TableMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/TableRowMarkup.swift",
"ZMarkupParser/Core/Markup/Markups/UnderlineMarkup.swift",
"ZMarkupParser/Core/MarkupComponent/MarkupComponent.swift",
"ZMarkupParser/Core/MarkupComponent/MarkupComponents/HTMLElementMarkupComponent.swift",
"ZMarkupParser/Core/MarkupComponent/MarkupComponents/MarkupStyleComponent.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyle+Extension.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyle.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleColor.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleColorName.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleFont.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleList.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleParagraphStyle.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleSponsorColor.swift",
"ZMarkupParser/Core/MarkupStyle/MarkupStyleVendorColor.swift",
"ZMarkupParser/Core/Pipeline/HTMLScanner.swift",
"ZMarkupParser/Core/Pipeline/Token.swift",
"ZMarkupParser/Core/Processor/MarkupNSAttributedStringVisitor.swift",
"ZMarkupParser/Core/Processor/MarkupRenderProcessor.swift",
"ZMarkupParser/Core/Processor/MarkupStripperProcessor.swift",
"ZMarkupParser/Core/Processor/NSTextCheckingResult+Extension.swift",
"ZMarkupParser/Core/Processor/ParserProcessor.swift",
"ZMarkupParser/Core/Processor/ParserRegexr.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTag.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagClassAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagIdAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNameVisitor.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/A_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/BLOCKQUOTE_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/BR_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/B_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/CODE_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/DEL_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/DIV_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/EM_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/ExtendTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/FONT_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/H1_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/H2_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/H3_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/H4_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/H5_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/H6_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/HR_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/IMG_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/I_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/LI_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/OL_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/PRE_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/P_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/SPAN_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/STRONG_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/S_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/TABLE_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/TD_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/TH_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/TR_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/UL_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagNames/U_HTMLTagName.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributeVisitor.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/BackgroundColorHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/ColorHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/ExtendHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/FontFamilyHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/FontSizeHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/FontWeightHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/LineHeightHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/ListStyleTypeHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/TextAlignHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/HTMLTagStyleAttribute/HTMLTagStyleAttributes/WordSpacingHTMLTagStyleAttribute.swift",
"ZMarkupParser/HTML/HTMLTag/WC3HTMLTagName.swift",
"ZMarkupParser/HTML/Processor/HTMLElementMarkupComponentMarkupStyleVisitor.swift",
"ZMarkupParser/HTML/Processor/HTMLElementWithMarkupToMarkupStyleProcessor.swift",
"ZMarkupParser/HTML/Processor/HTMLParsedResult.swift",
"ZMarkupParser/HTML/Processor/HTMLParsedResultFormatterProcessor.swift",
"ZMarkupParser/HTML/Processor/HTMLParsedResultToHTMLElementWithRootMarkupProcessor.swift",
"ZMarkupParser/HTML/Processor/HTMLSelector.swift",
"ZMarkupParser/HTML/Processor/HTMLStringToParsedResultProcessor.swift",
"ZMarkupParser/HTML/Processor/HTMLTagAttributeToMarkupStyleVisitor.swift",
"ZMarkupParser/HTML/Processor/HTMLTagNameToHTMLMarkupVisitor.swift",
"ZMarkupParser/HTML/ZHTMLParser+UIExtension.swift",
"ZMarkupParser/HTML/ZHTMLParser.swift",
"ZMarkupParser/HTML/ZHTMLParserBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.