Build Information
Failed to build BitcoinKit, reference v1.1.0 (5f1fe9
), with Swift 6.0 for Linux on 27 Nov 2024 05:50:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/yenom/BitcoinKit.git
Reference: v1.1.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/yenom/BitcoinKit
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at 5f1fe92 :rocket: Update posepc version to 1.1.0
Cloned https://github.com/yenom/BitcoinKit.git
Revision (git rev-parse @):
5f1fe9253071aeb845fa1cc40a338f32c6e34a66
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at v1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/yenom/BitcoinKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/vapor-community/random.git
Fetching https://github.com/vapor-community/copenssl.git
Fetching https://github.com/Boilertalk/secp256k1.swift
[1/148] Fetching random
[149/182] Fetching random, copenssl
[183/962] Fetching random, copenssl, secp256k1.swift
Fetched https://github.com/vapor-community/random.git from cache (0.20s)
Fetched https://github.com/vapor-community/copenssl.git from cache (0.20s)
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (0.21s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (2.05s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.72s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.51s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.21s)
Fetched https://github.com/vapor/debugging.git from cache (0.21s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.47s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.48s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.7 (0.48s)
Computing version for https://github.com/vapor-community/copenssl.git
Computed https://github.com/vapor-community/copenssl.git at 1.0.0-rc.1 (0.48s)
Creating working copy for https://github.com/vapor-community/copenssl.git
Working copy of https://github.com/vapor-community/copenssl.git resolved at 1.0.0-rc.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/random.git
Working copy of https://github.com/vapor-community/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/Boilertalk/secp256k1.swift
Working copy of https://github.com/Boilertalk/secp256k1.swift resolved at 0.1.7
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
Building for debugging...
[0/12] Write sources
[8/12] Compiling lax_der_privatekey_parsing.c
[9/12] Compiling lax_der_parsing.c
[10/12] Compiling secp256k1.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
[13/36] Emitting module Bits
[14/38] Emitting module secp256k1
[15/38] Compiling secp256k1 Exporter.swift
[17/39] Compiling Bits Operators.swift
[18/39] Compiling Bits String+BytesConvertible.swift
[19/39] Compiling Bits Byte+ControlCharacters.swift
[20/39] Compiling Bits Byte+Convenience.swift
[21/39] Compiling Bits Byte+PatternMatching.swift
[22/39] Compiling Bits UnsignedInteger+BytesConvertible.swift
[23/39] Compiling Bits UnsignedInteger+Shifting.swift
[24/41] Emitting module Debugging
[25/41] Compiling Debugging Debuggable.swift
[27/42] Emitting module libc
[28/42] Compiling libc libc.swift
[30/43] Compiling Bits Byte+Random.swift
[31/43] Compiling Bits Byte+UTF8Numbers.swift
[32/43] Compiling Bits ByteSequence+Conversions.swift
[33/43] Compiling Bits Bytes+Percent.swift
[34/43] Compiling Bits BytesConvertible.swift
[35/43] Compiling Bits Bytes+Base64.swift
[36/43] Compiling Bits Bytes+Hex.swift
[37/43] Compiling Bits Aliases.swift
[38/43] Compiling Bits Base64Encoder.swift
[39/43] Compiling Bits Byte+Alphabet.swift
[40/43] Compiling Bits Data+BytesConvertible.swift
[41/43] Compiling Bits HexEncoder.swift
[43/66] Emitting module Core
[44/68] Compiling Core Array.swift
[45/68] Compiling Core Bits.swift
[46/68] Compiling Core Cache.swift
[47/68] Compiling Core DispatchTime+Utilities.swift
[48/68] Compiling Core EmptyInitializable.swift
[49/68] Compiling Core Exports.swift
[50/68] Compiling Core StaticDataBuffer.swift
[51/68] Compiling Core String+CaseInsensitiveCompare.swift
[52/68] Compiling Core String+Polymorphic.swift
[53/68] Compiling Core Extendable.swift
[54/68] Compiling Core FileProtocol.swift
[55/68] Compiling Core Int+Hex.swift
[56/68] Compiling Core Result.swift
[57/68] Compiling Core Semaphore.swift
[58/68] Compiling Core Sequence.swift
[59/68] Compiling Core Collection+Safe.swift
[60/68] Compiling Core DataFile.swift
[61/68] Compiling Core Dispatch.swift
[62/68] Compiling Core Lock.swift
[63/68] Compiling Core Portal.swift
[64/68] Compiling Core RFC1123.swift
[65/68] Compiling Core String.swift
[66/68] Compiling Core WorkingDirectory.swift
[68/69] Emitting module BitcoinKitPrivate
[69/69] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:38:13: warning: 'RIPEMD160' is deprecated
36 | var result = [UInt8](repeating: 0, count: Int(RIPEMD160_DIGEST_LENGTH))
37 | data.withUnsafeBytes { (ptr: UnsafeRawBufferPointer) in
38 | RIPEMD160(ptr.bindMemory(to: UInt8.self).baseAddress.unsafelyUnwrapped,
| `- warning: 'RIPEMD160' is deprecated
39 | data.count,
40 | &result)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:79:19: warning: 'EC_KEY_new_by_curve_name' is deprecated
77 | BN_CTX_free(ctx)
78 | }
79 | let key = EC_KEY_new_by_curve_name(NID_secp256k1)
| `- warning: 'EC_KEY_new_by_curve_name' is deprecated
80 | defer {
81 | EC_KEY_free(key)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:81:13: warning: 'EC_KEY_free' is deprecated
79 | let key = EC_KEY_new_by_curve_name(NID_secp256k1)
80 | defer {
81 | EC_KEY_free(key)
| `- warning: 'EC_KEY_free' is deprecated
82 | }
83 | let group = EC_KEY_get0_group(key)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:83:21: warning: 'EC_KEY_get0_group' is deprecated
81 | EC_KEY_free(key)
82 | }
83 | let group = EC_KEY_get0_group(key)
| `- warning: 'EC_KEY_get0_group' is deprecated
84 |
85 |
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:104:9: warning: 'EC_KEY_set_private_key' is deprecated
102 | }
103 | EC_POINT_mul(group, pub, prv, nil, nil, ctx)
104 | EC_KEY_set_private_key(key, prv)
| `- warning: 'EC_KEY_set_private_key' is deprecated
105 | EC_KEY_set_public_key(key, pub)
106 |
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:105:9: warning: 'EC_KEY_set_public_key' is deprecated
103 | EC_POINT_mul(group, pub, prv, nil, nil, ctx)
104 | EC_KEY_set_private_key(key, prv)
105 | EC_KEY_set_public_key(key, pub)
| `- warning: 'EC_KEY_set_public_key' is deprecated
106 |
107 | if compression {
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:108:13: warning: 'EC_KEY_set_conv_form' is deprecated
106 |
107 | if compression {
108 | EC_KEY_set_conv_form(key, POINT_CONVERSION_COMPRESSED)
| `- warning: 'EC_KEY_set_conv_form' is deprecated
109 | var ptr: UnsafeMutablePointer<UInt8>? = nil
110 | let length = i2o_ECPublicKey(key, &ptr)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:110:26: warning: 'i2o_ECPublicKey' is deprecated
108 | EC_KEY_set_conv_form(key, POINT_CONVERSION_COMPRESSED)
109 | var ptr: UnsafeMutablePointer<UInt8>? = nil
110 | let length = i2o_ECPublicKey(key, &ptr)
| `- warning: 'i2o_ECPublicKey' is deprecated
111 | return Data(bytes: ptr!, count: Int(length))
112 | } else {
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:118:13: warning: 'EC_POINT_point2bn' is deprecated
116 | BN_free(n)
117 | }
118 | EC_POINT_point2bn(group, pub, POINT_CONVERSION_UNCOMPRESSED, n, ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated
119 | BN_bn2bin(n, &result)
120 | return Data(result)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:182:21: warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer
180 | }
181 | var childIndex = UInt32(hardened ? (0x80000000 | index) : index).bigEndian
182 | data.append(UnsafeBufferPointer(start: &childIndex, count: 1))
| | |- note: implicit argument conversion from 'UInt32' to 'UnsafePointer<UInt32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
| | `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
| `- warning: initialization of 'UnsafeBufferPointer<UInt32>' results in a dangling buffer pointer
183 |
184 | let digest = _Hash.hmacsha512(data, key: self.chainCode)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:231:30: error: value of type 'OpaquePointer' has no member 'pointee'
229 | // return nil
230 | //}
231 | if privateKeyNum.pointee.top == 0 { // BN_is_zero
| `- error: value of type 'OpaquePointer' has no member 'pointee'
232 | return nil
233 | }
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:266:13: warning: 'EC_POINT_bn2point' is deprecated
264 | EC_GROUP_free(group)
265 | }
266 | EC_POINT_bn2point(group, publicKeyNum, point, ctx)
| `- warning: 'EC_POINT_bn2point' is deprecated
267 | EC_POINT_mul(group, point, factor, point, BN_value_one(), ctx)
268 |
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:277:13: warning: 'EC_POINT_point2bn' is deprecated
275 | BN_free(n)
276 | }
277 | EC_POINT_point2bn(group, point, POINT_CONVERSION_COMPRESSED, n, ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated
278 | result = Data(count: 33)
279 | result.withUnsafeMutableBytes { (ptr: UnsafeMutableRawBufferPointer) in
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:432:9: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated
430 | let point = EC_POINT_new(group);
431 | defer { EC_POINT_free(point) }
432 | EC_POINT_set_affine_coordinates_GFp(group, point, point_x, point_y, ctx)
| `- warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated
433 |
434 | let point_result_of_ec_multiplication = EC_POINT_new(group)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:442:9: warning: 'EC_POINT_point2bn' is deprecated
440 | defer { BN_free(new_point_x_and_y_as_single_bn) }
441 |
442 | EC_POINT_point2bn(group, point_result_of_ec_multiplication, POINT_CONVERSION_UNCOMPRESSED, new_point_x_and_y_as_single_bn, ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated
443 |
444 | BN_bn2bin(new_point_x_and_y_as_single_bn, &newPointXAndYPrefixedWithByte)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:475:9: warning: 'EC_POINT_point2bn' is deprecated
473 | defer { BN_free(new_point_x_and_y_as_single_bn) }
474 |
475 | EC_POINT_point2bn(group, point, POINT_CONVERSION_UNCOMPRESSED, new_point_x_and_y_as_single_bn, ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated
476 | BN_bn2bin(new_point_x_and_y_as_single_bn, &newPointXAndYPrefixedWithByte)
477 |
BUILD FAILURE 6.0 linux