The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.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: 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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nnabeyang/SVGUIView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[4/8] Compiling _SPI dummy.cpp
[4/8] Compiling _ICU dummy.cpp
[6/8] Compiling _CShims _CShims.c
[7/8] Write swift-version--3CB7CFEC50E0D141.txt
[9/19] 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 |   }
[10/20] Compiling _CSSParser Parsers.swift
[11/20] Compiling _CSSParser Token.swift
[12/20] Compiling _CSSParser ParserState.swift
[13/20] Compiling _CSSParser Parser.swift
[14/20] Compiling _CSSParser Nth.swift
[15/20] Compiling _CSSParser Into.swift
[16/20] Compiling _CSSParser BlockType.swift
[17/20] Compiling _CSSParser Extensions.swift
[18/20] Emitting module _CSSParser
[19/20] Compiling _CSSParser Serializer.swift
[20/20] Compiling _CSSParser Utils.swift
BUILD FAILURE 6.2 macosSpm