Build Information
Failed to build SwiftABNF, reference v0.1.3 (54d40c), with Swift 6.1 for Wasm on 29 Jan 2026 07:22:49 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build 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.1
Building package at path: $PWD
https://github.com/cmkilger/SwiftABNF.git
https://github.com/cmkilger/SwiftABNF.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "SwiftABNF",
"name" : "SwiftABNF",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ABNFLib",
"targets" : [
"ABNFLib"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "abnf",
"targets" : [
"abnf"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "abnf",
"module_type" : "SwiftTarget",
"name" : "abnf",
"path" : "Sources/abnf",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"abnf"
],
"sources" : [
"abnf.swift"
],
"target_dependencies" : [
"ABNFLib"
],
"type" : "executable"
},
{
"c99name" : "ABNFLibTests",
"module_type" : "SwiftTarget",
"name" : "ABNFLibTests",
"path" : "Tests/ABNFLibTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ABNFLibTests/postal_address.abnf",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ABNFLibTests.swift"
],
"target_dependencies" : [
"ABNFLib"
],
"type" : "test"
},
{
"c99name" : "ABNFLib",
"module_type" : "SwiftTarget",
"name" : "ABNFLib",
"path" : "Sources/ABNFLib",
"product_memberships" : [
"ABNFLib",
"abnf"
],
"sources" : [
"ABNF+Errors.swift",
"ABNF+Parsing.swift",
"ABNF+Validation.swift",
"ABNF.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/17132] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (2.08s)
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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/67] Emitting module ABNFLib
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[14/67] Compiling ABNFLib ABNF+Parsing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[15/67] Compiling ABNFLib ABNF+Validation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/67] Compiling ABNFLib ABNF.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] 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 |
[5/16] Compiling ABNFLib ABNF.swift
[6/16] Compiling ABNFLib ABNF+Errors.swift
[7/16] 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 |
[8/16] Compiling ABNFLib ABNF+Validation.swift
[9/16] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm