Build Information
Failed to build Bivrost, reference master (ed97ba
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 11:32:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.74s)
Fetching https://github.com/PoissonBallon/PathKit.git
[1/662] Fetching pathkit
Fetched https://github.com/PoissonBallon/PathKit.git from cache (0.67s)
Fetching https://github.com/zweigraf/Stencil.git
[1/1750] Fetching stencil
Fetched https://github.com/zweigraf/Stencil.git from cache (0.89s)
Fetching https://github.com/zweigraf/StencilSwiftKit.git
[1/1276] Fetching stencilswiftkit
Fetched https://github.com/zweigraf/StencilSwiftKit.git from cache (0.76s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/attaswift/SipHash
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
[2/5792] Fetching bigint, spectre
[166/6232] Fetching bigint, spectre, siphash
[341/19166] Fetching bigint, spectre, siphash, cryptoswift
[779/33921] Fetching bigint, spectre, siphash, cryptoswift, quick
[1645/53488] Fetching bigint, spectre, siphash, cryptoswift, quick, nimble
Fetched https://github.com/attaswift/BigInt.git from cache (1.69s)
Fetched https://github.com/Quick/Quick.git from cache (1.69s)
Fetched https://github.com/kylef/Spectre.git from cache (1.69s)
Fetched https://github.com/Quick/Nimble.git from cache (1.69s)
Fetched https://github.com/attaswift/SipHash from cache (1.73s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.73s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (2.32s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.61s)
Computing version for https://github.com/Quick/Nimble.git
error: Dependencies could not be resolved because root depends on 'nimble' 7.0.2..<7.1.0.
'nimble' < 7.1.0 cannot be used because 'nimble' < 7.0.4 contains incompatible tools version (3.0.0) and no versions of 'nimble' match the requirement 7.0.4..<7.1.0.
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gnosis/bivrost-swift.git
https://github.com/gnosis/bivrost-swift.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/17] Write sources
[5/17] Write bivrost-entitlement.plist
[9/17] Write sources
[11/17] Write swift-version-2F0A5646E1D333AE.txt
[13/93] Compiling Commander Group.swift
[14/93] Emitting module Commander
[15/93] Compiling Commander Command.swift
[16/93] Compiling Commander ArgumentDescription.swift
[17/93] Compiling Commander ArgumentParser.swift
[18/93] Compiling Commander ArgumentConvertible.swift
[19/93] Compiling Commander CommandType.swift
[20/93] Compiling Commander CommandRunner.swift
[21/93] Compiling Commander Commands.swift
[22/93] Compiling Commander Error.swift
[23/93] Compiling SipHash RandomUInt64.swift
[24/93] Compiling SipHash SipHashable.swift
[25/93] Compiling SipHash SipHasher.swift
[26/93] Emitting module CryptoSwift
[27/99] Compiling CryptoSwift UInt32+Extension.swift
[28/99] Compiling CryptoSwift UInt64+Extension.swift
[29/99] Compiling CryptoSwift UInt8+Extension.swift
[30/99] Compiling CryptoSwift Updatable.swift
[31/99] Compiling CryptoSwift Utils.swift
[32/99] Compiling CryptoSwift ZeroPadding.swift
[33/99] Compiling CryptoSwift NoPadding.swift
[34/99] Compiling CryptoSwift Operators.swift
[35/99] Compiling CryptoSwift PBKDF1.swift
[36/99] Compiling CryptoSwift PBKDF2.swift
[37/99] Compiling CryptoSwift PKCS5.swift
[38/99] Compiling CryptoSwift PKCS7.swift
[39/99] Compiling CryptoSwift SHA1.swift
[40/99] Compiling CryptoSwift SHA2.swift
[41/99] Compiling CryptoSwift SHA3.swift
[42/99] Compiling CryptoSwift SecureBytes.swift
[43/99] Compiling CryptoSwift String+Extension.swift
[44/99] Compiling CryptoSwift UInt16+Extension.swift
[45/99] Compiling CryptoSwift PKCS7Padding.swift
[46/99] Compiling CryptoSwift Padding.swift
[47/99] Compiling CryptoSwift Poly1305.swift
[48/99] Compiling CryptoSwift Rabbit.swift
[49/99] Compiling CryptoSwift RandomAccessCryptor.swift
[50/99] Compiling CryptoSwift RandomBytesSequence.swift
[51/99] Emitting module SipHash
[52/99] Compiling SipHash Primitive Types.swift
[52/99] Write Objects.LinkFileList
[54/99] Compiling CryptoSwift Cipher.swift
[55/99] Compiling CryptoSwift Collection+Extension.swift
[56/99] Compiling CryptoSwift Cryptors.swift
[57/99] Compiling CryptoSwift Digest.swift
[58/99] Compiling CryptoSwift DigestType.swift
[59/99] Compiling CryptoSwift AES+Foundation.swift
[60/99] Compiling CryptoSwift Array+Foundation.swift
[61/99] Compiling CryptoSwift Blowfish+Foundation.swift
[62/99] Compiling CryptoSwift ChaCha20+Foundation.swift
[63/99] Compiling CryptoSwift Data+Extension.swift
[64/99] Compiling CryptoSwift HMAC+Foundation.swift
[65/99] Compiling CryptoSwift Rabbit+Foundation.swift
[66/99] Compiling CryptoSwift String+FoundationExtension.swift
[67/99] Compiling CryptoSwift Utils+Foundation.swift
[68/99] Compiling CryptoSwift Generics.swift
[69/99] Compiling CryptoSwift HKDF.swift
[70/99] Compiling CryptoSwift HMAC.swift
[71/99] Compiling CryptoSwift Int+Extension.swift
[72/99] Compiling CryptoSwift MD5.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/99] 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'
[74/99] 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'
/Users/admin/builder/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 |
[75/99] Compiling CryptoSwift BlockCipher.swift
[76/99] Compiling CryptoSwift BlockMode.swift
[77/99] Compiling CryptoSwift BlockModeOptions.swift
[78/99] Compiling CryptoSwift BlockModeWorker.swift
[79/99] Compiling CryptoSwift CBC.swift
[80/99] Compiling CryptoSwift CFB.swift
[81/99] Compiling CryptoSwift CTR.swift
[81/99] Linking libSipHash.dylib
Updating https://github.com/kylef/Commander.git
Updated https://github.com/kylef/Commander.git (0.46s)
Updating https://github.com/PoissonBallon/PathKit.git
Updated https://github.com/PoissonBallon/PathKit.git (0.44s)
Updating https://github.com/zweigraf/Stencil.git
Updated https://github.com/zweigraf/Stencil.git (0.47s)
Updating https://github.com/zweigraf/StencilSwiftKit.git
Updated https://github.com/zweigraf/StencilSwiftKit.git (0.43s)
Updating https://github.com/Quick/Nimble.git
Updating https://github.com/krzyzanowskim/CryptoSwift
Updating https://github.com/kylef/Spectre.git
Updating https://github.com/attaswift/BigInt.git
Updating https://github.com/Quick/Quick.git
Updated https://github.com/kylef/Spectre.git (0.58s)
Updated https://github.com/Quick/Quick.git (0.58s)
Updated https://github.com/krzyzanowskim/CryptoSwift (0.58s)
Updated https://github.com/Quick/Nimble.git (0.58s)
Updated https://github.com/attaswift/BigInt.git (0.58s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.8.0 (1.18s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.2.0 (0.58s)
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 (0.55s)
Updating https://github.com/attaswift/SipHash
Updated https://github.com/attaswift/SipHash (0.44s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (1.04s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.8.3 (0.57s)
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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.0.3
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/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.8.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.8.0
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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 3.1.0
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-2F0A5646E1D333AE.txt
[2/82] Compiling Commander Error.swift
[3/82] Compiling Commander Group.swift
[4/82] Emitting module SipHash
[5/82] Compiling Commander CommandType.swift
[6/82] Compiling Commander CommandRunner.swift
[7/82] Compiling Commander Command.swift
[8/82] Compiling Commander ArgumentParser.swift
[9/82] Compiling Commander ArgumentConvertible.swift
[10/82] Compiling Commander Commands.swift
[11/82] Emitting module Commander
[12/82] Compiling Commander ArgumentDescription.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/82] 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'
[14/82] 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'
/Users/admin/builder/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 |
[15/82] Compiling SipHash SipHashable.swift
[16/82] Compiling SipHash RandomUInt64.swift
[17/82] Compiling SipHash Primitive Types.swift
BUILD FAILURE 6.1 macosSpm