Build Information
Failed to build SemanticVersion with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/smumriak/SemanticVersion.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/smumriak/SemanticVersion
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d8070b9 Type annotation for regex builder because swift 5.9 fails to infer types in reasonable time
Cloned https://github.com/smumriak/SemanticVersion.git
Revision (git rev-parse @):
d8070b9edb47c0f526128b8e08e87c7709d10ed9
SUCCESS checkout https://github.com/smumriak/SemanticVersion.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "semanticversion",
"name": "SemanticVersion",
"url": "https://github.com/smumriak/SemanticVersion.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SemanticVersion",
"dependencies": [
]
}
]
}
Fetching https://github.com/smumriak/SemanticVersion.git
[1/32] Fetching semanticversion
Fetched https://github.com/smumriak/SemanticVersion.git (0.31s)
Creating working copy for https://github.com/smumriak/SemanticVersion.git
Working copy of https://github.com/smumriak/SemanticVersion.git resolved at main
warning: '.resolve-product-dependencies': dependency 'semanticversion' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module SemanticVersion
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:57: error: referencing initializer 'init(_:_:)' on 'RegexComponent' requires the types 'ChoiceOf<Substring>' and 'CharacterClass' be equivalent
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:2:11: note: where 'Self' = 'ChoiceOf<Substring>'
extension RegexComponent where Self == CharacterClass {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: trailing closure passed to parameter of type 'CharacterClass' that does not accept a closure
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:3:12: note: 'init(_:_:)' declared here
public init(_ first: CharacterClass, _ rest: CharacterClass...)
^
[2/2] Compiling SemanticVersion SemanticVersion.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:57: error: referencing initializer 'init(_:_:)' on 'RegexComponent' requires the types 'ChoiceOf<Substring>' and 'CharacterClass' be equivalent
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:2:11: note: where 'Self' = 'ChoiceOf<Substring>'
extension RegexComponent where Self == CharacterClass {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: trailing closure passed to parameter of type 'CharacterClass' that does not accept a closure
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:3:12: note: 'init(_:_:)' declared here
public init(_ first: CharacterClass, _ rest: CharacterClass...)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: error: 'Regex' is only available in macOS 13.0 or newer
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: note: add 'if #available' version check
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: error: 'init(_:)' is only available in macOS 13.0 or newer
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: note: add 'if #available' version check
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: warning: conformance of 'ZeroOrMore<Output>' to 'RegexComponent' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: error: 'ZeroOrMore' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: error: 'init(_:_:)' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:25: error: 'digit' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:25: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:36: error: 'buildPartialBlock(accumulated:next:)' is only available in macOS 13.0 or newer
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:36: note: add 'if #available' version check
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
error: fatalError
[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 SemanticVersion
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:57: error: referencing initializer 'init(_:_:)' on 'RegexComponent' requires the types 'ChoiceOf<Substring>' and 'CharacterClass' be equivalent
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:2:11: note: where 'Self' = 'ChoiceOf<Substring>'
extension RegexComponent where Self == CharacterClass {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: trailing closure passed to parameter of type 'CharacterClass' that does not accept a closure
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:3:12: note: 'init(_:_:)' declared here
public init(_ first: CharacterClass, _ rest: CharacterClass...)
^
[2/2] Compiling SemanticVersion SemanticVersion.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: result builder 'AlternationBuilder' does not implement any 'buildBlock' or a combination of 'buildPartialBlock(first:)' and 'buildPartialBlock(accumulated:next:)' with sufficient availability for this call site
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:57: error: referencing initializer 'init(_:_:)' on 'RegexComponent' requires the types 'ChoiceOf<Substring>' and 'CharacterClass' be equivalent
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:2:11: note: where 'Self' = 'ChoiceOf<Substring>'
extension RegexComponent where Self == CharacterClass {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:244:66: error: trailing closure passed to parameter of type 'CharacterClass' that does not accept a closure
let preReleaseIdentifier: ChoiceOf<Substring> = ChoiceOf {
^
RegexBuilder.RegexComponent:3:12: note: 'init(_:_:)' declared here
public init(_ first: CharacterClass, _ rest: CharacterClass...)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: error: 'Regex' is only available in macOS 13.0 or newer
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: note: add 'if #available' version check
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: error: 'init(_:)' is only available in macOS 13.0 or newer
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:30: note: add 'if #available' version check
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: warning: conformance of 'ZeroOrMore<Output>' to 'RegexComponent' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: error: 'ZeroOrMore' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: error: 'init(_:_:)' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:13: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:25: error: 'digit' is only available in macOS 13.0 or newer
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:241:25: note: add 'if #available' version check
ZeroOrMore(.digit)
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:36: error: 'buildPartialBlock(accumulated:next:)' is only available in macOS 13.0 or newer
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:239:36: note: add 'if #available' version check
let positiveNumber = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:233:16: note: add @available attribute to enclosing static property
static let regex = Regex {
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SemanticVersion/SemanticVersion.swift:10:15: note: add @available attribute to enclosing struct
public struct SemanticVersion: RawRepresentable, Codable, Hashable, Comparable, LosslessStringConvertible {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm