Build Information
Failed to build Bivrost, reference 0.0.4 (339701
), with Swift 6.1 for Linux on 25 Apr 2025 07:53:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gnosis/bivrost-swift.git
Reference: 0.0.4
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/gnosis/bivrost-swift
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at 339701f Small fixes. (#11)
Cloned https://github.com/gnosis/bivrost-swift.git
Revision (git rev-parse @):
339701fea3d070e07cb89b8b9a594a63aef18966
SUCCESS checkout https://github.com/gnosis/bivrost-swift.git at 0.0.4
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/gnosis/bivrost-swift.git
https://github.com/gnosis/bivrost-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "0.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift"
},
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.2",
"upper_bound" : "7.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "commander",
"requirement" : {
"revision" : [
"e0cbee1bd73778c1076c675eaf660e97d09f3b32"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Commander.git"
},
{
"identity" : "pathkit",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PoissonBallon/PathKit.git"
},
{
"identity" : "stencil",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/zweigraf/Stencil.git"
},
{
"identity" : "stencilswiftkit",
"requirement" : {
"revision" : [
"82a0099e5c446348692a2ba40ffbba980c6b8898"
]
},
"type" : "sourceControl",
"url" : "https://github.com/zweigraf/StencilSwiftKit.git"
}
],
"manifest_display_name" : "Bivrost",
"name" : "Bivrost",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "bivrost",
"targets" : [
"Bivrost"
],
"type" : {
"executable" : null
}
},
{
"name" : "BivrostKit",
"targets" : [
"BivrostKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BivrostHelper",
"targets" : [
"BivrostHelper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "BivrostKitTests",
"module_type" : "SwiftTarget",
"name" : "BivrostKitTests",
"path" : "Tests/BivrostKitTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"Assets.swift",
"ContractParserSpec.swift",
"ContractTemplateModelSpec.swift",
"ElementJsonParserSpec.swift",
"ParameterParserSpec.swift"
],
"target_dependencies" : [
"BivrostKit"
],
"type" : "test"
},
{
"c99name" : "BivrostKit",
"module_type" : "SwiftTarget",
"name" : "BivrostKit",
"path" : "Sources/BivrostKit",
"product_dependencies" : [
"CryptoSwift",
"BigInt",
"Stencil",
"StencilSwiftKit",
"PathKit"
],
"product_memberships" : [
"bivrost",
"BivrostKit"
],
"sources" : [
"BivrostKit.swift",
"Generating/AuxWriter.swift",
"Generating/ContractGenerator.swift",
"Generating/ContractTemplateModel.swift",
"Generating/ContractWriter.swift",
"Generating/FileTool.swift",
"Generating/SequenceExtension.swift",
"Generating/Templates/ArrayXTemplate.swift",
"Generating/Templates/BytesXTemplate.swift",
"Generating/Templates/ContractTemplate.swift",
"Generating/Templates/IntXTemplate.swift",
"Generating/Templates/Templates.swift",
"Generating/Templates/UIntXTemplate.swift",
"Generating/TypeGenerator.swift",
"Generating/TypeWriter.swift",
"Parsing/AbiValidating.swift",
"Parsing/Contract.swift",
"Parsing/ContractParser.swift",
"Parsing/ElementJsonParser.swift",
"Parsing/JsonKey.swift",
"Parsing/ParameterParser.swift",
"Parsing/ParsingError.swift",
"Parsing/StringExtension.swift"
],
"type" : "library"
},
{
"c99name" : "BivrostHelperTests",
"module_type" : "SwiftTarget",
"name" : "BivrostHelperTests",
"path" : "Tests/BivrostHelperTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"Assets.swift",
"BaseDecoderSpec.swift",
"SolidityTypesSpec.swift"
],
"target_dependencies" : [
"BivrostHelper"
],
"type" : "test"
},
{
"c99name" : "BivrostHelper",
"module_type" : "SwiftTarget",
"name" : "BivrostHelper",
"path" : "Sources/BivrostHelper",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"BivrostHelper"
],
"sources" : [
"BivrostError.swift",
"Coding/BaseDecoder.swift",
"Coding/BaseEncoder.swift",
"Extensions/BigIntExtension.swift",
"Extensions/DataExtension.swift",
"Extensions/StringExtension.swift",
"Generated Types/ArrayX-Generated.swift",
"Generated Types/BytesX-Generated.swift",
"Generated Types/IntX-Generated.swift",
"Generated Types/UIntX-Generated.swift",
"Protocols/DynamicType.swift",
"Protocols/SolidityCodable.swift",
"Protocols/SolidityFunction.swift",
"Protocols/StaticType.swift",
"Types/Address.swift",
"Types/ArrayX.swift",
"Types/Bool.swift",
"Types/Bytes.swift",
"Types/BytesX.swift",
"Types/Function.swift",
"Types/IntX.swift",
"Types/Solidity.swift",
"Types/String.swift",
"Types/UIntX.swift",
"Types/VariableArray.swift"
],
"type" : "library"
},
{
"c99name" : "Bivrost",
"module_type" : "SwiftTarget",
"name" : "Bivrost",
"path" : "Sources/Bivrost",
"product_dependencies" : [
"Commander",
"PathKit"
],
"product_memberships" : [
"bivrost"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BivrostKit"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/kylef/Commander.git
[16/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.25s)
Fetching https://github.com/PoissonBallon/PathKit.git
[1/662] Fetching pathkit
Fetched https://github.com/PoissonBallon/PathKit.git from cache (1.01s)
Fetching https://github.com/zweigraf/Stencil.git
[1/1750] Fetching stencil
Fetched https://github.com/zweigraf/Stencil.git from cache (0.18s)
Fetching https://github.com/zweigraf/StencilSwiftKit.git
[1/1276] Fetching stencilswiftkit
Fetched https://github.com/zweigraf/StencilSwiftKit.git from cache (0.43s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Quick/Quick.git
[1/12934] Fetching cryptoswift
[390/17705] Fetching cryptoswift, bigint
[391/18726] Fetching cryptoswift, bigint, spectre
[3692/33481] Fetching cryptoswift, bigint, spectre, quick
[18966/53048] Fetching cryptoswift, bigint, spectre, quick, nimble
Fetched https://github.com/kylef/Spectre.git from cache (0.67s)
[26346/52027] Fetching cryptoswift, bigint, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.27s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.29s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.42s)
Fetched https://github.com/Quick/Nimble.git from cache (1.44s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (1.90s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.51s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.0.3 (0.47s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (0.48s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.18s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.68s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.8.3 (0.62s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.8.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.0.3
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at e0cbee1bd73778c1076c675eaf660e97d09f3b32
Creating working copy for https://github.com/PoissonBallon/PathKit.git
Working copy of https://github.com/PoissonBallon/PathKit.git resolved at master (a73cc01)
Creating working copy for https://github.com/zweigraf/StencilSwiftKit.git
Working copy of https://github.com/zweigraf/StencilSwiftKit.git resolved at 82a0099e5c446348692a2ba40ffbba980c6b8898
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.0
Creating working copy for https://github.com/zweigraf/Stencil.git
Working copy of https://github.com/zweigraf/Stencil.git resolved at master (2bcdbd3)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.8.3
Building for debugging...
[0/24] Write sources
[10/24] Write swift-version-24593BA9C3E375BF.txt
[12/97] Emitting module Commander
[13/98] Compiling Commander Group.swift
[14/98] Compiling Commander ArgumentConvertible.swift
[15/98] Compiling Commander ArgumentDescription.swift
[16/98] Compiling Commander ArgumentParser.swift
[17/98] Compiling SipHash SipHasher.swift
[18/98] Compiling Commander CommandType.swift
[19/98] Compiling SipHash SipHashable.swift
[20/98] Compiling SipHash Primitive Types.swift
[21/98] Emitting module SipHash
[22/98] Compiling SipHash RandomUInt64.swift
[24/99] Compiling Commander Commands.swift
[25/99] Compiling Commander Error.swift
[26/99] Compiling Commander CommandRunner.swift
[27/99] Compiling Commander Command.swift
[29/100] Compiling CryptoSwift Digest.swift
[30/100] Compiling CryptoSwift DigestType.swift
[31/100] Compiling CryptoSwift AES+Foundation.swift
[32/100] Compiling CryptoSwift Array+Foundation.swift
[33/100] Compiling CryptoSwift Blowfish+Foundation.swift
[34/100] Compiling CryptoSwift ChaCha20+Foundation.swift
[35/100] Compiling CryptoSwift Data+Extension.swift
[36/100] Compiling CryptoSwift HMAC+Foundation.swift
[36/108] Wrapping AST for Commander for debugging
[37/108] Wrapping AST for SipHash for debugging
[38/108] Write Objects.LinkFileList
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/108] Emitting module PathKit
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[41/108] Compiling PathKit PathKit.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:45:34: error: 'characters' is unavailable: Please use String directly
43 | } else if components.first == Path.separator && components.count > 1 {
44 | let p = components.joined(separator: Path.separator)
45 | path = p.substring(from: p.characters.index(after: p.startIndex))
| `- error: 'characters' is unavailable: Please use String directly
46 | } else {
47 | path = components.joined(separator: Path.separator)
Swift.String.characters:3:14: note: 'characters' was obsoleted in Swift 5.0
1 | struct String {
2 | @available(swift, deprecated: 3.2, obsoleted: 5.0, message: "Please use String directly")
3 | public var characters: String { get set }}
| `- note: 'characters' was obsoleted in Swift 5.0
4 |
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:280:12: error: cannot convert return expression of type 'ObjCBool' to return type 'Bool'
278 | }
279 | #if os(Linux)
280 | return directory
| `- error: cannot convert return expression of type 'ObjCBool' to return type 'Bool'
281 | #else
282 | return directory.boolValue
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:299:11: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
297 | }
298 | #if os(Linux)
299 | return !directory
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
300 | #else
301 | return !directory.boolValue
[41/108] Linking libSipHash.so
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/14] Write swift-version-24593BA9C3E375BF.txt
[2/87] Compiling Commander Error.swift
[3/88] Compiling Commander CommandType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/88] Emitting module PathKit
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[5/88] Compiling Commander Command.swift
[6/88] Compiling SipHash Primitive Types.swift
[7/88] Compiling Commander Group.swift
[8/88] Emitting module SipHash
[9/88] Compiling SipHash RandomUInt64.swift
[10/88] Compiling CryptoSwift Digest.swift
[11/88] Compiling CryptoSwift DigestType.swift
[12/88] Compiling CryptoSwift AES+Foundation.swift
[13/88] Compiling CryptoSwift Array+Foundation.swift
[14/88] Compiling CryptoSwift Blowfish+Foundation.swift
[15/88] Compiling CryptoSwift ChaCha20+Foundation.swift
[16/88] Compiling CryptoSwift Data+Extension.swift
[17/88] Compiling CryptoSwift HMAC+Foundation.swift
[18/96] Compiling PathKit PathKit.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:45:34: error: 'characters' is unavailable: Please use String directly
43 | } else if components.first == Path.separator && components.count > 1 {
44 | let p = components.joined(separator: Path.separator)
45 | path = p.substring(from: p.characters.index(after: p.startIndex))
| `- error: 'characters' is unavailable: Please use String directly
46 | } else {
47 | path = components.joined(separator: Path.separator)
Swift.String.characters:3:14: note: 'characters' was obsoleted in Swift 5.0
1 | struct String {
2 | @available(swift, deprecated: 3.2, obsoleted: 5.0, message: "Please use String directly")
3 | public var characters: String { get set }}
| `- note: 'characters' was obsoleted in Swift 5.0
4 |
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:280:12: error: cannot convert return expression of type 'ObjCBool' to return type 'Bool'
278 | }
279 | #if os(Linux)
280 | return directory
| `- error: cannot convert return expression of type 'ObjCBool' to return type 'Bool'
281 | #else
282 | return directory.boolValue
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:299:11: error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
297 | }
298 | #if os(Linux)
299 | return !directory
| `- error: cannot convert value of type 'ObjCBool' to expected argument type 'Bool'
300 | #else
301 | return !directory.boolValue
BUILD FAILURE 6.1 linux