Build Information
Failed to build Bivrost, reference master (ed97ba
), with Swift 6.1 for Linux on 25 Apr 2025 07:42:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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/gnosis/bivrost-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ed97ba8 json format of abi is updated. (#14)
Cloned https://github.com/gnosis/bivrost-swift.git
Revision (git rev-parse @):
ed97ba8583f7d874ace48e241b4d930e6c4e2286
SUCCESS checkout https://github.com/gnosis/bivrost-swift.git at master
========================================
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-4606859-2":/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
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.23s)
Fetching https://github.com/PoissonBallon/PathKit.git
[1/662] Fetching pathkit
Fetched https://github.com/PoissonBallon/PathKit.git from cache (0.21s)
Fetching https://github.com/zweigraf/Stencil.git
[1/1750] Fetching stencil
Fetched https://github.com/zweigraf/Stencil.git from cache (0.25s)
Fetching https://github.com/zweigraf/StencilSwiftKit.git
[1/1276] Fetching stencilswiftkit
Fetched https://github.com/zweigraf/StencilSwiftKit.git from cache (0.28s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Quick/Nimble.git
[1/1021] Fetching spectre
[165/15776] Fetching spectre, quick
[1908/20547] Fetching spectre, quick, bigint
[2056/33481] Fetching spectre, quick, bigint, cryptoswift
[9144/53048] Fetching spectre, quick, bigint, cryptoswift, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.80s)
[24743/38293] Fetching spectre, bigint, cryptoswift, nimble
Fetched https://github.com/kylef/Spectre.git from cache (1.95s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.97s)
Fetched https://github.com/Quick/Nimble.git from cache (1.99s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (2.00s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (2.56s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.56s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.0.3 (0.57s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (1.24s)
Fetching https://github.com/attaswift/SipHash
[1/440] Fetching siphash
Fetched https://github.com/attaswift/SipHash from cache (0.23s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.80s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.8.3 (0.76s)
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/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at e0cbee1bd73778c1076c675eaf660e97d09f3b32
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.0.3
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/zweigraf/StencilSwiftKit.git
Working copy of https://github.com/zweigraf/StencilSwiftKit.git resolved at 82a0099e5c446348692a2ba40ffbba980c6b8898
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.8.3
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.2.0
Building for debugging...
[0/24] Write sources
[10/24] Write swift-version-24593BA9C3E375BF.txt
[12/97] Emitting module CryptoSwift
[13/105] Compiling Commander Commands.swift
[14/106] Compiling Commander ArgumentParser.swift
[15/106] Compiling SipHash SipHasher.swift
[16/106] Emitting module Commander
[17/106] Compiling CryptoSwift AES.Cryptors.swift
[18/106] Compiling CryptoSwift AES.swift
[19/106] Compiling SipHash SipHashable.swift
[20/106] Compiling Commander Group.swift
[21/106] Compiling SipHash RandomUInt64.swift
[22/106] Emitting module SipHash
[23/106] Compiling SipHash Primitive Types.swift
[25/107] Compiling Commander CommandRunner.swift
[26/107] Compiling Commander CommandType.swift
[27/107] Compiling Commander Error.swift
[28/107] Compiling Commander Command.swift
[29/108] Compiling CryptoSwift Digest.swift
[30/108] Compiling CryptoSwift DigestType.swift
[31/108] Compiling CryptoSwift AES+Foundation.swift
[32/108] Compiling CryptoSwift Array+Foundation.swift
[33/108] Compiling CryptoSwift Blowfish+Foundation.swift
[34/108] Compiling CryptoSwift ChaCha20+Foundation.swift
[35/108] Compiling CryptoSwift Data+Extension.swift
[36/108] Compiling CryptoSwift HMAC+Foundation.swift
[38/108] Compiling CryptoSwift String+Extension.swift
[39/108] Compiling CryptoSwift UInt16+Extension.swift
[40/108] Compiling CryptoSwift UInt32+Extension.swift
[41/108] Compiling CryptoSwift UInt64+Extension.swift
[42/108] Compiling CryptoSwift UInt8+Extension.swift
[43/108] Compiling CryptoSwift Updatable.swift
[44/108] Compiling CryptoSwift Utils.swift
[45/108] Compiling CryptoSwift ZeroPadding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/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'
[47/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
[48/108] Compiling CryptoSwift Rabbit+Foundation.swift
[49/108] Compiling CryptoSwift String+FoundationExtension.swift
[50/108] Compiling CryptoSwift Utils+Foundation.swift
[51/108] Compiling CryptoSwift Generics.swift
[52/108] Compiling CryptoSwift HKDF.swift
[53/108] Compiling CryptoSwift HMAC.swift
[54/108] Compiling CryptoSwift Int+Extension.swift
[55/108] Compiling CryptoSwift MD5.swift
[55/108] Wrapping AST for Commander for debugging
[55/108] Wrapping AST for SipHash for debugging
[56/108] Compiling CryptoSwift NoPadding.swift
[57/108] Compiling CryptoSwift Operators.swift
[58/108] Compiling CryptoSwift PBKDF1.swift
[59/108] Compiling CryptoSwift PBKDF2.swift
[60/108] Compiling CryptoSwift PKCS5.swift
[61/108] Compiling CryptoSwift PKCS7.swift
[62/108] Compiling CryptoSwift PKCS7Padding.swift
[63/108] Compiling CryptoSwift Padding.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/30] Emitting module SipHash
[3/87] Emitting module Commander
[4/88] Compiling Commander Error.swift
[5/88] Compiling Commander ArgumentParser.swift
[6/88] Compiling SipHash SipHashable.swift
[7/88] Compiling SipHash SipHasher.swift
[8/88] Compiling Commander Command.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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'
[10/88] 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
[11/88] Compiling Commander Group.swift
[12/88] Compiling Commander CommandType.swift
[13/88] Compiling SipHash Primitive Types.swift
BUILD FAILURE 6.1 linux