The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SVGKit with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SVGKit/SVGKit.git
Reference: 3.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/SVGKit/SVGKit
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 58152b9 修复加载某些SVG图片,闪退的Bug (#714)
Cloned https://github.com/SVGKit/SVGKit.git into spi-builder-workspace
58152b9f7c85eab239160b36ffdfd364aa43d666
SUCCESS checkout https://github.com/SVGKit/SVGKit.git at 3.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/CocoaLumberjack/CocoaLumberjack.git from cache
Fetched https://github.com/CocoaLumberjack/CocoaLumberjack.git (0.25s)
Computing version for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Computed https://github.com/CocoaLumberjack/CocoaLumberjack.git at 3.8.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git (0.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.03s)
Creating working copy for https://github.com/CocoaLumberjack/CocoaLumberjack.git
Working copy of https://github.com/CocoaLumberjack/CocoaLumberjack.git resolved at 3.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Building for debugging...
[0/105] Compiling SVGKSourceString.m
[1/105] Compiling SVGKit SVGKSource.m
[2/105] Compiling SVGKInlineResource.m
[3/105] Compiling SVGKSourceNSData.m
[4/105] Compiling SVGTextLayer.m
[5/105] Compiling SVGKSourceURL.m
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SVGKit.m:16:35: warning: 'DDASLLogger' is deprecated: first deprecated in macOS 10.12 - Use DDOSLogger instead [-Wdeprecated-declarations]
    [DDLog addLogger:[DDASLLogger sharedInstance]];
                                  ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/CocoaLumberjack/Sources/CocoaLumberjack/include/CocoaLumberjack/DDASLLogger.h:47:12: note: 'DDASLLogger' has been explicitly marked deprecated here
@interface DDASLLogger : DDAbstractLogger <DDLogger>
           ^
1 warning generated.
[6/105] Compiling SVGKit SVGKit.m
[7/105] Compiling SVGKPattern.m
[8/105] Compiling CGPathAdditions.m
[9/105] Compiling SVGKLayer.m
[10/105] Compiling SVGGradientLayer.m
[11/105] Compiling CAShapeLayerWithHitTest.m
[12/105] Compiling SVGUtils.m
[13/105] Compiling CAShapeLayerWithClipRender.m
[14/105] Compiling CALayerWithChildHitTest.m
[15/105] Compiling CALayerWithClipRender.m
[16/105] Compiling SVGKit SVGKImage.m
[17/105] Compiling CALayer+RecursiveClone.m
[18/105] Compiling SVGKSourceLocalFile.m
[19/105] Compiling SVGKPointsAndPathsParser.m
[20/105] Compiling SVGKParseResult.m
[21/105] Compiling SVGKParserStyles.m
[22/105] Compiling SVGKParserGradient.m
[23/105] Compiling SVGKParserPatternsAndGradients.m
[24/105] Compiling SVGKParserSVG.m
[25/105] Compiling SVGKParserDOM.m
[26/105] Compiling SVGKParserDefsAndUse.m
[27/105] Compiling NSData+NSInputStream.m
[28/105] Compiling NSCharacterSet+SVGKExtensions.m
[29/105] Compiling SVGKImage+CGContext.m
[30/105] Compiling SVGKExporterUIImage.m
[31/105] Compiling SVGKImageView.m
[32/105] Compiling SVGKParser.m
[33/105] Compiling SVGKFastImageView.m
[34/105] Compiling SVGKLayeredImageView.m
[35/105] Compiling SVGTitleElement.m
[36/105] Compiling SVGKExporterNSImage.m
[37/105] Compiling TinySVGTextAreaElement.m
[38/105] Compiling SVGSwitchElement.m
[39/105] Compiling SVGKExporterNSData.m
[40/105] Compiling SVGStyleElement.m
[41/105] Compiling SVGPolylineElement.m
[42/105] Compiling SVGRectElement.m
[43/105] Compiling SVGTextElement.m
[44/105] Compiling SVGSVGElement.m
[45/105] Compiling SVGPolygonElement.m
[46/105] Compiling SVGPathElement.m
[47/105] Compiling SVGRadialGradientElement.m
[48/105] Compiling SVGLinearGradientElement.m
[49/105] Compiling SVGLineElement.m
[50/105] Compiling SVGGroupElement.m
[51/105] Compiling SVGEllipseElement.m
[52/105] Compiling SVGImageElement.m
[53/105] Compiling SVGDescriptionElement.m
[54/105] Compiling SVGGradientStop.m
[55/105] Compiling SVGGradientElement.m
[56/105] Compiling SVGCircleElement.m
[57/105] Compiling SVGPreserveAspectRatio.m
[58/105] Compiling SVGUseElement.m
[59/105] Compiling SVGTransform.m
[60/105] Compiling SVGTextContentElement.m
[61/105] Compiling BaseClassForAllSVGBasicShapes.m
[62/105] Compiling SVGTextPositioningElement.m
[63/105] Compiling SVGElement.m
[64/105] Compiling SVGRect.m
[65/105] Compiling SVGPoint.m
[66/105] Compiling SVGMatrix.m
[67/105] Compiling SVGElementInstanceList.m
[68/105] Compiling SVGGElement.m
[69/105] Compiling SVGElementInstance.m
[70/105] Compiling SVGDefsElement.m
[71/105] Compiling SVGDocument.m
[72/105] Compiling SVGLength.m
[73/105] Compiling SVGAnimatedPreserveAspectRatio.m
[73/105] Compiling SVGHelperUtilities.m
[75/105] Compiling SVGAngle.m
[76/105] Compiling Text.m
[77/105] Compiling StyleSheetList.m
[78/105] Compiling StyleSheet.m
[79/105] Compiling ProcessingInstruction.m
[80/105] Compiling SVGClipPathElement.m
[81/105] Compiling NodeList.m
[82/105] Compiling MediaList.m
[83/105] Compiling NamedNodeMap.m
[84/105] Compiling Node.m
[85/105] Compiling EntityReference.m
[86/105] Compiling DocumentFragment.m
[87/105] Compiling DocumentType.m
[88/105] Compiling Element.m
[89/105] Compiling DOMHelperUtilities.m
[90/105] Compiling CharacterData.m
[91/105] Compiling Comment.m
[92/105] Compiling Document.m
[93/105] Compiling CSSValueList.m
[94/105] Compiling CSSValue.m
[95/105] Compiling CSSStyleSheet.m
[96/105] Compiling CSSStyleRule.m
[97/105] Compiling CSSRuleList.m
[98/105] Compiling CSSPrimitiveValue.m
[99/105] Compiling CSSRule.m
[100/105] Compiling Attr.m
[101/105] Compiling AppleSucksDOMImplementation.m
[102/105] Compiling CSSStyleDeclaration.m
[103/105] Compiling CDATASection.m
[104/105] Compiling SVGKImageRep.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/107] Emitting module SVGKitSwift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var url:URL
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var iconSize:CGFloat
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> SVGKFastImageView {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
struct SVGKFastImageViewSUI:UIViewRepresentable
                            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
    static var previews: some View {
                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:16: note: add @available attribute to enclosing static property
    static var previews: some View {
               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:27:8: note: add @available attribute to enclosing struct
struct SVGImage_Previews: PreviewProvider {
       ^
[107/107] Compiling SVGKitSwift SVGKFastImageViewSUI.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/include/SVGKit.h"
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/include/SVGKit.h:177:1: 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:
#import "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/include/SVGKit.h"
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/include/SVGKit.h:177:1: warning: umbrella header for module 'SVGKit' does not include header 'SVGKExporterUIImage.h'

^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var url:URL
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var iconSize:CGFloat
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> SVGKFastImageView {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
struct SVGKFastImageViewSUI:UIViewRepresentable
                            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
    static var previews: some View {
                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:16: note: add @available attribute to enclosing static property
    static var previews: some View {
               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:27:8: note: add @available attribute to enclosing struct
struct SVGImage_Previews: PreviewProvider {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:29:9: error: static method 'buildExpression' requires that 'SVGKFastImageViewSUI' conform to 'View'
        SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
        ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'SVGKFastImageViewSUI'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module SVGKitSwift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var url:URL
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var iconSize:CGFloat
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> SVGKFastImageView {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
struct SVGKFastImageViewSUI:UIViewRepresentable
                            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
    static var previews: some View {
                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:16: note: add @available attribute to enclosing static property
    static var previews: some View {
               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:27:8: note: add @available attribute to enclosing struct
struct SVGImage_Previews: PreviewProvider {
       ^
[2/2] Compiling SVGKitSwift SVGKFastImageViewSUI.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var url:URL
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
    @Binding var iconSize:CGFloat
     ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:8: note: add @available attribute to enclosing struct
struct SVGKFastImageViewSUI:UIViewRepresentable
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:11:30: error: cannot find type 'Context' in scope
    func makeUIView(context: Context) -> SVGKFastImageView {
                             ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:17:61: error: cannot find type 'Context' in scope
    func updateUIView(_ uiView: SVGKFastImageView, context: Context) {
                                                            ^~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:6:29: error: cannot find type 'UIViewRepresentable' in scope
struct SVGKFastImageViewSUI:UIViewRepresentable
                            ^~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:31: error: 'View' is only available in macOS 10.15 or newer
    static var previews: some View {
                              ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:28:16: note: add @available attribute to enclosing static property
    static var previews: some View {
               ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:27:8: note: add @available attribute to enclosing struct
struct SVGImage_Previews: PreviewProvider {
       ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/SwiftUI additions/SVGKFastImageViewSUI.swift:29:9: error: static method 'buildExpression' requires that 'SVGKFastImageViewSUI' conform to 'View'
        SVGKFastImageViewSUI(url: .constant(URL(string:"https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg")!), iconSize: .constant(50.0))
        ^
SwiftUI.ViewBuilder:3:24: note: where 'Content' = 'SVGKFastImageViewSUI'
    public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
                       ^
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm