Build Information
Successful build of SVGView, reference main (b9ac3c
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:37:05 UTC.
Swift 6 data race errors: 36
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[30/56] Compiling SVGView SVGImageParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:32:16: warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
| |- warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:33:16: warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
| |- warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
35 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGTextParser.swift:40:16: warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | static var whitespaceRegex = try! NSRegularExpression(pattern: "\\s+", options: NSRegularExpression.Options.caseInsensitive)
| |- warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:34:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func forAxis(_ axis: SVGLengthAxis) -> SVGLengthParser {
[31/56] Compiling SVGView SVGShapeParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:32:16: warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
| |- warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:33:16: warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
| |- warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
35 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGTextParser.swift:40:16: warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | static var whitespaceRegex = try! NSRegularExpression(pattern: "\\s+", options: NSRegularExpression.Options.caseInsensitive)
| |- warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:34:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func forAxis(_ axis: SVGLengthAxis) -> SVGLengthParser {
[32/56] Compiling SVGView SVGStructureParsers.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:32:16: warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
| |- warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:33:16: warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
| |- warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
35 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGTextParser.swift:40:16: warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | static var whitespaceRegex = try! NSRegularExpression(pattern: "\\s+", options: NSRegularExpression.Options.caseInsensitive)
| |- warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:34:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func forAxis(_ axis: SVGLengthAxis) -> SVGLengthParser {
[33/56] Compiling SVGView SVGTextParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:32:16: warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
| |- warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:33:16: warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
| |- warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
35 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGTextParser.swift:40:16: warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | static var whitespaceRegex = try! NSRegularExpression(pattern: "\\s+", options: NSRegularExpression.Options.caseInsensitive)
| |- warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:34:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func forAxis(_ axis: SVGLengthAxis) -> SVGLengthParser {
[34/56] Compiling SVGView SVGLengthParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:32:16: warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
| |- warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:33:16: warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
| |- warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
35 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGTextParser.swift:40:16: warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | static var whitespaceRegex = try! NSRegularExpression(pattern: "\\s+", options: NSRegularExpression.Options.caseInsensitive)
| |- warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:34:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func forAxis(_ axis: SVGLengthAxis) -> SVGLengthParser {
[35/56] Compiling SVGView SVGLogger.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[36/56] Compiling SVGView SVGScreen.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[37/56] Compiling SVGView SVGSettings.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[38/56] Compiling SVGView DOMParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[39/56] Compiling SVGView XMLNode.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[40/56] Emitting module SVGView
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:46:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGFontSizeAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
44 | class SVGAttributes {
45 |
46 | static let fontSize = SVGFontSizeAttribute()
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGFontSizeAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static let x = SVGLengthAttribute(name: "x", axis: .x)
48 | static let y = SVGLengthAttribute(name: "y", axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGFontSizeAttribute.swift:10:7: note: class 'SVGFontSizeAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGFontSizeAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGFontSizeAttribute' does not conform to the 'Sendable' protocol
11 |
12 | override var name: String { "font-size" }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:47:16: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | static let fontSize = SVGFontSizeAttribute()
47 | static let x = SVGLengthAttribute(name: "x", axis: .x)
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | static let y = SVGLengthAttribute(name: "y", axis: .y)
49 | static let width = SVGLengthAttribute(name: "width", axis: .x)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:48:16: warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let fontSize = SVGFontSizeAttribute()
47 | static let x = SVGLengthAttribute(name: "x", axis: .x)
48 | static let y = SVGLengthAttribute(name: "y", axis: .y)
| |- warning: static property 'y' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | static let width = SVGLengthAttribute(name: "width", axis: .x)
50 | static let height = SVGLengthAttribute(name: "height", axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:49:16: warning: static property 'width' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
47 | static let x = SVGLengthAttribute(name: "x", axis: .x)
48 | static let y = SVGLengthAttribute(name: "y", axis: .y)
49 | static let width = SVGLengthAttribute(name: "width", axis: .x)
| |- warning: static property 'width' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'width' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | static let height = SVGLengthAttribute(name: "height", axis: .y)
51 | static let r = SVGLengthAttribute(name: "r", axis: .all)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:50:16: warning: static property 'height' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
48 | static let y = SVGLengthAttribute(name: "y", axis: .y)
49 | static let width = SVGLengthAttribute(name: "width", axis: .x)
50 | static let height = SVGLengthAttribute(name: "height", axis: .y)
| |- warning: static property 'height' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'height' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let r = SVGLengthAttribute(name: "r", axis: .all)
52 | static let rx = SVGLengthAttribute(name: "rx", axis: .x)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:51:16: warning: static property 'r' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
49 | static let width = SVGLengthAttribute(name: "width", axis: .x)
50 | static let height = SVGLengthAttribute(name: "height", axis: .y)
51 | static let r = SVGLengthAttribute(name: "r", axis: .all)
| |- warning: static property 'r' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'r' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let rx = SVGLengthAttribute(name: "rx", axis: .x)
53 | static let ry = SVGLengthAttribute(name: "ry", axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:52:16: warning: static property 'rx' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
50 | static let height = SVGLengthAttribute(name: "height", axis: .y)
51 | static let r = SVGLengthAttribute(name: "r", axis: .all)
52 | static let rx = SVGLengthAttribute(name: "rx", axis: .x)
| |- warning: static property 'rx' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rx' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let ry = SVGLengthAttribute(name: "ry", axis: .y)
54 | static let cx = SVGLengthAttribute(name: "cx", axis: .x)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:53:16: warning: static property 'ry' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let r = SVGLengthAttribute(name: "r", axis: .all)
52 | static let rx = SVGLengthAttribute(name: "rx", axis: .x)
53 | static let ry = SVGLengthAttribute(name: "ry", axis: .y)
| |- warning: static property 'ry' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let cx = SVGLengthAttribute(name: "cx", axis: .x)
55 | static let cy = SVGLengthAttribute(name: "cy", axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:54:16: warning: static property 'cx' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
52 | static let rx = SVGLengthAttribute(name: "rx", axis: .x)
53 | static let ry = SVGLengthAttribute(name: "ry", axis: .y)
54 | static let cx = SVGLengthAttribute(name: "cx", axis: .x)
| |- warning: static property 'cx' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cx' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let cy = SVGLengthAttribute(name: "cy", axis: .y)
56 | static let x1 = SVGLengthAttribute(name: "x1", axis: .x)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:55:16: warning: static property 'cy' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
53 | static let ry = SVGLengthAttribute(name: "ry", axis: .y)
54 | static let cx = SVGLengthAttribute(name: "cx", axis: .x)
55 | static let cy = SVGLengthAttribute(name: "cy", axis: .y)
| |- warning: static property 'cy' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let x1 = SVGLengthAttribute(name: "x1", axis: .x)
57 | static let x2 = SVGLengthAttribute(name: "x2", axis: .x)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:56:16: warning: static property 'x1' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
54 | static let cx = SVGLengthAttribute(name: "cx", axis: .x)
55 | static let cy = SVGLengthAttribute(name: "cy", axis: .y)
56 | static let x1 = SVGLengthAttribute(name: "x1", axis: .x)
| |- warning: static property 'x1' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let x2 = SVGLengthAttribute(name: "x2", axis: .x)
58 | static let y1 = SVGLengthAttribute(name: "y1", axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:57:16: warning: static property 'x2' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
55 | static let cy = SVGLengthAttribute(name: "cy", axis: .y)
56 | static let x1 = SVGLengthAttribute(name: "x1", axis: .x)
57 | static let x2 = SVGLengthAttribute(name: "x2", axis: .x)
| |- warning: static property 'x2' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let y1 = SVGLengthAttribute(name: "y1", axis: .y)
59 | static let y2 = SVGLengthAttribute(name: "y2", axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:58:16: warning: static property 'y1' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
56 | static let x1 = SVGLengthAttribute(name: "x1", axis: .x)
57 | static let x2 = SVGLengthAttribute(name: "x2", axis: .x)
58 | static let y1 = SVGLengthAttribute(name: "y1", axis: .y)
| |- warning: static property 'y1' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let y2 = SVGLengthAttribute(name: "y2", axis: .y)
60 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGAttribute.swift:59:16: warning: static property 'y2' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
57 | static let x2 = SVGLengthAttribute(name: "x2", axis: .x)
58 | static let y1 = SVGLengthAttribute(name: "y1", axis: .y)
59 | static let y2 = SVGLengthAttribute(name: "y2", axis: .y)
| |- warning: static property 'y2' is not concurrency-safe because non-'Sendable' type 'SVGLengthAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'y2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Attributes/SVGLengthAttribute.swift:10:7: note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
8 | import CoreGraphics
9 |
10 | class SVGLengthAttribute: SVGDefaultAttribute<CGFloat> {
| `- note: class 'SVGLengthAttribute' does not conform to the 'Sendable' protocol
11 |
12 | private let attrName: String
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGTextParser.swift:40:16: warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | }
39 |
40 | static var whitespaceRegex = try! NSRegularExpression(pattern: "\\s+", options: NSRegularExpression.Options.caseInsensitive)
| |- warning: static property 'whitespaceRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'whitespaceRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'whitespaceRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | }
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:32:16: warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
| |- warning: static property 'xAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:33:16: warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
| |- warning: static property 'yAxis' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yAxis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
35 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Primitives/SVGLengthParser.swift:34:16: warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 |
29 | class SVGLengthParser {
| `- note: class 'SVGLengthParser' does not conform to the 'Sendable' protocol
30 |
31 | static let `default` = SVGLengthParser(axis: .all)
32 | static let xAxis = SVGLengthParser(axis: .x)
33 | static let yAxis = SVGLengthParser(axis: .y)
34 | static let fontSize = SVGLengthParser(axis: .all, isFontRelative: false)
| |- warning: static property 'fontSize' is not concurrency-safe because non-'Sendable' type 'SVGLengthParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fontSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func forAxis(_ axis: SVGLengthAxis) -> SVGLengthParser {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
[41/56] Compiling SVGView SVGDataImage.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func onTapGesture(_ count: Int = 1, tapClosure: @escaping ()->()) {
| `- note: add '@MainActor' to make instance method 'onTapGesture(_:tapClosure:)' part of global actor 'MainActor'
38 | let newGesture = TapGesture(count: count).onEnded {
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
| `- note: add '@MainActor' to make instance method 'addGesture' part of global actor 'MainActor'
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 | }
47 |
[42/56] Compiling SVGView SVGURLImage.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func onTapGesture(_ count: Int = 1, tapClosure: @escaping ()->()) {
| `- note: add '@MainActor' to make instance method 'onTapGesture(_:tapClosure:)' part of global actor 'MainActor'
38 | let newGesture = TapGesture(count: count).onEnded {
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
| `- note: add '@MainActor' to make instance method 'addGesture' part of global actor 'MainActor'
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 | }
47 |
[43/56] Compiling SVGView SVGGroup.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func onTapGesture(_ count: Int = 1, tapClosure: @escaping ()->()) {
| `- note: add '@MainActor' to make instance method 'onTapGesture(_:tapClosure:)' part of global actor 'MainActor'
38 | let newGesture = TapGesture(count: count).onEnded {
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
| `- note: add '@MainActor' to make instance method 'addGesture' part of global actor 'MainActor'
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 | }
47 |
[44/56] Compiling SVGView SVGImage.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func onTapGesture(_ count: Int = 1, tapClosure: @escaping ()->()) {
| `- note: add '@MainActor' to make instance method 'onTapGesture(_:tapClosure:)' part of global actor 'MainActor'
38 | let newGesture = TapGesture(count: count).onEnded {
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
| `- note: add '@MainActor' to make instance method 'addGesture' part of global actor 'MainActor'
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 | }
47 |
[45/56] Compiling SVGView SVGNode.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func onTapGesture(_ count: Int = 1, tapClosure: @escaping ()->()) {
| `- note: add '@MainActor' to make instance method 'onTapGesture(_:tapClosure:)' part of global actor 'MainActor'
38 | let newGesture = TapGesture(count: count).onEnded {
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
| `- note: add '@MainActor' to make instance method 'addGesture' part of global actor 'MainActor'
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 | }
47 |
[46/56] Compiling SVGView SVGShape.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public func onTapGesture(_ count: Int = 1, tapClosure: @escaping ()->()) {
| `- note: add '@MainActor' to make instance method 'onTapGesture(_:tapClosure:)' part of global actor 'MainActor'
38 | let newGesture = TapGesture(count: count).onEnded {
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
| `- note: add '@MainActor' to make instance method 'addGesture' part of global actor 'MainActor'
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| `- warning: call to main actor-isolated instance method 'map' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
SwiftUICore.Gesture:3:44: note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension Gesture {
3 | @MainActor @preconcurrency public func map<T>(_ body: @escaping (Self.Value) -> T) -> _MapGesture<Self, T>
| `- note: calls to instance method 'map' from outside of its actor context are implicitly asynchronous
4 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:41:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
39 | tapClosure()
40 | }
41 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGNode.swift:45:47: warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 | public func addGesture<T: Gesture>(_ newGesture: T) {
45 | gestures.append(AnyGesture(newGesture.map { _ in () }))
| |- warning: sending 'newGesture' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'newGesture' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 | }
47 |
[47/56] Compiling SVGView SVGConstants.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[48/56] Compiling SVGView SVGContext.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[49/56] Compiling SVGView SVGIndex.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[50/56] Compiling SVGView SVGParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[51/56] Compiling SVGView SVGParserBasics.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[52/56] Compiling SVGView Serializable.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[53/56] Compiling SVGView Serializations.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[54/56] Compiling SVGView Serializer.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[55/56] Compiling SVGView MBezierPath+Extension_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[56/56] Compiling SVGView UIExtensions.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
Build complete! (21.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SVGView",
"name" : "SVGView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SVGView",
"targets" : [
"SVGView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SVGView",
"module_type" : "SwiftTarget",
"name" : "SVGView",
"path" : "Source",
"product_memberships" : [
"SVGView"
],
"sources" : [
"Model/Images/SVGDataImage.swift",
"Model/Images/SVGURLImage.swift",
"Model/Nodes/SVGGroup.swift",
"Model/Nodes/SVGImage.swift",
"Model/Nodes/SVGNode.swift",
"Model/Nodes/SVGShape.swift",
"Model/Nodes/SVGText.swift",
"Model/Nodes/SVGUserSpaceNode.swift",
"Model/Nodes/SVGViewport.swift",
"Model/Primitives/SVGColor.swift",
"Model/Primitives/SVGFont.swift",
"Model/Primitives/SVGGradient.swift",
"Model/Primitives/SVGLength.swift",
"Model/Primitives/SVGPaint.swift",
"Model/Primitives/SVGPreserveAspectRatio.swift",
"Model/Primitives/SVGStroke.swift",
"Model/Shapes/SVGCircle.swift",
"Model/Shapes/SVGEllipse.swift",
"Model/Shapes/SVGLine.swift",
"Model/Shapes/SVGPath.swift",
"Model/Shapes/SVGPolygon.swift",
"Model/Shapes/SVGPolyline.swift",
"Model/Shapes/SVGRect.swift",
"Parser/CSS/CSSParser.swift",
"Parser/SVG/Attributes/SVGAttribute.swift",
"Parser/SVG/Attributes/SVGFontSizeAttribute.swift",
"Parser/SVG/Attributes/SVGLengthAttribute.swift",
"Parser/SVG/Elements/SVGElementParser.swift",
"Parser/SVG/Elements/SVGImageParser.swift",
"Parser/SVG/Elements/SVGShapeParser.swift",
"Parser/SVG/Elements/SVGStructureParsers.swift",
"Parser/SVG/Elements/SVGTextParser.swift",
"Parser/SVG/Primitives/SVGLengthParser.swift",
"Parser/SVG/SVGConstants.swift",
"Parser/SVG/SVGContext.swift",
"Parser/SVG/SVGIndex.swift",
"Parser/SVG/SVGParser.swift",
"Parser/SVG/SVGParserBasics.swift",
"Parser/SVG/SVGParserExtensions.swift",
"Parser/SVG/SVGParserPrimitives.swift",
"Parser/SVG/SVGPathReader.swift",
"Parser/SVG/SVGView.swift",
"Parser/SVG/Settings/SVGLinker.swift",
"Parser/SVG/Settings/SVGLogger.swift",
"Parser/SVG/Settings/SVGScreen.swift",
"Parser/SVG/Settings/SVGSettings.swift",
"Parser/XML/DOMParser.swift",
"Parser/XML/XMLNode.swift",
"Serialization/Serializable.swift",
"Serialization/Serializations.swift",
"Serialization/Serializer.swift",
"UI/MBezierPath+Extension_macOS.swift",
"UI/UIExtensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.