The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Forging, reference main (ff4731), with Swift 6.4 for Linux on 23 Sep 2026 10:48:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BCSuite/Forging.git
Reference: main
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/BCSuite/Forging
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff47316 Update README.
Cloned https://github.com/BCSuite/Forging.git
Revision (git rev-parse @):
ff473161aa191ae62fd70827d81552cb17520240
SUCCESS checkout https://github.com/BCSuite/Forging.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/BCSuite/Forging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/tesseract-one/Bip39.swift.git
Fetching https://github.com/Sajjon/K1
[1/4939] Fetching bigint
[298/5021] Fetching bigint, bip39.swift
[406/9399] Fetching bigint, bip39.swift, k1
Fetched https://github.com/attaswift/BigInt.git (0.58s)
[3322/4460] Fetching bip39.swift, k1
Fetched https://github.com/tesseract-one/Bip39.swift.git (0.61s)
Fetched https://github.com/Sajjon/K1 (0.61s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (1.67s)
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git (0.54s)
Computing version for https://github.com/Sajjon/K1
Computed https://github.com/Sajjon/K1 at 0.7.1 (0.76s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (0.17s)
Computing version for https://github.com/attaswift/BigInt.git
warning: 'bigint': /Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.14s)
Creating working copy for https://github.com/Sajjon/K1
Working copy of https://github.com/Sajjon/K1 resolved at 0.7.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
Creating working copy for https://github.com/tesseract-one/Bip39.swift.git
Working copy of https://github.com/tesseract-one/Bip39.swift.git resolved at 0.2.0
warning: 'bigint': /host/spi-builder-workspace/.build/checkouts/BigInt/Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 246]
[Finalizing plan]
[63 / 109] CUncommonCrypto
[71 / 127] CUncommonCrypto
[73 / 127] UncommonCrypto
[77 / 127] UncommonCrypto
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
  1 | import struct CryptoKit.SharedSecret
    |               `- error: no such module 'CryptoKit'
  2 | import Foundation
  3 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDSA/ECDSA.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDSA/ECDSASignatureNonRecoverable.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDSA/ECDSASignatureRecoverable.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDSA/RecoveryID.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Keys/Keys.generated.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Keys/PrivateKeyImplementation.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Keys/PublicKeyImplementation.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Schnorr/Schnorr+Signature.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Schnorr/Schnorr.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Signing/Signing.generated.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/Validation/Validation.generated.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/Extensions/Data+Extensions.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/ECDH/FFI+ECDH.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/ECDSA/FFI+ECDSA.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/ECDSA/NonRecovery/ECDSA+NonRecovery+Wrapped.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/ECDSA/NonRecovery/FFI+ECDSA+NonRecovery.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/ECDSA/Recovery/ECDSA+Recovery+Wrapped.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/ECDSA/Recovery/FFI+ECDSA+Recovery.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/Keys/PrivateKey/PrivateKey+Wrapped.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/Keys/PublicKey/FFI+PublicKey.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/Keys/PublicKey/PublicKey+Wrapped.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/Schnorr/FFI+Schnorr.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/API/Schnorr/Schnorr+Wrapped.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/Internals/FFI+Call.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/Internals/FFI+Context.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/Internals/FFI+Format.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/FFI/Internals/FFI+Raw.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/Misc/Curve.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/Misc/K1+Error.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/Misc/SharedSecret.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/ASN1.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1Any.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1BitString.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1Boolean.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1Identifier.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1Integer.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1Null.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1OctetString.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ASN1Strings.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ArraySliceBigint.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/GeneralizedTime.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/Basic\ ASN1\ Types/ObjectIdentifier.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/ECDSASignature.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/PEMDocument.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/PKCS8PrivateKey.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/SEC1PrivateKey.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1/SubjectPublicKeyInfo.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/ASN1Error.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/BytesUtil.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/RNG_boring.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/SafeCompare_boring.swift /host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/Support/ThirdyParty/swift-crypto/SecureBytes.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D CRYPTO_IN_SWIFTPM_FORCE_BUILD_API -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/secp256k1.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/K1/Sources/secp256k1/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name K1 -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/K1_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/Modules/K1.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/Modules/K1.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/K1-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/K1-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/K1-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/K1.build/Debug-linux-x86_64/K1-t.build/Objects-normal/x86_64/Modules/K1.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux