Build Information
Failed to build SwiftSVG, reference v2.3.2 (c3a886
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:21:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mchoe/SwiftSVG.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/47] Emitting module SwiftSVG
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[4/51] Compiling SwiftSVG Data+CacheKey.swift
[5/51] Compiling SwiftSVG Dictionary+Add.swift
[6/51] Compiling SwiftSVG Dictionary+JSON.swift
[7/51] Compiling SwiftSVG DispatchQueue+Extensions.swift
[8/51] Compiling SwiftSVG FloatingPoint+DegreesRadians.swift
[9/51] Compiling SwiftSVG UIColor+Extensions.swift
[10/51] Compiling SwiftSVG Unown.swift
[11/51] Compiling SwiftSVG CoordinateLexer.swift
[12/51] Compiling SwiftSVG PathCommand.swift
[13/51] Compiling SwiftSVG PathDLexer.swift
[14/51] Compiling SwiftSVG NSXMLSVGParser.swift
[15/51] Compiling SwiftSVG SVGParser.swift
[16/51] Compiling SwiftSVG SVGParserSupportedElements.swift
[17/51] Compiling SwiftSVG Print.swift
[18/51] Compiling SwiftSVG Scalar+FromByteArray.swift
[19/51] Compiling SwiftSVG Stack.swift
[20/51] Compiling SwiftSVG String+Subscript.swift
[21/51] Compiling SwiftSVG String+Trim.swift
[22/51] Compiling SwiftSVG Identifiable.swift
[23/51] Compiling SwiftSVG Strokable.swift
[24/51] Compiling SwiftSVG Stylable.swift
[25/51] Compiling SwiftSVG Transformable.swift
[26/51] Compiling SwiftSVG SVGCache.swift
[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/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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/SVGLayer.swift:90:35: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
92 | copiedLayer?.boundingBox = self.boundingBox
93 | return copiedLayer
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[32/51] Compiling SwiftSVG SVGRectangle.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[33/51] Compiling SwiftSVG SVGRootElement.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[34/51] Compiling SwiftSVG SVGShapeElement.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:46:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[35/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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[36/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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
47 | _ = self.sublayers(in: self).map(closure)
48 | }
[37/51] Compiling SwiftSVG SVGGroup.swift
[38/51] Compiling SwiftSVG SVGLine.swift
[39/51] Compiling SwiftSVG SVGPath.swift
[40/51] Compiling SwiftSVG SVGPolygon.swift
[41/51] Compiling SwiftSVG SVGPolyline.swift
[42/51] Compiling SwiftSVG ParsesAsynchronously.swift
[43/51] Compiling SwiftSVG SVGCircle.swift
[44/51] Compiling SwiftSVG SVGContainerElement.swift
[45/51] Compiling SwiftSVG SVGElement.swift
[46/51] Compiling SwiftSVG SVGEllipse.swift
[47/51] Compiling SwiftSVG SVGView.swift
[48/51] Compiling SwiftSVG UIBezierPath+SVG.swift
[49/51] Compiling SwiftSVG UIView+SVG.swift
[50/51] Compiling SwiftSVG DelaysApplyingAttributes.swift
[51/51] Compiling SwiftSVG Fillable.swift
BUILD FAILURE 6.2 macosSpm