Build Information
Failed to build SwiftSVG, reference v2.3.2 (c3a886
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 11:00:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mchoe/SwiftSVG.git
Reference: v2.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mchoe/SwiftSVG
* tag v2.3.2 -> FETCH_HEAD
HEAD is now at c3a8866 Merge pull request #149 from mchoe/task/update-docs
Cloned https://github.com/mchoe/SwiftSVG.git
Revision (git rev-parse @):
c3a8866a25ace169ee8e5c037670ba14aa59606f
SUCCESS checkout https://github.com/mchoe/SwiftSVG.git at v2.3.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftsvg",
"name": "SwiftSVG",
"url": "https://github.com/mchoe/SwiftSVG.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSVG",
"dependencies": [
]
}
]
}
Fetching https://github.com/mchoe/SwiftSVG.git
[1/4007] Fetching swiftsvg
Fetched https://github.com/mchoe/SwiftSVG.git from cache (1.65s)
Creating working copy for https://github.com/mchoe/SwiftSVG.git
Working copy of https://github.com/mchoe/SwiftSVG.git resolved at v2.3.2 (c3a8866)
warning: '.resolve-product-dependencies': dependency 'swiftsvg' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mchoe/SwiftSVG.git
https://github.com/mchoe/SwiftSVG.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSVG",
"name" : "SwiftSVG",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SwiftSVG",
"targets" : [
"SwiftSVG"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftSVGTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSVGTests",
"path" : "SwiftSVGTests",
"sources" : [
"CGPathPoints.swift",
"ClosePathTests.swift",
"CoordinateLexerTests.swift",
"CurveToTests.swift",
"DictionaryAddTests.swift",
"FillableTests.swift",
"FloatingPointDegreesToRadiansTests.swift",
"FloatingPointParseLengthStringTests.swift",
"HorizontalLineToTests.swift",
"IndentifiableTests.swift",
"LineToTests.swift",
"MoveToTests.swift",
"PathDLexerTests.swift",
"PerformanceTests.swift",
"SVGCircleTests.swift",
"SVGEllipseTests.swift",
"SVGGroupTests.swift",
"SVGLineTests.swift",
"SVGPathTests.swift",
"SVGPolygonTests.swift",
"SVGPolylineTests.swift",
"SVGRectangleTests.swift",
"SVGRootElementTests.swift",
"ScalarFromByteArrayTests.swift",
"SmoothCurveToTests.swift",
"StackTests.swift",
"StringSubscriptTests.swift",
"TestShapeElement.swift",
"UIColorExtensionsTests.swift",
"VerticalLineToTests.swift"
],
"target_dependencies" : [
"SwiftSVG"
],
"type" : "test"
},
{
"c99name" : "SwiftSVG",
"module_type" : "SwiftTarget",
"name" : "SwiftSVG",
"path" : "SwiftSVG",
"product_memberships" : [
"SwiftSVG"
],
"sources" : [
"CrossPlatform.swift",
"NSBezierPath+CrossPlatform.swift",
"SVG Extensions/CALayer+SVG.swift",
"SVG Extensions/CAShapeLayer+SVG.swift",
"SVG Extensions/SVGLayer.swift",
"SVG Extensions/SVGView.swift",
"SVG Extensions/UIBezierPath+SVG.swift",
"SVG Extensions/UIView+SVG.swift",
"SVG/Attributes/DelaysApplyingAttributes.swift",
"SVG/Attributes/Fillable.swift",
"SVG/Attributes/Identifiable.swift",
"SVG/Attributes/Strokable.swift",
"SVG/Attributes/Stylable.swift",
"SVG/Attributes/Transformable.swift",
"SVG/Cache/SVGCache.swift",
"SVG/Elements/ParsesAsynchronously.swift",
"SVG/Elements/SVGCircle.swift",
"SVG/Elements/SVGContainerElement.swift",
"SVG/Elements/SVGElement.swift",
"SVG/Elements/SVGEllipse.swift",
"SVG/Elements/SVGGroup.swift",
"SVG/Elements/SVGLine.swift",
"SVG/Elements/SVGPath.swift",
"SVG/Elements/SVGPolygon.swift",
"SVG/Elements/SVGPolyline.swift",
"SVG/Elements/SVGRectangle.swift",
"SVG/Elements/SVGRootElement.swift",
"SVG/Elements/SVGShapeElement.swift",
"SVG/Helpers/BinaryFloatingPoint+ParseLengthString.swift",
"SVG/Helpers/CALayer+Sublayers.swift",
"SVG/Helpers/Data+CacheKey.swift",
"SVG/Helpers/Dictionary+Add.swift",
"SVG/Helpers/Dictionary+JSON.swift",
"SVG/Helpers/DispatchQueue+Extensions.swift",
"SVG/Helpers/FloatingPoint+DegreesRadians.swift",
"SVG/Helpers/Print.swift",
"SVG/Helpers/Scalar+FromByteArray.swift",
"SVG/Helpers/Stack.swift",
"SVG/Helpers/String+Subscript.swift",
"SVG/Helpers/String+Trim.swift",
"SVG/Helpers/UIColor+Extensions.swift",
"SVG/Helpers/Unown.swift",
"SVG/Iterators/CoordinateLexer.swift",
"SVG/Iterators/PathCommand.swift",
"SVG/Iterators/PathDLexer.swift",
"SVG/Parser/NSXMLSVGParser.swift",
"SVG/Parser/SVGParser.swift",
"SVG/Parser/SVGParserSupportedElements.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/47] Compiling SwiftSVG Data+CacheKey.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift:44:17: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
42 | } else {
43 | self.async {
44 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
[4/47] Compiling SwiftSVG Dictionary+Add.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift:44:17: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
42 | } else {
43 | self.async {
44 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
[5/47] Compiling SwiftSVG Dictionary+JSON.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift:44:17: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
42 | } else {
43 | self.async {
44 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
[6/47] Compiling SwiftSVG DispatchQueue+Extensions.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift:44:17: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
42 | } else {
43 | self.async {
44 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
[7/47] Compiling SwiftSVG FloatingPoint+DegreesRadians.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift:44:17: warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
42 | } else {
43 | self.async {
44 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
[8/51] Compiling SwiftSVG PathDLexer.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift:76:16: warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | A dictionary that generates a new `PathCommand` based on the `CChar` value of the SVG path letter
75 | */
76 | static let characterDictionary: [CChar : PathCommand] = [
| |- warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | DCharacter.M.rawValue: MoveTo(pathType: .absolute),
78 | DCharacter.m.rawValue: MoveTo(pathType: .relative),
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:45:19: note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
43 | A protocol that describes an instance that can process an individual SVG Element
44 | */
45 | internal protocol PathCommand: PreviousCommand {
| `- note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
46 |
47 | /**
[9/51] Compiling SwiftSVG NSXMLSVGParser.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift:76:16: warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | A dictionary that generates a new `PathCommand` based on the `CChar` value of the SVG path letter
75 | */
76 | static let characterDictionary: [CChar : PathCommand] = [
| |- warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | DCharacter.M.rawValue: MoveTo(pathType: .absolute),
78 | DCharacter.m.rawValue: MoveTo(pathType: .relative),
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:45:19: note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
43 | A protocol that describes an instance that can process an individual SVG Element
44 | */
45 | internal protocol PathCommand: PreviousCommand {
| `- note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
46 |
47 | /**
[10/51] Compiling SwiftSVG SVGParser.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift:76:16: warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | A dictionary that generates a new `PathCommand` based on the `CChar` value of the SVG path letter
75 | */
76 | static let characterDictionary: [CChar : PathCommand] = [
| |- warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | DCharacter.M.rawValue: MoveTo(pathType: .absolute),
78 | DCharacter.m.rawValue: MoveTo(pathType: .relative),
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:45:19: note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
43 | A protocol that describes an instance that can process an individual SVG Element
44 | */
45 | internal protocol PathCommand: PreviousCommand {
| `- note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
46 |
47 | /**
[11/51] Compiling SwiftSVG SVGParserSupportedElements.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift:76:16: warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | A dictionary that generates a new `PathCommand` based on the `CChar` value of the SVG path letter
75 | */
76 | static let characterDictionary: [CChar : PathCommand] = [
| |- warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | DCharacter.M.rawValue: MoveTo(pathType: .absolute),
78 | DCharacter.m.rawValue: MoveTo(pathType: .relative),
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:45:19: note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
43 | A protocol that describes an instance that can process an individual SVG Element
44 | */
45 | internal protocol PathCommand: PreviousCommand {
| `- note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
46 |
47 | /**
[12/51] Compiling SwiftSVG UIColor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:68:28: warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | Lazily loaded instance of `NamedColors`
67 | */
68 | fileprivate static var named: NamedColors = {
| |- warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'named' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'named' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | return NamedColors()
70 | }()
[13/51] Compiling SwiftSVG Unown.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:68:28: warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | Lazily loaded instance of `NamedColors`
67 | */
68 | fileprivate static var named: NamedColors = {
| |- warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'named' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'named' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | return NamedColors()
70 | }()
[14/51] Compiling SwiftSVG CoordinateLexer.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:68:28: warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | Lazily loaded instance of `NamedColors`
67 | */
68 | fileprivate static var named: NamedColors = {
| |- warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'named' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'named' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | return NamedColors()
70 | }()
[15/51] Compiling SwiftSVG PathCommand.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:68:28: warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | Lazily loaded instance of `NamedColors`
67 | */
68 | fileprivate static var named: NamedColors = {
| |- warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'named' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'named' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | return NamedColors()
70 | }()
[16/51] Compiling SwiftSVG Print.swift
[17/51] Compiling SwiftSVG Scalar+FromByteArray.swift
[18/51] Compiling SwiftSVG Stack.swift
[19/51] Compiling SwiftSVG String+Subscript.swift
[20/51] Compiling SwiftSVG String+Trim.swift
[21/51] Compiling SwiftSVG SVGRectangle.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[22/51] Compiling SwiftSVG SVGRootElement.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[23/51] Compiling SwiftSVG SVGShapeElement.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[24/51] Compiling SwiftSVG BinaryFloatingPoint+ParseLengthString.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[25/51] Compiling SwiftSVG CALayer+Sublayers.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[26/51] Emitting module SwiftSVG
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:42:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
37 | A minimal in-memory cache class for caching `SVGLayer`s. The `default` singleton is the default cache used and you can optionally create your own static singleton through an extension.
38 | */
39 | open class SVGCache {
| `- note: class 'SVGCache' does not conform to the 'Sendable' protocol
40 |
41 | /// A singleton object that is the default store for `SVGlayer`s
42 | public static let `default` = SVGCache()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// :nodoc:
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:28: warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| |- warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'groupAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:68:28: warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | Lazily loaded instance of `NamedColors`
67 | */
68 | fileprivate static var named: NamedColors = {
| |- warning: static property 'named' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'named' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'named' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | return NamedColors()
70 | }()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift:76:16: warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
74 | A dictionary that generates a new `PathCommand` based on the `CChar` value of the SVG path letter
75 | */
76 | static let characterDictionary: [CChar : PathCommand] = [
| |- warning: static property 'characterDictionary' is not concurrency-safe because non-'Sendable' type '[CChar : any PathCommand]' (aka 'Dictionary<Int8, any PathCommand>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterDictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | DCharacter.M.rawValue: MoveTo(pathType: .absolute),
78 | DCharacter.m.rawValue: MoveTo(pathType: .relative),
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:45:19: note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
43 | A protocol that describes an instance that can process an individual SVG Element
44 | */
45 | internal protocol PathCommand: PreviousCommand {
| `- note: protocol 'PathCommand' does not conform to the 'Sendable' protocol
46 |
47 | /**
[27/51] Compiling SwiftSVG CrossPlatform.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:86:29: warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
84 |
85 | let parserToUse: SVGParser
86 | if let parser = parser {
| `- warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
87 | parserToUse = parser
88 | } else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:51:17: note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
49 | A protocol describing an XML parser capable of parsing SVG data
50 | */
51 | public protocol SVGParser {
| `- note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:92:47: warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
90 |
91 | DispatchQueue.global(qos: .userInitiated).async {
92 | guard let layerCopy = svgLayer.svgLayerCopy else {
| `- warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
93 | return
94 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:12: note: class 'SVGLayer' does not conform to the 'Sendable' protocol
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- note: class 'SVGLayer' does not conform to the 'Sendable' protocol
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[28/51] Compiling SwiftSVG NSBezierPath+CrossPlatform.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:86:29: warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
84 |
85 | let parserToUse: SVGParser
86 | if let parser = parser {
| `- warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
87 | parserToUse = parser
88 | } else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:51:17: note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
49 | A protocol describing an XML parser capable of parsing SVG data
50 | */
51 | public protocol SVGParser {
| `- note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:92:47: warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
90 |
91 | DispatchQueue.global(qos: .userInitiated).async {
92 | guard let layerCopy = svgLayer.svgLayerCopy else {
| `- warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
93 | return
94 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:12: note: class 'SVGLayer' does not conform to the 'Sendable' protocol
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- note: class 'SVGLayer' does not conform to the 'Sendable' protocol
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[29/51] Compiling SwiftSVG CALayer+SVG.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:86:29: warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
84 |
85 | let parserToUse: SVGParser
86 | if let parser = parser {
| `- warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
87 | parserToUse = parser
88 | } else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:51:17: note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
49 | A protocol describing an XML parser capable of parsing SVG data
50 | */
51 | public protocol SVGParser {
| `- note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:92:47: warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
90 |
91 | DispatchQueue.global(qos: .userInitiated).async {
92 | guard let layerCopy = svgLayer.svgLayerCopy else {
| `- warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
93 | return
94 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:12: note: class 'SVGLayer' does not conform to the 'Sendable' protocol
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- note: class 'SVGLayer' does not conform to the 'Sendable' protocol
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[30/51] Compiling SwiftSVG CAShapeLayer+SVG.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:86:29: warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
84 |
85 | let parserToUse: SVGParser
86 | if let parser = parser {
| `- warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
87 | parserToUse = parser
88 | } else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:51:17: note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
49 | A protocol describing an XML parser capable of parsing SVG data
50 | */
51 | public protocol SVGParser {
| `- note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:92:47: warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
90 |
91 | DispatchQueue.global(qos: .userInitiated).async {
92 | guard let layerCopy = svgLayer.svgLayerCopy else {
| `- warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
93 | return
94 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:12: note: class 'SVGLayer' does not conform to the 'Sendable' protocol
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- note: class 'SVGLayer' does not conform to the 'Sendable' protocol
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[31/51] Compiling SwiftSVG SVGLayer.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:86:29: warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
84 |
85 | let parserToUse: SVGParser
86 | if let parser = parser {
| `- warning: capture of 'parser' with non-sendable type '(any SVGParser)?' in a '@Sendable' closure
87 | parserToUse = parser
88 | } else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:51:17: note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
49 | A protocol describing an XML parser capable of parsing SVG data
50 | */
51 | public protocol SVGParser {
| `- note: protocol 'SVGParser' does not conform to the 'Sendable' protocol
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:101:21: warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
99 | self?.addSublayer(svgLayer)
100 | }
101 | completion(svgLayer)
| |- warning: capture of 'completion' with non-sendable type '(SVGLayer) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:92:47: warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
90 |
91 | DispatchQueue.global(qos: .userInitiated).async {
92 | guard let layerCopy = svgLayer.svgLayerCopy else {
| `- warning: capture of 'svgLayer' with non-sendable type 'SVGLayer' in a '@Sendable' closure
93 | return
94 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:12: note: class 'SVGLayer' does not conform to the 'Sendable' protocol
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- note: class 'SVGLayer' does not conform to the 'Sendable' protocol
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[32/51] Compiling SwiftSVG ParsesAsynchronously.swift
[33/51] Compiling SwiftSVG SVGCircle.swift
[34/51] Compiling SwiftSVG SVGContainerElement.swift
[35/51] Compiling SwiftSVG SVGElement.swift
[36/51] Compiling SwiftSVG SVGEllipse.swift
[37/51] Compiling SwiftSVG SVGView.swift
[38/51] Compiling SwiftSVG UIBezierPath+SVG.swift
[39/51] Compiling SwiftSVG UIView+SVG.swift
[40/51] Compiling SwiftSVG DelaysApplyingAttributes.swift
[41/51] Compiling SwiftSVG Fillable.swift
[42/51] Compiling SwiftSVG SVGGroup.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:28: warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| |- warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'groupAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:102:43: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
100 | let concurrent = DispatchQueue(label: "com.straussmade.swiftsvg.path.concurrent", attributes: .concurrent)
101 |
102 | concurrent.async(execute: parsePathClosure)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:104:38: warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
38 | Concrete implementation that creates a `CAShapeLayer` from a `<path>` element and its attributes
39 | */
40 | final class SVGPath: SVGShapeElement, ParsesAsynchronously, DelaysApplyingAttributes {
| `- note: class 'SVGPath' does not conform to the 'Sendable' protocol
41 |
42 | /// :nodoc:
:
102 | concurrent.async(execute: parsePathClosure)
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
| `- warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
105 | this.svgLayer.path = pathDPath.cgPath
106 | this.applyDelayedAttributes()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:105:42: warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
105 | this.svgLayer.path = pathDPath.cgPath
| `- warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
106 | this.applyDelayedAttributes()
107 | this.asyncParseManager?.finishedProcessing(this.svgLayer)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
[43/51] Compiling SwiftSVG SVGLine.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:28: warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| |- warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'groupAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:102:43: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
100 | let concurrent = DispatchQueue(label: "com.straussmade.swiftsvg.path.concurrent", attributes: .concurrent)
101 |
102 | concurrent.async(execute: parsePathClosure)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:104:38: warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
38 | Concrete implementation that creates a `CAShapeLayer` from a `<path>` element and its attributes
39 | */
40 | final class SVGPath: SVGShapeElement, ParsesAsynchronously, DelaysApplyingAttributes {
| `- note: class 'SVGPath' does not conform to the 'Sendable' protocol
41 |
42 | /// :nodoc:
:
102 | concurrent.async(execute: parsePathClosure)
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
| `- warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
105 | this.svgLayer.path = pathDPath.cgPath
106 | this.applyDelayedAttributes()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:105:42: warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
105 | this.svgLayer.path = pathDPath.cgPath
| `- warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
106 | this.applyDelayedAttributes()
107 | this.asyncParseManager?.finishedProcessing(this.svgLayer)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
[44/51] Compiling SwiftSVG SVGPath.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:28: warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| |- warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'groupAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:102:43: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
100 | let concurrent = DispatchQueue(label: "com.straussmade.swiftsvg.path.concurrent", attributes: .concurrent)
101 |
102 | concurrent.async(execute: parsePathClosure)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:104:38: warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
38 | Concrete implementation that creates a `CAShapeLayer` from a `<path>` element and its attributes
39 | */
40 | final class SVGPath: SVGShapeElement, ParsesAsynchronously, DelaysApplyingAttributes {
| `- note: class 'SVGPath' does not conform to the 'Sendable' protocol
41 |
42 | /// :nodoc:
:
102 | concurrent.async(execute: parsePathClosure)
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
| `- warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
105 | this.svgLayer.path = pathDPath.cgPath
106 | this.applyDelayedAttributes()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:105:42: warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
105 | this.svgLayer.path = pathDPath.cgPath
| `- warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
106 | this.applyDelayedAttributes()
107 | this.asyncParseManager?.finishedProcessing(this.svgLayer)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
[45/51] Compiling SwiftSVG SVGPolygon.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:28: warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| |- warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'groupAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:102:43: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
100 | let concurrent = DispatchQueue(label: "com.straussmade.swiftsvg.path.concurrent", attributes: .concurrent)
101 |
102 | concurrent.async(execute: parsePathClosure)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:104:38: warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
38 | Concrete implementation that creates a `CAShapeLayer` from a `<path>` element and its attributes
39 | */
40 | final class SVGPath: SVGShapeElement, ParsesAsynchronously, DelaysApplyingAttributes {
| `- note: class 'SVGPath' does not conform to the 'Sendable' protocol
41 |
42 | /// :nodoc:
:
102 | concurrent.async(execute: parsePathClosure)
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
| `- warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
105 | this.svgLayer.path = pathDPath.cgPath
106 | this.applyDelayedAttributes()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:105:42: warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
105 | this.svgLayer.path = pathDPath.cgPath
| `- warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
106 | this.applyDelayedAttributes()
107 | this.asyncParseManager?.finishedProcessing(this.svgLayer)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
[46/51] Compiling SwiftSVG SVGPolyline.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:28: warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| |- warning: static property 'groupAttributes' is not concurrency-safe because non-'Sendable' type '[String : (SVGGroup) -> (String, CAShapeLayer) -> ()]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'groupAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:102:43: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
100 | let concurrent = DispatchQueue(label: "com.straussmade.swiftsvg.path.concurrent", attributes: .concurrent)
101 |
102 | concurrent.async(execute: parsePathClosure)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:104:38: warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
38 | Concrete implementation that creates a `CAShapeLayer` from a `<path>` element and its attributes
39 | */
40 | final class SVGPath: SVGShapeElement, ParsesAsynchronously, DelaysApplyingAttributes {
| `- note: class 'SVGPath' does not conform to the 'Sendable' protocol
41 |
42 | /// :nodoc:
:
102 | concurrent.async(execute: parsePathClosure)
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
| `- warning: capture of 'self' with non-sendable type 'SVGPath?' in a '@Sendable' closure
105 | this.svgLayer.path = pathDPath.cgPath
106 | this.applyDelayedAttributes()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:105:42: warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
103 | concurrent.async(flags: .barrier) { [weak self] in
104 | guard var this = self else { return }
105 | this.svgLayer.path = pathDPath.cgPath
| `- warning: capture of 'pathDPath' with non-sendable type 'UIBezierPath' (aka 'NSBezierPath') in a '@Sendable' closure
106 | this.applyDelayedAttributes()
107 | this.asyncParseManager?.finishedProcessing(this.svgLayer)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
[47/51] Compiling SwiftSVG Identifiable.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:42:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
37 | A minimal in-memory cache class for caching `SVGLayer`s. The `default` singleton is the default cache used and you can optionally create your own static singleton through an extension.
38 | */
39 | open class SVGCache {
| `- note: class 'SVGCache' does not conform to the 'Sendable' protocol
40 |
41 | /// A singleton object that is the default store for `SVGlayer`s
42 | public static let `default` = SVGCache()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// :nodoc:
[48/51] Compiling SwiftSVG Strokable.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:42:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
37 | A minimal in-memory cache class for caching `SVGLayer`s. The `default` singleton is the default cache used and you can optionally create your own static singleton through an extension.
38 | */
39 | open class SVGCache {
| `- note: class 'SVGCache' does not conform to the 'Sendable' protocol
40 |
41 | /// A singleton object that is the default store for `SVGlayer`s
42 | public static let `default` = SVGCache()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// :nodoc:
[49/51] Compiling SwiftSVG Stylable.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:42:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
37 | A minimal in-memory cache class for caching `SVGLayer`s. The `default` singleton is the default cache used and you can optionally create your own static singleton through an extension.
38 | */
39 | open class SVGCache {
| `- note: class 'SVGCache' does not conform to the 'Sendable' protocol
40 |
41 | /// A singleton object that is the default store for `SVGlayer`s
42 | public static let `default` = SVGCache()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// :nodoc:
[50/51] Compiling SwiftSVG Transformable.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:42:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
37 | A minimal in-memory cache class for caching `SVGLayer`s. The `default` singleton is the default cache used and you can optionally create your own static singleton through an extension.
38 | */
39 | open class SVGCache {
| `- note: class 'SVGCache' does not conform to the 'Sendable' protocol
40 |
41 | /// A singleton object that is the default store for `SVGlayer`s
42 | public static let `default` = SVGCache()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// :nodoc:
[51/51] Compiling SwiftSVG SVGCache.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:42:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
37 | A minimal in-memory cache class for caching `SVGLayer`s. The `default` singleton is the default cache used and you can optionally create your own static singleton through an extension.
38 | */
39 | open class SVGCache {
| `- note: class 'SVGCache' does not conform to the 'Sendable' protocol
40 |
41 | /// A singleton object that is the default store for `SVGlayer`s
42 | public static let `default` = SVGCache()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// :nodoc:
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/46] Emitting module SwiftSVG
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[3/50] Compiling SwiftSVG ParsesAsynchronously.swift
[4/50] Compiling SwiftSVG SVGCircle.swift
[5/50] Compiling SwiftSVG SVGContainerElement.swift
[6/50] Compiling SwiftSVG SVGElement.swift
[7/50] Compiling SwiftSVG SVGEllipse.swift
[8/50] Compiling SwiftSVG Data+CacheKey.swift
[9/50] Compiling SwiftSVG Dictionary+Add.swift
[10/50] Compiling SwiftSVG Dictionary+JSON.swift
[11/50] Compiling SwiftSVG DispatchQueue+Extensions.swift
[12/50] Compiling SwiftSVG FloatingPoint+DegreesRadians.swift
[13/50] Compiling SwiftSVG SVGRectangle.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[14/50] Compiling SwiftSVG SVGRootElement.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[15/50] Compiling SwiftSVG SVGShapeElement.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[16/50] Compiling SwiftSVG BinaryFloatingPoint+ParseLengthString.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[17/50] Compiling SwiftSVG CALayer+Sublayers.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
44 | Helper function that applies the given closure on all sublayers of a given type
45 | */
46 | open func applyOnSublayers<T: CALayer>(ofType: T.Type, closure: (T) -> ()) {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[18/50] Compiling SwiftSVG CrossPlatform.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[19/50] Compiling SwiftSVG NSBezierPath+CrossPlatform.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[20/50] Compiling SwiftSVG CALayer+SVG.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[21/50] Compiling SwiftSVG CAShapeLayer+SVG.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[22/50] Compiling SwiftSVG SVGLayer.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift:42:17: error: switch must be exhaustive
40 | for i in 0 ..< self.elementCount {
41 | let type = self.element(at: i, associatedPoints: points)
42 | switch type {
| |- error: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| |- note: handle unknown values using "@unknown default"
| `- note: add missing cases
43 | case .moveTo:
44 | path.move(to: points[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:99:25: warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
97 |
98 | DispatchQueue.main.safeAsync {
99 | self?.addSublayer(svgLayer)
| `- warning: capture of 'self' with non-sendable type 'Self?' in an isolated closure; this is an error in the Swift 6 language mode
100 | }
101 | completion(svgLayer)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:91:45: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
| `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[23/50] Compiling SwiftSVG Print.swift
[24/50] Compiling SwiftSVG Scalar+FromByteArray.swift
[25/50] Compiling SwiftSVG Stack.swift
[26/50] Compiling SwiftSVG String+Subscript.swift
[27/50] Compiling SwiftSVG String+Trim.swift
[28/50] Compiling SwiftSVG SVGGroup.swift
[29/50] Compiling SwiftSVG SVGLine.swift
[30/50] Compiling SwiftSVG SVGPath.swift
[31/50] Compiling SwiftSVG SVGPolygon.swift
[32/50] Compiling SwiftSVG SVGPolyline.swift
[33/50] Compiling SwiftSVG Identifiable.swift
[34/50] Compiling SwiftSVG Strokable.swift
[35/50] Compiling SwiftSVG Stylable.swift
[36/50] Compiling SwiftSVG Transformable.swift
[37/50] Compiling SwiftSVG SVGCache.swift
[38/50] Compiling SwiftSVG SVGView.swift
[39/50] Compiling SwiftSVG UIBezierPath+SVG.swift
[40/50] Compiling SwiftSVG UIView+SVG.swift
[41/50] Compiling SwiftSVG DelaysApplyingAttributes.swift
[42/50] Compiling SwiftSVG Fillable.swift
[43/50] Compiling SwiftSVG UIColor+Extensions.swift
[44/50] Compiling SwiftSVG Unown.swift
[45/50] Compiling SwiftSVG CoordinateLexer.swift
[46/50] Compiling SwiftSVG PathCommand.swift
[47/50] Compiling SwiftSVG PathDLexer.swift
[48/50] Compiling SwiftSVG NSXMLSVGParser.swift
[49/50] Compiling SwiftSVG SVGParser.swift
[50/50] Compiling SwiftSVG SVGParserSupportedElements.swift
BUILD FAILURE 6.1 macosSpm