Build Information
Failed to build SwiftABNF, reference v0.1.3 (54d40c), with Swift 6.3 for Android on 18 Apr 2026 08:31:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cmkilger/SwiftABNF.git
Reference: v0.1.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/cmkilger/SwiftABNF
* tag v0.1.3 -> FETCH_HEAD
HEAD is now at 54d40cb Merge pull request #2 from cmkilger/performance
Cloned https://github.com/cmkilger/SwiftABNF.git
Revision (git rev-parse @):
54d40cb76e37acace27a6f9a52f43f8615507298
SUCCESS checkout https://github.com/cmkilger/SwiftABNF.git at v0.1.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/cmkilger/SwiftABNF.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/apple/swift-argument-parser
[1/17529] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.29s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version--4F562202D5529B1.txt
[8/20] Emitting module ArgumentParserToolInfo
[9/20] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/21] Wrapping AST for ArgumentParserToolInfo for debugging
[12/67] Compiling ABNFLib ABNF.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/67] Compiling ABNFLib ABNF+Errors.swift
[14/67] Compiling ABNFLib ABNF+Validation.swift
[15/67] Emitting module ABNFLib
/host/spi-builder-workspace/Sources/ABNFLib/ABNF+Parsing.swift:206:26: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
204 | throw RuleNameParseError()
205 | }
206 | let name = input[Range(match.range, in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
207 | cursor = input.index(cursor, offsetBy: name.count)
208 | return String(name)
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 |
[16/67] Compiling ABNFLib ABNF+Parsing.swift
/host/spi-builder-workspace/Sources/ABNFLib/ABNF+Parsing.swift:206:26: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
204 | throw RuleNameParseError()
205 | }
206 | let name = input[Range(match.range, in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
207 | cursor = input.index(cursor, offsetBy: name.count)
208 | return String(name)
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/ABNFLib/ABNF+Parsing.swift:359:28: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
357 | throw ParserError(message: "Not a valid repeat")
358 | }
359 | let string = input[Range(match.range, in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
360 | cursor = input.index(cursor, offsetBy: string.count)
361 | return Repeat(string: String(string))
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/ABNFLib/ABNF+Parsing.swift:389:28: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
387 | throw ParserError(message: "Not a valid quoted string")
388 | }
389 | let string = input[Range(match.range(at: 1), in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
390 | cursor = input.index(internalCursor, offsetBy: string.count + 2)
391 | return .string(String(string), caseSensitive: caseSensitive)
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/ABNFLib/ABNF+Parsing.swift:430:28: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
428 | return nil
429 | }
430 | let string = input[Range(match.range(at: 1), in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
431 | cursor = input.index(cursor, offsetBy: match.range.length)
432 | return numValue(string: string, numericType: .binary)
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/ABNFLib/ABNF+Parsing.swift:441:28: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
439 | return nil
440 | }
441 | let string = input[Range(match.range(at: 1), in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
442 | cursor = input.index(cursor, offsetBy: match.range.length)
443 | return numValue(string: string, numericType: .decimal)
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/ABNFLib/ABNF+Parsing.swift:452:28: error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
450 | return nil
451 | }
452 | let string = input[Range(match.range(at: 1), in: input)!]
| `- error: initializer 'init(_:in:)' requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression'
453 | cursor = input.index(cursor, offsetBy: match.range.length)
454 | return numValue(string: string, numericType: .hexadecimal)
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 |
BUILD FAILURE 6.3 android