Build Information
Failed to build BitcoinKit, reference v1.1.0 (5f1fe9
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 05:31:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/yenom/BitcoinKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/vapor-community/copenssl.git
Fetching https://github.com/Boilertalk/secp256k1.swift
Fetching https://github.com/vapor-community/random.git
[1/34] Fetching copenssl
[35/814] Fetching copenssl, secp256k1.swift
[67/962] Fetching copenssl, secp256k1.swift, random
Fetched https://github.com/vapor-community/copenssl.git from cache (0.32s)
Fetched https://github.com/vapor-community/random.git from cache (0.32s)
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (0.32s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (2.97s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.99s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.52s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[238/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (1.18s)
Fetched https://github.com/vapor/bits.git from cache (1.18s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.64s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.59s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.7 (0.41s)
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.40s)
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/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-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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
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/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
Building for debugging...
[0/12] Write sources
[8/12] Compiling lax_der_parsing.c
[9/12] Compiling lax_der_privatekey_parsing.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
[11/12] Compiling secp256k1.c
[13/36] Emitting module secp256k1
[14/36] Compiling secp256k1 Exporter.swift
[15/37] Compiling Bits Operators.swift
[16/37] Compiling Bits String+BytesConvertible.swift
[18/39] Emitting module Debugging
[19/39] Compiling Debugging Debuggable.swift
[21/42] Compiling Bits Aliases.swift
[22/42] Compiling Bits Base64Encoder.swift
[23/42] Compiling Bits Byte+Alphabet.swift
[24/42] Emitting module Bits
[25/42] Compiling Bits UnsignedInteger+BytesConvertible.swift
[26/42] Compiling Bits UnsignedInteger+Shifting.swift
[27/42] Compiling libc libc.swift
[28/42] Emitting module libc
[29/43] Compiling Bits Byte+ControlCharacters.swift
[30/43] Compiling Bits Byte+Convenience.swift
[31/43] Compiling Bits Byte+PatternMatching.swift
[33/43] Compiling Bits Bytes+Base64.swift
[34/43] Compiling Bits Bytes+Hex.swift
[35/43] Compiling Bits Byte+Random.swift
[36/43] Compiling Bits Byte+UTF8Numbers.swift
[37/43] Compiling Bits ByteSequence+Conversions.swift
[38/43] Compiling Bits Bytes+Percent.swift
[39/43] Compiling Bits BytesConvertible.swift
[40/43] Compiling Bits Data+BytesConvertible.swift
[41/43] Compiling Bits HexEncoder.swift
[43/66] Compiling Core DispatchTime+Utilities.swift
[44/66] Compiling Core EmptyInitializable.swift
[45/66] Compiling Core Exports.swift
[46/68] Compiling Core Result.swift
[47/68] Compiling Core Semaphore.swift
[48/68] Compiling Core Sequence.swift
[49/68] Compiling Core Lock.swift
[50/68] Compiling Core Portal.swift
[51/68] Compiling Core RFC1123.swift
[52/68] Compiling Core Extendable.swift
[53/68] Compiling Core FileProtocol.swift
[54/68] Compiling Core Int+Hex.swift
[55/68] Compiling Core Collection+Safe.swift
[56/68] Compiling Core DataFile.swift
[57/68] Compiling Core Dispatch.swift
[58/68] Compiling Core String.swift
[59/68] Compiling Core WorkingDirectory.swift
[60/68] Emitting module Core
[61/68] Compiling Core Array.swift
[62/68] Compiling Core Bits.swift
[63/68] Compiling Core Cache.swift
[64/68] Compiling Core StaticDataBuffer.swift
[65/68] Compiling Core String+CaseInsensitiveCompare.swift
[66/68] Compiling Core String+Polymorphic.swift
[68/76] Compiling Random EmptyInitializable.swift
[69/76] Compiling Random RandomProtocol.swift
[70/76] Compiling Random URandom.swift
[71/76] Emitting module Random
[72/76] Compiling Random Array+Random.swift
[73/76] Compiling Random Exports.swift
[74/76] Compiling Random OSRandom.swift
[76/77] Emitting module BitcoinKitPrivate
[77/77] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:38:13: warning: 'RIPEMD160' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
80 | defer {
81 | EC_KEY_free(key)
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:81:13: warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
79 | let key = EC_KEY_new_by_curve_name(NID_secp256k1)
80 | defer {
81 | EC_KEY_free(key)
| `- warning: 'EC_KEY_free' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
81 | EC_KEY_free(key)
82 | }
83 | let group = EC_KEY_get0_group(key)
| `- warning: 'EC_KEY_get0_group' is deprecated [#DeprecatedDeclaration]
84 |
85 |
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:104:9: warning: 'EC_KEY_set_private_key' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
106 |
107 | if compression {
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:108:13: warning: 'EC_KEY_set_conv_form' is deprecated [#DeprecatedDeclaration]
106 |
107 | if compression {
108 | EC_KEY_set_conv_form(key, POINT_CONVERSION_COMPRESSED)
| `- warning: 'EC_KEY_set_conv_form' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
116 | BN_free(n)
117 | }
118 | EC_POINT_point2bn(group, pub, POINT_CONVERSION_UNCOMPRESSED, n, ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
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 [#TemporaryPointers]
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 [#TemporaryPointers]
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 [#DeprecatedDeclaration]
264 | EC_GROUP_free(group)
265 | }
266 | EC_POINT_bn2point(group, publicKeyNum, point, ctx)
| `- warning: 'EC_POINT_bn2point' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
275 | BN_free(n)
276 | }
277 | EC_POINT_point2bn(group, point, POINT_CONVERSION_COMPRESSED, n, ctx)
| `- warning: 'EC_POINT_point2bn' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
476 | BN_bn2bin(new_point_x_and_y_as_single_bn, &newPointXAndYPrefixedWithByte)
477 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
BUILD FAILURE 6.2 linux