The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftRegexDSL, reference master (4e4f7c), with Swift 6.3 for Android on 12 Apr 2026 05:49:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kodlian/SwiftRegexDSL.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4e4f7cd Add tvOS platform
Cloned https://github.com/kodlian/SwiftRegexDSL.git
Revision (git rev-parse @):
4e4f7cdb607e2256f01dab00957f61ee0479b2dd
SUCCESS checkout https://github.com/kodlian/SwiftRegexDSL.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kodlian/SwiftRegexDSL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/20] Compiling SwiftRegexDSL RegexModifier.swift
[4/20] Compiling SwiftRegexDSL Alternarive.swift
[5/20] Compiling SwiftRegexDSL Assertion.swift
[6/22] Compiling SwiftRegexDSL Quantifier.swift
[7/22] Compiling SwiftRegexDSL RegexSet.swift
[8/22] Emitting module SwiftRegexDSL
[9/22] Compiling SwiftRegexDSL Regex+extensions.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
29 |         let ranges = expression
30 |             .matches(in: String(self), options: [], range: nsRange)
31 |             .compactMap { Swift.Range($0.range, in: self) }
   |                           `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
32 |
33 |         return ranges
FoundationEssentials.Range.init:2:8: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | generic struct Range {
2 | public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index}
  |        `- note: where 'R' = 'NSRange' (aka '_NSRange')
3 |
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
51 |                 var ranges = [Swift.Range<String.Index>]()
52 |                 for i in 0..<result.numberOfRanges {
53 |                     guard let range = Swift.Range(result.range(at: i), in: self) else {
   |                                       `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
54 |                         continue
55 |                     }
FoundationEssentials.Range.init:2:8: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | generic struct Range {
2 | public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index}
  |        `- note: where 'R' = 'NSRange' (aka '_NSRange')
3 |
[10/22] Compiling SwiftRegexDSL Regex.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
29 |         let ranges = expression
30 |             .matches(in: String(self), options: [], range: nsRange)
31 |             .compactMap { Swift.Range($0.range, in: self) }
   |                           `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
32 |
33 |         return ranges
FoundationEssentials.Range.init:2:8: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | generic struct Range {
2 | public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index}
  |        `- note: where 'R' = 'NSRange' (aka '_NSRange')
3 |
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
51 |                 var ranges = [Swift.Range<String.Index>]()
52 |                 for i in 0..<result.numberOfRanges {
53 |                     guard let range = Swift.Range(result.range(at: i), in: self) else {
   |                                       `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
54 |                         continue
55 |                     }
FoundationEssentials.Range.init:2:8: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | generic struct Range {
2 | public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index}
  |        `- note: where 'R' = 'NSRange' (aka '_NSRange')
3 |
[11/22] Compiling SwiftRegexDSL RegexBuilder.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
29 |         let ranges = expression
30 |             .matches(in: String(self), options: [], range: nsRange)
31 |             .compactMap { Swift.Range($0.range, in: self) }
   |                           `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
32 |
33 |         return ranges
FoundationEssentials.Range.init:2:8: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | generic struct Range {
2 | public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index}
  |        `- note: where 'R' = 'NSRange' (aka '_NSRange')
3 |
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
51 |                 var ranges = [Swift.Range<String.Index>]()
52 |                 for i in 0..<result.numberOfRanges {
53 |                     guard let range = Swift.Range(result.range(at: i), in: self) else {
   |                                       `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
54 |                         continue
55 |                     }
FoundationEssentials.Range.init:2:8: note: where 'R' = 'NSRange' (aka '_NSRange')
1 | generic struct Range {
2 | public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index}
  |        `- note: where 'R' = 'NSRange' (aka '_NSRange')
3 |
[12/22] Compiling SwiftRegexDSL Anchor.swift
[13/22] Compiling SwiftRegexDSL Character Class.swift
[14/22] Compiling SwiftRegexDSL AlternativeRegexBuilder.swift
[15/22] Compiling SwiftRegexDSL Group.swift
[16/22] Compiling SwiftRegexDSL PatternOptions.swift
[17/22] Compiling SwiftRegexDSL Capture.swift
[18/22] Compiling SwiftRegexDSL Comment.swift
[19/22] Compiling SwiftRegexDSL Special Characters.swift
[20/22] Compiling SwiftRegexDSL Text.swift
[21/22] Compiling SwiftRegexDSL UnsafeText.swift
[22/22] Compiling SwiftRegexDSL UnsafeUnicode.swift
BUILD FAILURE 6.3 android