The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftABNF, reference v0.1.3 (54d40c), with Swift 6.2 for Wasm on 29 Jan 2026 07:23:31 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cmkilger/SwiftABNF.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
[1/17132] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (1.35s)
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.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.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+Errors.swift
[13/67] Compiling ABNFLib ABNF.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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.2 wasm