The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SVGKit, reference 3.0.2 (0e14a7), with Swift 6.1 for macOS (SPM) on 27 Oct 2026 17:48:32 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SVGKit/SVGKit.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SVGKit/SVGKit
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at 0e14a78 [3.0.1] Cap CocoaLumberjack at 3.9.1 and fix ARM64 simulator loading (#883)
Cloned https://github.com/SVGKit/SVGKit.git
Revision (git rev-parse @):
0e14a78b7d1e3a3b0d5920203802dbeb0ca49b37
SUCCESS checkout https://github.com/SVGKit/SVGKit.git at 3.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SVGKit/SVGKit.git
https://github.com/SVGKit/SVGKit.git
{
  "dependencies" : [
    {
      "identity" : "cocoalumberjack",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.7.0",
            "upper_bound" : "3.9.2"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CocoaLumberjack/CocoaLumberjack.git"
    }
  ],
  "manifest_display_name" : "SVGKit",
  "name" : "SVGKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SVGKit",
      "targets" : [
        "SVGKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SVGKitSwift",
      "targets" : [
        "SVGKitSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SVGKitSwift",
      "module_type" : "SwiftTarget",
      "name" : "SVGKitSwift",
      "path" : "Source/SwiftUI additions",
      "product_memberships" : [
        "SVGKitSwift"
      ],
      "sources" : [
        "SVGKFastImageViewSUI.swift"
      ],
      "target_dependencies" : [
        "SVGKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SVGKit",
      "module_type" : "ClangTarget",
      "name" : "SVGKit",
      "path" : "Source",
      "product_dependencies" : [
        "CocoaLumberjack"
      ],
      "product_memberships" : [
        "SVGKit",
        "SVGKitSwift"
      ],
      "sources" : [
        "AppKit additions/SVGKImageRep.m",
        "DOM classes/Core DOM/AppleSucksDOMImplementation.m",
        "DOM classes/Core DOM/Attr.m",
        "DOM classes/Core DOM/CDATASection.m",
        "DOM classes/Core DOM/CSSPrimitiveValue.m",
        "DOM classes/Core DOM/CSSRule.m",
        "DOM classes/Core DOM/CSSRuleList.m",
        "DOM classes/Core DOM/CSSStyleDeclaration.m",
        "DOM classes/Core DOM/CSSStyleRule.m",
        "DOM classes/Core DOM/CSSStyleSheet.m",
        "DOM classes/Core DOM/CSSValue.m",
        "DOM classes/Core DOM/CSSValueList.m",
        "DOM classes/Core DOM/CharacterData.m",
        "DOM classes/Core DOM/Comment.m",
        "DOM classes/Core DOM/DOMHelperUtilities.m",
        "DOM classes/Core DOM/Document.m",
        "DOM classes/Core DOM/DocumentFragment.m",
        "DOM classes/Core DOM/DocumentType.m",
        "DOM classes/Core DOM/Element.m",
        "DOM classes/Core DOM/EntityReference.m",
        "DOM classes/Core DOM/MediaList.m",
        "DOM classes/Core DOM/NamedNodeMap.m",
        "DOM classes/Core DOM/Node.m",
        "DOM classes/Core DOM/NodeList.m",
        "DOM classes/Core DOM/ProcessingInstruction.m",
        "DOM classes/Core DOM/StyleSheet.m",
        "DOM classes/Core DOM/StyleSheetList.m",
        "DOM classes/Core DOM/Text.m",
        "DOM classes/SVG-DOM/SVGAngle.m",
        "DOM classes/SVG-DOM/SVGAnimatedPreserveAspectRatio.m",
        "DOM classes/SVG-DOM/SVGClipPathElement.m",
        "DOM classes/SVG-DOM/SVGDefsElement.m",
        "DOM classes/SVG-DOM/SVGDocument.m",
        "DOM classes/SVG-DOM/SVGElementInstance.m",
        "DOM classes/SVG-DOM/SVGElementInstanceList.m",
        "DOM classes/SVG-DOM/SVGGElement.m",
        "DOM classes/SVG-DOM/SVGHelperUtilities.m",
        "DOM classes/SVG-DOM/SVGLength.m",
        "DOM classes/SVG-DOM/SVGMatrix.m",
        "DOM classes/SVG-DOM/SVGPoint.m",
        "DOM classes/SVG-DOM/SVGPreserveAspectRatio.m",
        "DOM classes/SVG-DOM/SVGRect.m",
        "DOM classes/SVG-DOM/SVGTextContentElement.m",
        "DOM classes/SVG-DOM/SVGTextPositioningElement.m",
        "DOM classes/SVG-DOM/SVGTransform.m",
        "DOM classes/SVG-DOM/SVGUseElement.m",
        "DOM classes/Unported or Partial DOM/BaseClassForAllSVGBasicShapes.m",
        "DOM classes/Unported or Partial DOM/SVGCircleElement.m",
        "DOM classes/Unported or Partial DOM/SVGDescriptionElement.m",
        "DOM classes/Unported or Partial DOM/SVGElement.m",
        "DOM classes/Unported or Partial DOM/SVGEllipseElement.m",
        "DOM classes/Unported or Partial DOM/SVGGradientElement.m",
        "DOM classes/Unported or Partial DOM/SVGGradientStop.m",
        "DOM classes/Unported or Partial DOM/SVGGroupElement.m",
        "DOM classes/Unported or Partial DOM/SVGImageElement.m",
        "DOM classes/Unported or Partial DOM/SVGLineElement.m",
        "DOM classes/Unported or Partial DOM/SVGLinearGradientElement.m",
        "DOM classes/Unported or Partial DOM/SVGPathElement.m",
        "DOM classes/Unported or Partial DOM/SVGPolygonElement.m",
        "DOM classes/Unported or Partial DOM/SVGPolylineElement.m",
        "DOM classes/Unported or Partial DOM/SVGRadialGradientElement.m",
        "DOM classes/Unported or Partial DOM/SVGRectElement.m",
        "DOM classes/Unported or Partial DOM/SVGSVGElement.m",
        "DOM classes/Unported or Partial DOM/SVGStyleElement.m",
        "DOM classes/Unported or Partial DOM/SVGSwitchElement.m",
        "DOM classes/Unported or Partial DOM/SVGTextElement.m",
        "DOM classes/Unported or Partial DOM/SVGTitleElement.m",
        "DOM classes/Unported or Partial DOM/TinySVGTextAreaElement.m",
        "Exporters/SVGKExporterNSData.m",
        "Exporters/SVGKExporterNSImage.m",
        "Exporters/SVGKExporterUIImage.m",
        "Exporters/SVGKImage+CGContext.m",
        "Foundation additions/NSCharacterSet+SVGKExtensions.m",
        "Foundation additions/NSData+NSInputStream.m",
        "ImageViews/SVGKFastImageView.m",
        "ImageViews/SVGKImageView.m",
        "ImageViews/SVGKLayeredImageView.m",
        "Parsers/Parser Extensions/SVGKParserDOM.m",
        "Parsers/Parser Extensions/SVGKParserDefsAndUse.m",
        "Parsers/Parser Extensions/SVGKParserGradient.m",
        "Parsers/Parser Extensions/SVGKParserPatternsAndGradients.m",
        "Parsers/Parser Extensions/SVGKParserSVG.m",
        "Parsers/Parser Extensions/SVGKParserStyles.m",
        "Parsers/SVGKParseResult.m",
        "Parsers/SVGKParser.m",
        "Parsers/SVGKPointsAndPathsParser.m",
        "QuartzCore additions/CALayer+RecursiveClone.m",
        "QuartzCore additions/CALayerWithChildHitTest.m",
        "QuartzCore additions/CALayerWithClipRender.m",
        "QuartzCore additions/CAShapeLayerWithClipRender.m",
        "QuartzCore additions/CAShapeLayerWithHitTest.m",
        "QuartzCore additions/CGPathAdditions.m",
        "QuartzCore additions/SVGGradientLayer.m",
        "QuartzCore additions/SVGKLayer.m",
        "QuartzCore additions/SVGTextLayer.m",
        "SVGKImage.m",
        "SVGKSource.m",
        "SVGKit.m",
        "Sources/SVGKSourceLocalFile.m",
        "Sources/SVGKSourceNSData.m",
        "Sources/SVGKSourceString.m",
        "Sources/SVGKSourceURL.m",
        "Utils/SVGKInlineResource.m",
        "Utils/SVGKPattern.m",
        "Utils/SVGUtils.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/107] Compiling CSSPrimitiveValue.m
[1/107] Compiling CSSStyleSheet.m
[1/107] Write sources
[1/107] Compiling CDATASection.m
[1/107] Compiling CSSRule.m
[5/107] Compiling CSSRuleList.m
[6/107] Compiling CharacterData.m
[7/107] Write swift-version-2F0A5646E1D333AE.txt
[8/107] Compiling SVGKSourceString.m
[9/107] Compiling CSSValue.m
[10/107] Compiling CSSStyleRule.m
[11/107] Compiling SVGKit SVGKSource.m
[12/107] Compiling SVGKInlineResource.m
[13/107] Compiling SVGUtils.m
[14/107] Compiling SVGKSourceURL.m
[15/107] Compiling CSSStyleDeclaration.m
[16/107] Compiling SVGKSourceNSData.m
[17/107] Compiling SVGTextLayer.m
[18/107] Compiling CSSValueList.m
/Users/admin/builder/spi-builder-workspace/Source/SVGKit.m:16:35: warning: 'DDASLLogger' is deprecated: first deprecated in macOS 10.12 - Use DDOSLogger instead [-Wdeprecated-declarations]
   16 |     [DDLog addLogger:[DDASLLogger sharedInstance]];
      |                                   ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogger.h:47:12: note: 'DDASLLogger' has been explicitly marked deprecated here
   47 | @interface DDASLLogger : DDAbstractLogger <DDLogger>
      |            ^
1 warning generated.
[19/107] Compiling SVGKit SVGKit.m
[20/107] Compiling SVGKPattern.m
[21/107] Compiling SVGKSourceLocalFile.m
[22/107] Compiling CGPathAdditions.m
[23/107] Compiling SVGKit SVGKImage.m
[24/107] Compiling SVGKLayer.m
[25/107] Compiling CAShapeLayerWithClipRender.m
[26/107] Compiling SVGGradientLayer.m
[27/107] Compiling CALayerWithChildHitTest.m
[28/107] Compiling CAShapeLayerWithHitTest.m
[29/107] Compiling CALayer+RecursiveClone.m
[30/107] Compiling SVGKPointsAndPathsParser.m
[31/107] Compiling CALayerWithClipRender.m
[32/107] Compiling SVGKParseResult.m
[33/107] Compiling SVGKParserStyles.m
[34/107] Compiling SVGKParserPatternsAndGradients.m
[35/107] Compiling SVGKParser.m
[36/107] Compiling SVGKParserGradient.m
[37/107] Compiling SVGKParserDefsAndUse.m
[38/107] Compiling SVGKParserDOM.m
[39/107] Compiling SVGKParserSVG.m
[40/107] Compiling SVGKImageView.m
[41/107] Compiling SVGKLayeredImageView.m
[42/107] Compiling NSData+NSInputStream.m
[43/107] Compiling SVGKFastImageView.m
[44/107] Compiling NSCharacterSet+SVGKExtensions.m
[45/107] Compiling TinySVGTextAreaElement.m
[46/107] Compiling SVGKExporterUIImage.m
[47/107] Compiling SVGKImage+CGContext.m
[48/107] Compiling SVGKExporterNSImage.m
[49/107] Compiling SVGKExporterNSData.m
[50/107] Compiling SVGTitleElement.m
[51/107] Compiling SVGTextElement.m
[52/107] Compiling SVGSwitchElement.m
[53/107] Compiling SVGStyleElement.m
[54/107] Compiling SVGRectElement.m
[55/107] Compiling SVGPolylineElement.m
[56/107] Compiling SVGPolygonElement.m
[57/107] Compiling SVGSVGElement.m
[58/107] Compiling SVGRadialGradientElement.m
[59/107] Compiling SVGPathElement.m
[60/107] Compiling SVGLinearGradientElement.m
[61/107] Compiling SVGLineElement.m
[62/107] Compiling SVGGroupElement.m
[63/107] Compiling SVGGradientStop.m
[64/107] Compiling SVGImageElement.m
[65/107] Compiling SVGEllipseElement.m
[66/107] Compiling SVGDescriptionElement.m
[67/107] Compiling SVGGradientElement.m
[68/107] Compiling SVGElement.m
[69/107] Compiling SVGTransform.m
[70/107] Compiling SVGCircleElement.m
[71/107] Compiling SVGUseElement.m
[72/107] Compiling BaseClassForAllSVGBasicShapes.m
[73/107] Compiling SVGTextPositioningElement.m
[74/107] Compiling SVGPreserveAspectRatio.m
[75/107] Compiling SVGTextContentElement.m
[76/107] Compiling SVGPoint.m
[77/107] Compiling SVGMatrix.m
[78/107] Compiling SVGRect.m
[79/107] Compiling SVGGElement.m
[80/107] Compiling SVGLength.m
[81/107] Compiling SVGElementInstanceList.m
[82/107] Compiling SVGElementInstance.m
[83/107] Compiling SVGHelperUtilities.m
[84/107] Compiling SVGAnimatedPreserveAspectRatio.m
[85/107] Compiling SVGDefsElement.m
[86/107] Compiling SVGAngle.m
[87/107] Compiling SVGDocument.m
[88/107] Compiling SVGClipPathElement.m
[89/107] Compiling Text.m
[90/107] Compiling StyleSheetList.m
[91/107] Compiling StyleSheet.m
[92/107] Compiling ProcessingInstruction.m
[93/107] Compiling NodeList.m
[94/107] Compiling Node.m
[95/107] Compiling NamedNodeMap.m
[96/107] Compiling MediaList.m
[97/107] Compiling EntityReference.m
[98/107] Compiling Element.m
[99/107] Compiling DocumentType.m
[100/107] Compiling DocumentFragment.m
[101/107] Compiling DOMHelperUtilities.m
[102/107] Compiling Comment.m
[103/107] Compiling Attr.m
[104/107] Compiling AppleSucksDOMImplementation.m
[105/107] Compiling Document.m
[106/107] Compiling SVGKImageRep.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[108/109] Emitting module SVGKitSwift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 9 |     @Binding var iconSize:CGFloat
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
 9 |     @Binding var iconSize:CGFloat
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
 9 |     @Binding var iconSize:CGFloat
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
   |                              `- error: cannot find type 'Context' in scope
12 |
13 |         let svgImage = SVGKImage(contentsOf: url)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
15 |
16 |     }
17 |     func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
   |                                                             `- error: cannot find type 'Context' in scope
18 |         uiView.image = SVGKImage(contentsOf: url)
19 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
 7 | {
 8 |     @Binding var url:URL
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 |
26 | @available(iOS 13.0, tvOS 13.0, *)
27 | struct SVGImage_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
28 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
29 |         SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
30 |     }
[109/109] Compiling SVGKitSwift SVGKFastImageViewSUI.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Source/include/SVGKit.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Source/include/SVGKit.h:177:1: warning: umbrella header for module 'SVGKit' does not include header 'SVGKDefine_Private.h'
175 | #import "SVGKSourceNSData.h"
176 | #import "SVGKInlineResource.h"
177 |
    | `- warning: umbrella header for module 'SVGKit' does not include header 'SVGKDefine_Private.h'
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/Source/include/SVGKit.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Source/include/SVGKit.h:177:1: warning: umbrella header for module 'SVGKit' does not include header 'SVGKExporterUIImage.h'
175 | #import "SVGKSourceNSData.h"
176 | #import "SVGKInlineResource.h"
177 |
    | `- warning: umbrella header for module 'SVGKit' does not include header 'SVGKExporterUIImage.h'
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 9 |     @Binding var iconSize:CGFloat
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
 9 |     @Binding var iconSize:CGFloat
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
 9 |     @Binding var iconSize:CGFloat
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
   |                              `- error: cannot find type 'Context' in scope
12 |
13 |         let svgImage = SVGKImage(contentsOf: url)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
15 |
16 |     }
17 |     func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
   |                                                             `- error: cannot find type 'Context' in scope
18 |         uiView.image = SVGKImage(contentsOf: url)
19 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
 7 | {
 8 |     @Binding var url:URL
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 |
26 | @available(iOS 13.0, tvOS 13.0, *)
27 | struct SVGImage_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
28 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
29 |         SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
30 |     }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:14:16: warning: call to main actor-isolated initializer 'init(svgkImage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 9 |     @Binding var iconSize:CGFloat
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
   |          `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
12 |
13 |         let svgImage = SVGKImage(contentsOf: url)
14 |         return SVGKFastImageView(svgkImage: svgImage ?? SVGKImage())
   |                `- warning: call to main actor-isolated initializer 'init(svgkImage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 |
16 |     }
/Users/admin/builder/spi-builder-workspace/Source/include/SVGKImageView.h:24:1: note: calls to initializer 'init(svgkImage:)' from outside of its actor context are implicitly asynchronous
22 | @property(nonatomic,readonly) NSTimeInterval timeIntervalForLastReRenderOfSVGFromMemory;
23 |
24 | - (id)initWithSVGKImage:(SVGKImage*) im;
   | |- note: calls to initializer 'init(svgkImage:)' from outside of its actor context are implicitly asynchronous
   | `- note: main actor isolation inferred from inheritance from class 'SVGKImageView'
25 |
26 | @end
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:18:16: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 |     }
17 |     func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
   |          `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
18 |         uiView.image = SVGKImage(contentsOf: url)
   |                `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
19 |
20 |         uiView.image.size = CGSize(width: iconSize,height: iconSize)
/Users/admin/builder/spi-builder-workspace/Source/include/SVGKImageView.h:19:40: note: mutation of this property is only permitted within the actor
17 | @interface SVGKImageView : UIView
18 |
19 | @property(nonatomic,strong) SVGKImage* image;
   |                                        `- note: mutation of this property is only permitted within the actor
20 | @property(nonatomic) BOOL showBorder; /**< mostly for debugging - adds a coloured 1-pixel border around the image */
21 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:20:16: warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 |     }
17 |     func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
   |          `- note: add '@MainActor' to make instance method 'updateUIView(_:context:)' part of global actor 'MainActor'
18 |         uiView.image = SVGKImage(contentsOf: url)
19 |
20 |         uiView.image.size = CGSize(width: iconSize,height: iconSize)
   |                `- warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/Source/include/SVGKImageView.h:19:40: note: property declared here
17 | @interface SVGKImageView : UIView
18 |
19 | @property(nonatomic,strong) SVGKImage* image;
   |                                        `- note: property declared here
20 | @property(nonatomic) BOOL showBorder; /**< mostly for debugging - adds a coloured 1-pixel border around the image */
21 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:29:9: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
27 | struct SVGImage_Previews: PreviewProvider {
28 |     static var previews: some View {
29 |         SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
   |         `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
30 |     }
31 | }
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git
[1/19165] Fetching cocoalumberjack
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache (2.11s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.9.1 (2.64s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (1.44s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.49s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.9.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SVGKitSwift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 9 |     @Binding var iconSize:CGFloat
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
 9 |     @Binding var iconSize:CGFloat
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
 9 |     @Binding var iconSize:CGFloat
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
   |                              `- error: cannot find type 'Context' in scope
12 |
13 |         let svgImage = SVGKImage(contentsOf: url)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
15 |
16 |     }
17 |     func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
   |                                                             `- error: cannot find type 'Context' in scope
18 |         uiView.image = SVGKImage(contentsOf: url)
19 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
 7 | {
 8 |     @Binding var url:URL
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 |
26 | @available(iOS 13.0, tvOS 13.0, *)
27 | struct SVGImage_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
28 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
29 |         SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
30 |     }
[3/3] Compiling SVGKitSwift SVGKFastImageViewSUI.swift
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 9 |     @Binding var iconSize:CGFloat
10 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |        `- note: add @available attribute to enclosing struct
 7 | {
 8 |     @Binding var url:URL
 9 |     @Binding var iconSize:CGFloat
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
 9 |     @Binding var iconSize:CGFloat
10 |
11 |     func makeUIView(context: Context) -> SVGKFastImageView {
   |                              `- error: cannot find type 'Context' in scope
12 |
13 |         let svgImage = SVGKImage(contentsOf: url)
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
15 |
16 |     }
17 |     func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
   |                                                             `- error: cannot find type 'Context' in scope
18 |         uiView.image = SVGKImage(contentsOf: url)
19 |
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
 4 |
 5 | @available(iOS 13.0, tvOS 13.0, *)
 6 | struct SVGKFastImageViewSUI:UIViewRepresentable
   |                             `- error: cannot find type 'UIViewRepresentable' in scope
 7 | {
 8 |     @Binding var url:URL
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
25 |
26 | @available(iOS 13.0, tvOS 13.0, *)
27 | struct SVGImage_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
28 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
29 |         SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
30 |     }
/Users/admin/builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:29:9: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
27 | struct SVGImage_Previews: PreviewProvider {
28 |     static var previews: some View {
29 |         SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
   |         `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
30 |     }
31 | }
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
BUILD FAILURE 6.1 macosSpm