The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftRegexDSL with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kodlian/SwiftRegexDSL.git
Reference: 1.0.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kodlian/SwiftRegexDSL
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 9a88e14 fix unknown static regex
Cloned https://github.com/kodlian/SwiftRegexDSL.git
Revision (git rev-parse @):
9a88e1433ca2c37d2f951cb524f42239c2488743
SUCCESS checkout https://github.com/kodlian/SwiftRegexDSL.git at 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/kodlian/SwiftRegexDSL.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/20] Emitting module SwiftRegexDSL
[4/22] Compiling SwiftRegexDSL UnsafeText.swift
[5/22] Compiling SwiftRegexDSL UnsafeUnicode.swift
[6/22] Compiling SwiftRegexDSL Capture.swift
[7/22] Compiling SwiftRegexDSL Comment.swift
[8/22] Compiling SwiftRegexDSL Anchor.swift
[9/22] Compiling SwiftRegexDSL Character Class.swift
[10/22] Compiling SwiftRegexDSL AlternativeRegexBuilder.swift
[11/22] Compiling SwiftRegexDSL Regex+extensions.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
            .compactMap { Swift.Range($0.range, in: self) }
                          ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
                    guard let range = Swift.Range(result.range(at: i), in: self) else {
                                      ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
[12/22] Compiling SwiftRegexDSL Regex.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
            .compactMap { Swift.Range($0.range, in: self) }
                          ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
                    guard let range = Swift.Range(result.range(at: i), in: self) else {
                                      ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
[13/22] Compiling SwiftRegexDSL RegexBuilder.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
            .compactMap { Swift.Range($0.range, in: self) }
                          ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
                    guard let range = Swift.Range(result.range(at: i), in: self) else {
                                      ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
[14/22] Compiling SwiftRegexDSL Special Characters.swift
[15/22] Compiling SwiftRegexDSL Text.swift
[16/22] Compiling SwiftRegexDSL RegexModifier.swift
[17/22] Compiling SwiftRegexDSL Alternarive.swift
[18/22] Compiling SwiftRegexDSL Assertion.swift
[19/22] Compiling SwiftRegexDSL Quantifier.swift
[20/22] Compiling SwiftRegexDSL RegexSet.swift
[21/22] Compiling SwiftRegexDSL Group.swift
[22/22] Compiling SwiftRegexDSL PatternOptions.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SwiftRegexDSL RegexBuilder.swift
[3/15] Compiling SwiftRegexDSL Regex.swift
[4/15] Emitting module SwiftRegexDSL
[5/15] Compiling SwiftRegexDSL Regex+extensions.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
            .compactMap { Swift.Range($0.range, in: self) }
                          ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
                    guard let range = Swift.Range(result.range(at: i), in: self) else {
                                      ^
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
    public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
           ^
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
    public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
           ^
[6/21] Compiling SwiftRegexDSL AlternativeRegexBuilder.swift
[7/21] Compiling SwiftRegexDSL RegexModifier.swift
[8/21] Compiling SwiftRegexDSL Anchor.swift
[9/21] Compiling SwiftRegexDSL Character Class.swift
[10/21] Compiling SwiftRegexDSL Alternarive.swift
[11/21] Compiling SwiftRegexDSL Assertion.swift
[12/21] Compiling SwiftRegexDSL UnsafeText.swift
[13/21] Compiling SwiftRegexDSL UnsafeUnicode.swift
[14/21] Compiling SwiftRegexDSL Capture.swift
[15/21] Compiling SwiftRegexDSL Comment.swift
[16/21] Compiling SwiftRegexDSL Group.swift
[17/21] Compiling SwiftRegexDSL PatternOptions.swift
[18/21] Compiling SwiftRegexDSL Special Characters.swift
[19/21] Compiling SwiftRegexDSL Text.swift
[20/21] Compiling SwiftRegexDSL Quantifier.swift
[21/21] Compiling SwiftRegexDSL RegexSet.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1