The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftSVG, reference master (88b9ee), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:21:15 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mchoe/SwiftSVG
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 88b9ee0 Merge pull request #161 from okipol88/fix/cssColorNamesMissing
Cloned https://github.com/mchoe/SwiftSVG.git
Revision (git rev-parse @):
88b9ee086b29019e35f6f49c8e30e5552eb8fa9d
SUCCESS checkout https://github.com/mchoe/SwiftSVG.git at master
========================================
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 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>
[10/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>
[11/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>
[12/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>
[13/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>
[14/51] Compiling SwiftSVG Print.swift
[15/51] Compiling SwiftSVG Scalar+FromByteArray.swift
[16/51] Compiling SwiftSVG Stack.swift
[17/51] Compiling SwiftSVG String+Subscript.swift
[18/51] Compiling SwiftSVG String+Trim.swift
[19/51] Compiling SwiftSVG ParsesAsynchronously.swift
[20/51] Compiling SwiftSVG SVGCircle.swift
[21/51] Compiling SwiftSVG SVGContainerElement.swift
[22/51] Compiling SwiftSVG SVGElement.swift
[23/51] Compiling SwiftSVG SVGEllipse.swift
[24/51] Compiling SwiftSVG UIColor+Extensions.swift
[25/51] Compiling SwiftSVG Unown.swift
[26/51] Compiling SwiftSVG CoordinateLexer.swift
[27/51] Compiling SwiftSVG PathCommand.swift
[28/51] Compiling SwiftSVG PathDLexer.swift
[29/51] Compiling SwiftSVG NSXMLSVGParser.swift
[30/51] Compiling SwiftSVG SVGParser.swift
[31/51] Compiling SwiftSVG SVGParserSupportedElements.swift
[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 Identifiable.swift
[38/51] Compiling SwiftSVG Strokable.swift
[39/51] Compiling SwiftSVG Stylable.swift
[40/51] Compiling SwiftSVG Transformable.swift
[41/51] Compiling SwiftSVG SVGCache.swift
[42/51] Compiling SwiftSVG SVGView.swift
[43/51] Compiling SwiftSVG UIBezierPath+SVG.swift
[44/51] Compiling SwiftSVG UIView+SVG.swift
[45/51] Compiling SwiftSVG DelaysApplyingAttributes.swift
[46/51] Compiling SwiftSVG Fillable.swift
[47/51] Compiling SwiftSVG SVGGroup.swift
[48/51] Compiling SwiftSVG SVGLine.swift
[49/51] Compiling SwiftSVG SVGPath.swift
[50/51] Compiling SwiftSVG SVGPolygon.swift
[51/51] Compiling SwiftSVG SVGPolyline.swift
BUILD FAILURE 6.2 macosSpm