Build Information
Failed to build BitcoinKit, reference master (74bd76), with Swift 6.3 for Linux on 11 Apr 2026 05:25:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yenom/BitcoinKit.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/yenom/BitcoinKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 74bd764 Merge pull request #236 from yenom/update-documents
Cloned https://github.com/yenom/BitcoinKit.git
Revision (git rev-parse @):
74bd7642dfb3f6af6baf242c7bb084af6ee3ae1b
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/yenom/BitcoinKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/vapor-community/random.git
Fetching https://github.com/Boilertalk/secp256k1.swift
[1/148] Fetching random
[99/929] Fetching random, secp256k1.swift
Fetching https://github.com/vapor-community/copenssl.git
Fetched https://github.com/vapor-community/random.git from cache (0.20s)
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (0.26s)
[1/34] Fetching copenssl
Fetched https://github.com/vapor-community/copenssl.git from cache (0.39s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (3.22s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.95s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.53s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (0.23s)
Fetched https://github.com/vapor/bits.git from cache (0.23s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.73s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.56s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.7 (0.50s)
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.61s)
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
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-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
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] Write swift-version-24593BA9C3E375BF.txt
[11/34] Compiling secp256k1.c
[13/36] Emitting module libc
[14/36] Emitting module Bits
[15/38] Emitting module Debugging
[16/38] Compiling Debugging Debuggable.swift
[17/38] Compiling Bits Operators.swift
[18/38] Compiling Bits String+BytesConvertible.swift
[19/39] Compiling Bits UnsignedInteger+BytesConvertible.swift
[20/39] Compiling Bits UnsignedInteger+Shifting.swift
[21/39] Emitting module secp256k1
[22/39] Compiling secp256k1 Exporter.swift
[24/40] Compiling Bits Aliases.swift
[25/40] Compiling Bits Base64Encoder.swift
[26/40] Compiling Bits Byte+Alphabet.swift
[28/42] Compiling libc libc.swift
[30/43] Compiling Bits Data+BytesConvertible.swift
[31/43] Compiling Bits HexEncoder.swift
[32/43] Compiling Bits Byte+ControlCharacters.swift
[33/43] Compiling Bits Byte+Convenience.swift
[34/43] Compiling Bits Byte+PatternMatching.swift
[35/43] Compiling Bits Bytes+Base64.swift
[36/43] Compiling Bits Bytes+Hex.swift
[37/43] Compiling Bits Byte+Random.swift
[38/43] Compiling Bits Byte+UTF8Numbers.swift
[39/43] Compiling Bits ByteSequence+Conversions.swift
[40/43] Compiling Bits Bytes+Percent.swift
[41/43] Compiling Bits BytesConvertible.swift
[43/48] Emitting module Core
[44/63] Compiling Core Array.swift
[45/63] Compiling Core Bits.swift
[46/63] Compiling Core Cache.swift
[47/66] Compiling Core DispatchTime+Utilities.swift
[48/66] Compiling Core EmptyInitializable.swift
[49/66] Compiling Core Exports.swift
[50/66] Compiling Core Lock.swift
[51/66] Compiling Core Portal.swift
[52/66] Compiling Core RFC1123.swift
[53/68] Compiling Core Extendable.swift
[54/68] Compiling Core FileProtocol.swift
[55/68] Compiling Core Int+Hex.swift
[56/68] Compiling Core String.swift
[57/68] Compiling Core WorkingDirectory.swift
[58/68] Compiling Core Result.swift
[59/68] Compiling Core Semaphore.swift
[60/68] Compiling Core Sequence.swift
[61/68] Compiling Core Collection+Safe.swift
[62/68] Compiling Core DataFile.swift
[63/68] Compiling Core Dispatch.swift
[64/68] Compiling Core StaticDataBuffer.swift
[65/68] Compiling Core String+CaseInsensitiveCompare.swift
[66/68] Compiling Core String+Polymorphic.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 [#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.3 linux