Build Information
Failed to build EthereumABI, reference 1.3.0 (6f4edb
), with Swift 6.0 for Linux on 27 Nov 2024 19:17:31 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.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shamatar/EthereumABI.git
Reference: 1.3.0
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/shamatar/EthereumABI
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at 6f4edb9 fix changed signature
Cloned https://github.com/shamatar/EthereumABI.git
Revision (git rev-parse @):
6f4edb9fb3b46d7cdf5d6c4a304a88f014188733
SUCCESS checkout https://github.com/shamatar/EthereumABI.git at 1.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/shamatar/EthereumABI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/shamatar/EthereumAddress.git
Fetching https://github.com/attaswift/BigInt.git
[1/4771] Fetching bigint
[479/4981] Fetching bigint, ethereumaddress
[3837/17684] Fetching bigint, ethereumaddress, cryptoswift
Fetched https://github.com/shamatar/EthereumAddress.git from cache (1.10s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.11s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.13s)
Computing version for https://github.com/shamatar/EthereumAddress.git
Computed https://github.com/shamatar/EthereumAddress.git at 1.3.0 (0.43s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (1.81s)
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/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (0.41s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.43s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.0
Creating working copy for https://github.com/shamatar/EthereumAddress.git
Working copy of https://github.com/shamatar/EthereumAddress.git resolved at 1.3.0
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
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-24593BA9C3E375BF.txt
[7/81] Emitting module CryptoSwift
[8/90] Compiling SipHash SipHasher.swift
[9/90] Compiling SipHash SipHashable.swift
[10/90] Compiling SipHash RandomUInt64.swift
[11/90] Emitting module SipHash
[12/90] Compiling SipHash Primitive Types.swift
[13/91] Compiling CryptoSwift BlockEncryptor.swift
[14/91] Compiling CryptoSwift BlockMode.swift
[15/91] Compiling CryptoSwift BlockModeOptions.swift
[16/91] Compiling CryptoSwift CBC.swift
[17/91] Compiling CryptoSwift CCM.swift
[18/91] Compiling CryptoSwift CFB.swift
[19/91] Compiling CryptoSwift CTR.swift
[20/91] Compiling CryptoSwift CipherModeWorker.swift
[21/91] Compiling CryptoSwift ECB.swift
[22/91] Compiling CryptoSwift GCM.swift
[23/91] Wrapping AST for SipHash for debugging
[24/91] Write Objects.LinkFileList
[25/91] Linking libSipHash.so
[27/112] Compiling CryptoSwift String+Extension.swift
[28/112] Compiling CryptoSwift UInt128.swift
[29/112] Compiling CryptoSwift UInt16+Extension.swift
[30/112] Compiling CryptoSwift UInt32+Extension.swift
[31/112] Compiling CryptoSwift UInt64+Extension.swift
[32/112] Compiling CryptoSwift UInt8+Extension.swift
[33/112] Compiling CryptoSwift Updatable.swift
[34/112] Compiling CryptoSwift Utils.swift
[35/112] Compiling CryptoSwift ZeroPadding.swift
[36/112] Compiling BigInt GCD.swift
[37/112] Compiling BigInt Hashable.swift
[38/112] Compiling BigInt Integer Conversion.swift
[39/112] Compiling BigInt Multiplication.swift
[40/112] Compiling BigInt Prime Test.swift
[41/112] Compiling BigInt Random.swift
[42/112] Compiling BigInt Shifts.swift
[43/112] Compiling BigInt Square Root.swift
[44/112] Compiling BigInt Strideable.swift
[45/112] Compiling BigInt String Conversion.swift
[46/112] Compiling CryptoSwift Cryptor.swift
[47/112] Compiling CryptoSwift Cryptors.swift
[48/112] Compiling CryptoSwift Digest.swift
[49/112] Compiling CryptoSwift DigestType.swift
[50/112] Compiling CryptoSwift AES+Foundation.swift
[51/112] Compiling CryptoSwift Array+Foundation.swift
[52/112] Compiling CryptoSwift Blowfish+Foundation.swift
[53/112] Compiling CryptoSwift ChaCha20+Foundation.swift
[54/112] Compiling CryptoSwift Data+Extension.swift
[55/112] Compiling CryptoSwift HMAC+Foundation.swift
[56/112] Compiling CryptoSwift Rabbit+Foundation.swift
[57/112] Compiling CryptoSwift String+FoundationExtension.swift
[58/112] Compiling CryptoSwift Utils+Foundation.swift
[59/112] Compiling CryptoSwift Generics.swift
[60/112] Compiling CryptoSwift HKDF.swift
[61/112] Compiling CryptoSwift HMAC.swift
[62/112] Compiling CryptoSwift Int+Extension.swift
[63/112] Compiling CryptoSwift MD5.swift
[64/112] Compiling CryptoSwift AEAD.swift
[65/112] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[66/112] Compiling CryptoSwift AES.Cryptors.swift
[67/112] Compiling CryptoSwift AES.swift
[68/112] Compiling CryptoSwift Array+Extension.swift
[69/112] Compiling CryptoSwift Authenticator.swift
[70/112] Compiling CryptoSwift BatchedCollection.swift
[71/112] Compiling CryptoSwift Bit.swift
[72/112] Compiling CryptoSwift BlockCipher.swift
[73/112] Compiling CryptoSwift BlockDecryptor.swift
[74/112] Compiling CryptoSwift NoPadding.swift
[75/112] Compiling CryptoSwift Operators.swift
[76/112] Compiling CryptoSwift PBKDF1.swift
[77/112] Compiling CryptoSwift PBKDF2.swift
[78/112] Compiling CryptoSwift PKCS5.swift
[79/112] Compiling CryptoSwift PKCS7.swift
[80/112] Compiling CryptoSwift PKCS7Padding.swift
[81/112] Compiling CryptoSwift Padding.swift
[82/112] Compiling CryptoSwift Poly1305.swift
[83/112] Compiling CryptoSwift Rabbit.swift
[84/112] Compiling CryptoSwift RandomBytesSequence.swift
[85/112] Compiling CryptoSwift SHA1.swift
[86/112] Compiling CryptoSwift SHA2.swift
[87/112] Compiling CryptoSwift SHA3.swift
[88/112] Compiling CryptoSwift Scrypt.swift
[89/112] Compiling CryptoSwift SecureBytes.swift
[90/112] Compiling CryptoSwift StreamDecryptor.swift
[91/112] Compiling CryptoSwift StreamEncryptor.swift
[93/113] Emitting module BigInt
[96/118] Compiling EthereumAddress EthereumAddress.swift
[97/118] Emitting module EthereumAddress
[98/118] Compiling BigInt Floating Point Conversion.swift
[107/118] Compiling BigInt Addition.swift
[108/118] Compiling BigInt BigInt.swift
[109/118] Compiling BigInt BigUInt.swift
[110/118] Compiling BigInt Bitwise Ops.swift
[111/118] Compiling BigInt Codable.swift
[112/118] Compiling BigInt Comparable.swift
[113/118] Compiling BigInt Data Conversion.swift
[114/118] Compiling BigInt Division.swift
[115/118] Compiling BigInt Exponentiation.swift
[116/118] Compiling EthereumAddress Extensions.swift
[118/119] Compiling BigInt Subtraction.swift
[119/119] Compiling BigInt Words and Bits.swift
[121/128] Compiling EthereumABI ABIParameterTypes.swift
[122/129] Emitting module EthereumABI
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:11:5: warning: 'public' modifier is redundant for struct declared in a public extension
9 | public extension ABI {
10 | // JSON Decoding
11 | public struct Input: Decodable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
12 | public var name: String?
13 | public var type: String
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:18:5: warning: 'public' modifier is redundant for struct declared in a public extension
16 | }
17 |
18 | public struct Output: Decodable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
19 | public var name: String?
20 | public var type: String
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:24:5: warning: 'public' modifier is redundant for struct declared in a public extension
22 | }
23 |
24 | public struct Record: Decodable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
25 | public var name: String?
26 | public var type: String?
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:35:5: warning: 'public' modifier is redundant for enum declared in a public extension
33 | }
34 |
35 | public enum Element {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
36 | public enum ArraySize { //bytes for convenience
37 | case staticSize(UInt64)
/host/spi-builder-workspace/EthereumABI/Classes/ABIParsing.swift:23:20: warning: static property 'typeEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | enum TypeParsingExpressions {
23 | static var typeEatingRegex = "^((u?int|bytes)([1-9][0-9]*)|(address|bool|string|tuple|bytes)|(\\[([1-9][0-9]*)\\]))"
| |- warning: static property 'typeEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typeEatingRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typeEatingRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var arrayEatingRegex = "^(\\[([1-9][0-9]*)?\\])?.*$"
25 | }
/host/spi-builder-workspace/EthereumABI/Classes/ABIParsing.swift:24:20: warning: static property 'arrayEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | enum TypeParsingExpressions {
23 | static var typeEatingRegex = "^((u?int|bytes)([1-9][0-9]*)|(address|bool|string|tuple|bytes)|(\\[([1-9][0-9]*)\\]))"
24 | static var arrayEatingRegex = "^(\\[([1-9][0-9]*)?\\])?.*$"
| |- warning: static property 'arrayEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'arrayEatingRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'arrayEatingRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[123/129] Compiling EthereumABI ABIParsing.swift
/host/spi-builder-workspace/EthereumABI/Classes/ABIParsing.swift:23:20: warning: static property 'typeEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | enum TypeParsingExpressions {
23 | static var typeEatingRegex = "^((u?int|bytes)([1-9][0-9]*)|(address|bool|string|tuple|bytes)|(\\[([1-9][0-9]*)\\]))"
| |- warning: static property 'typeEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typeEatingRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typeEatingRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var arrayEatingRegex = "^(\\[([1-9][0-9]*)?\\])?.*$"
25 | }
/host/spi-builder-workspace/EthereumABI/Classes/ABIParsing.swift:24:20: warning: static property 'arrayEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | enum TypeParsingExpressions {
23 | static var typeEatingRegex = "^((u?int|bytes)([1-9][0-9]*)|(address|bool|string|tuple|bytes)|(\\[([1-9][0-9]*)\\]))"
24 | static var arrayEatingRegex = "^(\\[([1-9][0-9]*)?\\])?.*$"
| |- warning: static property 'arrayEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'arrayEatingRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'arrayEatingRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[124/129] Compiling EthereumABI ABIExtensions.swift
[125/129] Compiling EthereumABI ABITypeParser.swift
/host/spi-builder-workspace/EthereumABI/Classes/ABIParsing.swift:23:20: warning: static property 'typeEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | enum TypeParsingExpressions {
23 | static var typeEatingRegex = "^((u?int|bytes)([1-9][0-9]*)|(address|bool|string|tuple|bytes)|(\\[([1-9][0-9]*)\\]))"
| |- warning: static property 'typeEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'typeEatingRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'typeEatingRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var arrayEatingRegex = "^(\\[([1-9][0-9]*)?\\])?.*$"
25 | }
/host/spi-builder-workspace/EthereumABI/Classes/ABIParsing.swift:24:20: warning: static property 'arrayEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | enum TypeParsingExpressions {
23 | static var typeEatingRegex = "^((u?int|bytes)([1-9][0-9]*)|(address|bool|string|tuple|bytes)|(\\[([1-9][0-9]*)\\]))"
24 | static var arrayEatingRegex = "^(\\[([1-9][0-9]*)?\\])?.*$"
| |- warning: static property 'arrayEatingRegex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'arrayEatingRegex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'arrayEatingRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[126/129] Compiling EthereumABI ABI.swift
[127/129] Compiling EthereumABI ABIElements.swift
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:11:5: warning: 'public' modifier is redundant for struct declared in a public extension
9 | public extension ABI {
10 | // JSON Decoding
11 | public struct Input: Decodable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
12 | public var name: String?
13 | public var type: String
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:18:5: warning: 'public' modifier is redundant for struct declared in a public extension
16 | }
17 |
18 | public struct Output: Decodable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
19 | public var name: String?
20 | public var type: String
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:24:5: warning: 'public' modifier is redundant for struct declared in a public extension
22 | }
23 |
24 | public struct Record: Decodable {
| `- warning: 'public' modifier is redundant for struct declared in a public extension
25 | public var name: String?
26 | public var type: String?
/host/spi-builder-workspace/EthereumABI/Classes/ABIElements.swift:35:5: warning: 'public' modifier is redundant for enum declared in a public extension
33 | }
34 |
35 | public enum Element {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
36 | public enum ArraySize { //bytes for convenience
37 | case staticSize(UInt64)
[128/129] Compiling EthereumABI ABIDecoding.swift
/host/spi-builder-workspace/EthereumABI/Classes/ABIDecoding.swift:198:21: error: cannot find 'UINT64_MAX' in scope
196 | let dataSlice = data[pointer ..< pointer + type.memoryUsage]
197 | let bn = BigUInt(dataSlice)
198 | if bn > UINT64_MAX || bn >= data.count {
| `- error: cannot find 'UINT64_MAX' in scope
199 | // there are ERC20 contracts that use bytes32 intead of string. Let's be optimistic and return some data
200 | if case .string = type {
/usr/include/stdint.h:130:10: note: macro 'UINT64_MAX' unavailable: structure not supported
128 | # define UINT16_MAX (65535)
129 | # define UINT32_MAX (4294967295U)
130 | # define UINT64_MAX (__UINT64_C(18446744073709551615))
| `- note: macro 'UINT64_MAX' unavailable: structure not supported
131 |
132 |
[129/129] Compiling EthereumABI ABIEncoding.swift
BUILD FAILURE 6.0 linux