The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SVGUIView, reference 0.22.1 (4c8ae8), with Swift 6.1 for macOS (SPM) on 28 Apr 2026 06:53:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nnabeyang/SVGUIView.git
Reference: 0.22.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nnabeyang/SVGUIView
 * tag               0.22.1     -> FETCH_HEAD
HEAD is now at 4c8ae8a v0.22.1
Cloned https://github.com/nnabeyang/SVGUIView.git
Revision (git rev-parse @):
4c8ae8af4de383741acbc7b7a3a4e96e26d0ccf0
SUCCESS checkout https://github.com/nnabeyang/SVGUIView.git at 0.22.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nnabeyang/SVGUIView.git
https://github.com/nnabeyang/SVGUIView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SVGUIView",
  "name" : "SVGUIView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SVGUIView",
      "targets" : [
        "SVGUIView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SVGView",
      "targets" : [
        "SVGView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "_SelectorParserTests",
      "module_type" : "SwiftTarget",
      "name" : "_SelectorParserTests",
      "path" : "Tests/_SelectorParserTests",
      "sources" : [
        "AnPlusBTests.swift",
        "CaseSensitiveTests.swift",
        "DummyParser.swift",
        "SelectorParserTests.swift",
        "TestVisitor.swift"
      ],
      "target_dependencies" : [
        "_SelectorParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "_SelectorParser",
      "module_type" : "SwiftTarget",
      "name" : "_SelectorParser",
      "path" : "Sources/_SelectorParser",
      "product_memberships" : [
        "SVGUIView",
        "SVGView"
      ],
      "sources" : [
        "Attr.swift",
        "Bloom.swift",
        "Builder.swift",
        "Combinator.swift",
        "Component.swift",
        "Context.swift",
        "Element.swift",
        "KleeneValue.swift",
        "LazySplitSequence.swift",
        "Matching.swift",
        "NthSelectorData.swift",
        "Push.swift",
        "RelativeSelector.swift",
        "Selector.swift",
        "SelectorIter.swift",
        "SelectorParser.swift",
        "SelectorVisitor.swift",
        "Utils.swift",
        "Visitor.swift"
      ],
      "target_dependencies" : [
        "_CSSParser"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_SPI",
      "module_type" : "ClangTarget",
      "name" : "_SPI",
      "path" : "Sources/_SPI",
      "product_memberships" : [
        "SVGUIView",
        "SVGView"
      ],
      "sources" : [
        "dummy.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_ICU",
      "module_type" : "ClangTarget",
      "name" : "_ICU",
      "path" : "Sources/_ICU",
      "product_memberships" : [
        "SVGUIView",
        "SVGView"
      ],
      "sources" : [
        "dummy.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_CShims",
      "module_type" : "ClangTarget",
      "name" : "_CShims",
      "path" : "Sources/_CShims",
      "product_memberships" : [
        "SVGUIView",
        "SVGView"
      ],
      "sources" : [
        "_CShims.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_CSSParserTests",
      "module_type" : "SwiftTarget",
      "name" : "_CSSParserTests",
      "path" : "Tests/_CSSParserTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/component_value_list.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/declaration_list.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/one_component_value.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/one_declaration.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/one_rule.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/rule_list.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/stylesheet.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "JSONParser.swift",
        "JSONValue.swift",
        "ParserTests.swift",
        "SerializerTests.swift",
        "TokenizerTests.swift"
      ],
      "target_dependencies" : [
        "_CSSParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "_CSSParser",
      "module_type" : "SwiftTarget",
      "name" : "_CSSParser",
      "path" : "Sources/_CSSParser",
      "product_memberships" : [
        "SVGUIView",
        "SVGView"
      ],
      "sources" : [
        "BlockType.swift",
        "Extensions.swift",
        "Into.swift",
        "Nth.swift",
        "Parser.swift",
        "ParserState.swift",
        "Parsers.swift",
        "Serializer.swift",
        "Token.swift",
        "Tokenizer.swift",
        "Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SVGView",
      "module_type" : "SwiftTarget",
      "name" : "SVGView",
      "path" : "Sources/SVGView",
      "product_memberships" : [
        "SVGView"
      ],
      "sources" : [
        "SVGView.swift"
      ],
      "target_dependencies" : [
        "SVGUIView"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SVGUIViewTests",
      "module_type" : "SwiftTarget",
      "name" : "SVGUIViewTests",
      "path" : "Tests/SVGUIViewTests",
      "sources" : [
        "CSSParserTests.swift",
        "CascadeTests.swift",
        "MatchingTests.swift"
      ],
      "target_dependencies" : [
        "SVGUIView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SVGUIView",
      "module_type" : "SwiftTarget",
      "name" : "SVGUIView",
      "path" : "Sources/SVGUIView",
      "product_memberships" : [
        "SVGUIView",
        "SVGView"
      ],
      "sources" : [
        "Extensions/CGAffineTransform+Extension.swift",
        "Extensions/UIBezierPath+Extension.swift",
        "SVGContext.swift",
        "SVGUIView.swift",
        "SVGUIViewConfiguration.swift",
        "css/AtomString.swift",
        "css/CSSRule.swift",
        "css/Cascade.swift",
        "css/DocumentState.swift",
        "css/ElementState.swift",
        "css/GenericAtomIdent.swift",
        "css/IdentStaticSet.swift",
        "css/LocalNameStaticSet.swift",
        "css/NamespaceStaticSet.swift",
        "css/NonTSPseudoClassImpl.swift",
        "css/Origin.swift",
        "css/PrefixStaticSet.swift",
        "css/PseudoElementImpl.swift",
        "css/SelectorImpl.swift",
        "css/Stylesheet.swift",
        "css/UrlExtraData.swift",
        "element/SVGClipPathElement.swift",
        "element/SVGDefsElement.swift",
        "element/SVGElement.swift",
        "element/SVGGroupElement.swift",
        "element/SVGMaskElement.swift",
        "element/SVGPatternElement.swift",
        "element/SVGSVGElement.swift",
        "element/drawable/SVGCircleElement.swift",
        "element/drawable/SVGEllipse.swift",
        "element/drawable/SVGImageElement.swift",
        "element/drawable/SVGLineElement.swift",
        "element/drawable/SVGPathElement.swift",
        "element/drawable/SVGPolygonElement.swift",
        "element/drawable/SVGPolylineElement.swift",
        "element/drawable/SVGRectElement.swift",
        "element/drawable/SVGTextElement.swift",
        "element/drawable/SVGUseElement.swift",
        "element/filter/SVGFeBlendElement.swift",
        "element/filter/SVGFeFloodElement.swift",
        "element/filter/SVGFeGaussianBlurElement.swift",
        "element/filter/SVGFeMergeElement.swift",
        "element/filter/SVGFeMergeNodeElement.swift",
        "element/filter/SVGFeOffsetElement.swift",
        "element/filter/SVGFilterApplier.swift",
        "element/filter/SVGFilterElement.swift",
        "element/pserver/SVGGradientServer.swift",
        "element/pserver/SVGStopElement.swift",
        "font/CFString+SPI.swift",
        "font/CSSFontSelector.swift",
        "font/Font.swift",
        "font/FontCache.swift",
        "font/FontCacheCoreText.swift",
        "font/FontCascade.swift",
        "font/FontCascadeDescription.swift",
        "font/FontCascadeFonts.swift",
        "font/FontCreationContext.swift",
        "font/FontCreationContextRareData.swift",
        "font/FontDatabase.swift",
        "font/FontDescription.swift",
        "font/FontFamilySpecificationCoreText.swift",
        "font/FontFamilySpecificationCoreTextCache.swift",
        "font/FontFamilySpecificationKey.swift",
        "font/FontGenericFamilies.swift",
        "font/FontInterrogation.swift",
        "font/FontPlatformData.swift",
        "font/FontRanges.swift",
        "font/FontSelectionAlgorithm.swift",
        "font/FontSelectionCapabilities.swift",
        "font/FontSelectionValue.swift",
        "font/FontSelector.swift",
        "font/FontSizeAdjust.swift",
        "font/FontTaggedSettings.swift",
        "font/GlyphData.swift",
        "font/GlyphPage.swift",
        "font/Settings.swift",
        "font/SystemFontDatabaseCoreText.swift",
        "font/UScriptCode.swift",
        "font/UnrealizedCoreTextFont.swift",
        "font/VariationCapabilities .swift",
        "parser/CSSParser.swift",
        "parser/SVGAttributeScanner.swift",
        "parser/SVGParser.swift",
        "parser/SelectorParser.swift",
        "parser/buffer/BufferReader.swift",
        "parser/buffer/BufferView.swift",
        "parser/buffer/BufferViewIndex.swift",
        "parser/css/CSSUnitType.swift",
        "parser/css/Parser.swift",
        "parser/css/values/Color.swift",
        "parser/css/values/Number.swift",
        "parser/css/values/Separator.swift",
        "parser/css/values/Space.swift",
        "parser/css/values/Transform.swift",
        "primitives/PreserveAspectRatio.swift",
        "primitives/SVGClipPath.swift",
        "primitives/SVGElementRect.swift",
        "primitives/SVGFill.swift",
        "primitives/SVGFilter.swift",
        "primitives/SVGLength.swift",
        "primitives/SVGMask.swift",
        "primitives/SVGOpacity.swift",
        "primitives/SVGUIColor.swift",
        "primitives/SVGUIFont.swift",
        "primitives/SVGUIInlineStyle.swift",
        "primitives/SVGUIPoints.swift",
        "primitives/SVGUIStroke.swift",
        "primitives/SVGUIStyle.swift",
        "primitives/TransformOperator.swift"
      ],
      "target_dependencies" : [
        "_SPI",
        "_ICU",
        "_CShims",
        "_CSSParser",
        "_SelectorParser"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.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/8] Write sources
[4/8] Compiling _SPI dummy.cpp
[4/8] Compiling _CShims _CShims.c
[6/8] Compiling _ICU dummy.cpp
[7/8] Write swift-version-2F0A5646E1D333AE.txt
[9/19] Compiling _CSSParser BlockType.swift
[10/19] Compiling _CSSParser Extensions.swift
[11/19] Compiling _CSSParser Into.swift
[12/19] Emitting module _CSSParser
[13/20] Compiling _CSSParser Utils.swift
[14/20] Compiling _CSSParser Serializer.swift
[15/20] Compiling _CSSParser Token.swift
[16/20] Compiling _CSSParser ParserState.swift
[17/20] Compiling _CSSParser Parsers.swift
[18/20] Compiling _CSSParser Nth.swift
[19/20] Compiling _CSSParser Parser.swift
[20/20] Compiling _CSSParser Tokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'Regex' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
     |                      |- error: 'Regex' is only available in macOS 13.0 or newer
     |                      `- note: add 'if #available' version check
 477 |   do {
 478 |     let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'init(_:)' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
     |                      |- error: 'init(_:)' is only available in macOS 13.0 or newer
     |                      `- note: add 'if #available' version check
 477 |   do {
 478 |     let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:482:41: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
 477 |   do {
     :
 480 |     if contents.starts(with: directive) || contents.starts(with: directiveOld) {
 481 |       let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
 482 |       tokenizer.sourceMapUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
     |                                         |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
     |                                         `- note: add 'if #available' version check
 483 |     }
 484 |   }
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:490:38: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
 477 |   do {
     :
 488 |     if contents.starts(with: directive) || contents.starts(with: directiveOld) {
 489 |       let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
 490 |       tokenizer.sourceUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
     |                                      |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
     |                                      `- note: add 'if #available' version check
 491 |     }
 492 |   }
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/12] Compiling _CSSParser Parsers.swift
[3/13] Compiling _CSSParser Nth.swift
[4/13] Compiling _CSSParser ParserState.swift
[5/13] Compiling _CSSParser Serializer.swift
[6/13] Compiling _CSSParser Token.swift
[7/13] Compiling _CSSParser Tokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'Regex' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
     |                      |- error: 'Regex' is only available in macOS 13.0 or newer
     |                      `- note: add 'if #available' version check
 477 |   do {
 478 |     let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'init(_:)' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
     |                      |- error: 'init(_:)' is only available in macOS 13.0 or newer
     |                      `- note: add 'if #available' version check
 477 |   do {
 478 |     let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:482:41: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
 477 |   do {
     :
 480 |     if contents.starts(with: directive) || contents.starts(with: directiveOld) {
 481 |       let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
 482 |       tokenizer.sourceMapUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
     |                                         |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
     |                                         `- note: add 'if #available' version check
 483 |     }
 484 |   }
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:490:38: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
 473 | }
 474 |
 475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
     |      `- note: add @available attribute to enclosing global function
 476 |   let pattern = try! Regex("[ \t\u{000C}\r\n]")
 477 |   do {
     :
 488 |     if contents.starts(with: directive) || contents.starts(with: directiveOld) {
 489 |       let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
 490 |       tokenizer.sourceUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
     |                                      |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
     |                                      `- note: add 'if #available' version check
 491 |     }
 492 |   }
[8/13] Compiling _CSSParser Into.swift
[9/13] Compiling _CSSParser BlockType.swift
[10/13] Compiling _CSSParser Extensions.swift
[11/13] Emitting module _CSSParser
[12/13] Compiling _CSSParser Parser.swift
[13/13] Compiling _CSSParser Utils.swift
BUILD FAILURE 6.1 macosSpm