The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build EthereumABI, reference master (6f4edb), with Swift 6.0 for Linux on 27 Nov 2024 19:17:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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/shamatar/EthereumABI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4606859-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/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/shamatar/EthereumAddress.git
[1/4771] Fetching bigint
[669/4981] Fetching bigint, ethereumaddress
[1929/17684] Fetching bigint, ethereumaddress, cryptoswift
Fetched https://github.com/attaswift/BigInt.git from cache (0.40s)
[2243/12913] Fetching ethereumaddress, cryptoswift
Fetched https://github.com/shamatar/EthereumAddress.git from cache (1.20s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.23s)
Computing version for https://github.com/shamatar/EthereumAddress.git
Computed https://github.com/shamatar/EthereumAddress.git at 1.3.0 (0.44s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 3.1.0 (1.98s)
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/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.0.0 (0.49s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.47s)
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/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.0.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 CryptoSwift AEAD.swift
[10/90] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[11/90] Compiling CryptoSwift AES.Cryptors.swift
[12/90] Compiling CryptoSwift AES.swift
[13/90] Compiling CryptoSwift Array+Extension.swift
[14/90] Compiling CryptoSwift Authenticator.swift
[15/90] Compiling CryptoSwift BatchedCollection.swift
[16/90] Compiling CryptoSwift Bit.swift
[17/90] Compiling CryptoSwift BlockCipher.swift
[18/90] Compiling CryptoSwift BlockDecryptor.swift
[19/90] Compiling SipHash SipHashable.swift
[20/90] Compiling SipHash Primitive Types.swift
[21/90] Emitting module SipHash
[22/90] Compiling SipHash RandomUInt64.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 CryptoSwift Rabbit.swift
[37/112] Compiling CryptoSwift RandomBytesSequence.swift
[38/112] Compiling CryptoSwift SHA1.swift
[39/112] Compiling CryptoSwift SHA2.swift
[40/112] Compiling CryptoSwift SHA3.swift
[41/112] Compiling CryptoSwift Scrypt.swift
[42/112] Compiling CryptoSwift SecureBytes.swift
[43/112] Compiling CryptoSwift StreamDecryptor.swift
[44/112] Compiling CryptoSwift StreamEncryptor.swift
[45/112] Compiling CryptoSwift NoPadding.swift
[46/112] Compiling CryptoSwift Operators.swift
[47/112] Compiling CryptoSwift PBKDF1.swift
[48/112] Compiling CryptoSwift PBKDF2.swift
[49/112] Compiling CryptoSwift PKCS5.swift
[50/112] Compiling CryptoSwift PKCS7.swift
[51/112] Compiling CryptoSwift PKCS7Padding.swift
[52/112] Compiling CryptoSwift Padding.swift
[53/112] Compiling CryptoSwift Poly1305.swift
[54/112] Compiling CryptoSwift Cryptor.swift
[55/112] Compiling CryptoSwift Cryptors.swift
[56/112] Compiling CryptoSwift Digest.swift
[57/112] Compiling CryptoSwift DigestType.swift
[58/112] Compiling CryptoSwift AES+Foundation.swift
[59/112] Compiling CryptoSwift Array+Foundation.swift
[60/112] Compiling CryptoSwift Blowfish+Foundation.swift
[61/112] Compiling CryptoSwift ChaCha20+Foundation.swift
[62/112] Compiling CryptoSwift Data+Extension.swift
[63/112] Compiling BigInt Division.swift
[64/112] Compiling BigInt Exponentiation.swift
[65/112] Compiling BigInt Addition.swift
[66/112] Compiling BigInt BigInt.swift
[67/112] Compiling BigInt BigUInt.swift
[68/112] Compiling BigInt Strideable.swift
[69/112] Compiling BigInt String Conversion.swift
[70/112] Compiling BigInt Integer Conversion.swift
[71/112] Compiling BigInt Multiplication.swift
[72/112] Compiling BigInt Prime Test.swift
[73/112] Compiling CryptoSwift BlockEncryptor.swift
[74/112] Compiling CryptoSwift BlockMode.swift
[75/112] Compiling CryptoSwift BlockModeOptions.swift
[76/112] Compiling CryptoSwift CBC.swift
[77/112] Compiling CryptoSwift CCM.swift
[78/112] Compiling CryptoSwift CFB.swift
[79/112] Compiling CryptoSwift CTR.swift
[80/112] Compiling CryptoSwift CipherModeWorker.swift
[81/112] Compiling CryptoSwift ECB.swift
[82/112] Compiling CryptoSwift GCM.swift
[83/112] Compiling CryptoSwift HMAC+Foundation.swift
[84/112] Compiling CryptoSwift Rabbit+Foundation.swift
[85/112] Compiling CryptoSwift String+FoundationExtension.swift
[86/112] Compiling CryptoSwift Utils+Foundation.swift
[87/112] Compiling CryptoSwift Generics.swift
[88/112] Compiling CryptoSwift HKDF.swift
[89/112] Compiling CryptoSwift HMAC.swift
[90/112] Compiling CryptoSwift Int+Extension.swift
[91/112] Compiling CryptoSwift MD5.swift
[93/116] Emitting module EthereumAddress
[99/116] Compiling EthereumAddress EthereumAddress.swift
[100/116] Compiling EthereumAddress Extensions.swift
[102/119] Compiling BigInt Floating Point Conversion.swift
[103/119] Compiling BigInt GCD.swift
[104/119] Compiling BigInt Hashable.swift
[105/119] Emitting module BigInt
[109/119] Compiling BigInt Random.swift
[110/119] Compiling BigInt Shifts.swift
[111/119] Compiling BigInt Square Root.swift
[112/119] Compiling BigInt Bitwise Ops.swift
[113/119] Compiling BigInt Codable.swift
[114/119] Compiling BigInt Comparable.swift
[115/119] Compiling BigInt Data Conversion.swift
[118/119] Compiling BigInt Subtraction.swift
[119/119] Compiling BigInt Words and Bits.swift
[121/128] Compiling EthereumABI ABIParameterTypes.swift
[122/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 |
[123/129] Compiling EthereumABI ABIExtensions.swift
[124/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 |
[125/129] Compiling EthereumABI ABIEncoding.swift
[126/129] Compiling EthereumABI ABI.swift
[127/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 |
[128/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)
[129/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 |
BUILD FAILURE 6.0 linux