The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SVGUIView, reference main (4c8ae8), with Swift 6.3 for macOS (SPM) on 28 Apr 2026 06:52:51 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nnabeyang/SVGUIView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "svguiview",
      "name": "SVGUIView",
      "url": "https://github.com/nnabeyang/SVGUIView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SVGUIView",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nnabeyang/SVGUIView.git
[1/3078] Fetching svguiview
Fetched https://github.com/nnabeyang/SVGUIView.git from cache (0.90s)
Creating working copy for https://github.com/nnabeyang/SVGUIView.git
Working copy of https://github.com/nnabeyang/SVGUIView.git resolved at main (4c8ae8a)
warning: '.resolve-product-dependencies': dependency 'svguiview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nnabeyang/SVGUIView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[4/8] Compiling _CShims _CShims.c
[5/8] Compiling _ICU dummy.cpp
[6/8] Compiling _SPI dummy.cpp
[7/8] Write swift-version--6988338F2F200930.txt
[9/19] Compiling _CSSParser ParserState.swift
[10/20] Compiling _CSSParser Parser.swift
[11/20] Compiling _CSSParser Utils.swift
[12/20] Compiling _CSSParser Token.swift
[13/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 |   }
[14/20] Compiling _CSSParser Into.swift
[15/20] Compiling _CSSParser BlockType.swift
[16/20] Compiling _CSSParser Extensions.swift
[17/20] Emitting module _CSSParser
[18/20] Compiling _CSSParser Nth.swift
[19/20] Compiling _CSSParser Parsers.swift
[20/20] Compiling _CSSParser Serializer.swift
BUILD FAILURE 6.3 macosSpm